Updated vimrc and README
This commit is contained in:
@@ -53,3 +53,7 @@ Installing YouCompleteMe (YCM):
|
||||
cd /usr/bin && sudo ln -s python python2
|
||||
# Run the install script from the YCM directory
|
||||
./install.sh --clang-completer --system-libclang
|
||||
|
||||
Fixing tmux Ctrl-h command for navigation:
|
||||
infocmp $TERM | sed 's/kbs=^[hH]/kbs=\\177/' > $TERM.ti
|
||||
tic $TERM.ti
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
" Vim settings
|
||||
set shell=zsh\ -l
|
||||
let g:python_host_prog='/usr/bin/python'
|
||||
|
||||
set nocompatible " be iMproved, required
|
||||
filetype off " required
|
||||
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
set rtp+=/usr/local/Cellar/fzf/HEAD
|
||||
call vundle#begin()
|
||||
" alternatively, pass a path where Vundle should install plugins
|
||||
"call vundle#begin('~/some/path/here')
|
||||
@@ -328,11 +328,6 @@ nmap <Leader><Leader> V
|
||||
vmap v <Plug>(expand_region_expand)
|
||||
vmap <C-v> <Plug>(expand_region_shrink)
|
||||
|
||||
" Use enter to jump to line number/end of file
|
||||
nnoremap <CR> G
|
||||
" Use backspace go to begining of file
|
||||
nnoremap <BS> gg
|
||||
|
||||
" Stop strange window from popping up when accidentally press q:
|
||||
map q: :q
|
||||
|
||||
|
||||
Reference in New Issue
Block a user