diff --git a/editors/vim/bundles.vim b/editors/vim/bundles.vim index 29db7f0..d446e12 100644 --- a/editors/vim/bundles.vim +++ b/editors/vim/bundles.vim @@ -133,6 +133,7 @@ call vundle#rc() endfunction Bundle 'scrooloose/nerdcommenter' + let NERDCreateDefaultMappings = 0 let NERDSpaceDelims = 1 " space between comment and code map // NERDCommenterToggle vmap // NERDCommenterToggle gv diff --git a/editors/vim/ui.vim b/editors/vim/ui.vim index 9292f1b..f6587e5 100644 --- a/editors/vim/ui.vim +++ b/editors/vim/ui.vim @@ -31,7 +31,7 @@ syntax on let mapleader = ',' set autoread " watch for file changes set mouse=a - set ttymouse=xterm " Needed to get mouse working when in Tmux/screen + set ttymouse=xterm2 " Needed to get mouse working when in Tmux/screen set fileformats=unix set history=1000 set hidden @@ -126,6 +126,9 @@ syntax on " For when other people use my setup nmap \ + " Easier + nnoremap ; : + " OS X clipboard when yanking/pasting set clipboard=unnamed