diff --git a/vim/vimrc b/vim/vimrc index 833b3dd..963b2be 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -22,9 +22,10 @@ Plugin 'altercation/vim-colors-solarized' Plugin 'chriskempson/base16-vim' Plugin 'Valloric/YouCompleteMe' Plugin 'junegunn/vim-easy-align' -Plugin 'LaTeX-Box-Team/LaTeX-Box' +"Plugin 'LaTeX-Box-Team/LaTeX-Box' Plugin 'chase/vim-ansible-yaml' Plugin 'rust-lang/rust.vim' +Plugin 'easymotion/vim-easymotion' " All of your Plugins must be added before the following line call vundle#end() " required @@ -40,8 +41,12 @@ let NERDTreeIgnore=[ \ ".*\\.pyc$" \ ] +let mapleader=';' + " Configuring ctrlp +nnoremap l :CtrlP noremap :CtrlP +nnoremap o :CtrlPBuffer noremap :CtrlPBuffer let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard'] @@ -65,7 +70,14 @@ let g:solarized_termtrans=1 let base16colorspace=256 " Configuring LaTeX-Box -let g:LatexBox_Folding = 1 +"let g:LatexBox_Folding = 1 + +" Configuring EasyMotion +let g:EasyMotion_do_mapping = 0 " Disable default mappings +nmap w (easymotion-w) +nmap s (easymotion-s) +nmap j (easymotion-j) +nmap k (easymotion-k) " }}} @@ -130,8 +142,8 @@ noremap zz " rewrite file with sudo cmap w!! w !sudo tee % >/dev/null " paste the clipboard -noremap :r!xclip -sel c -o -noremap :w !xclip -sel c +noremap p :r!xclip -sel c -o +noremap y :w !xclip -sel c " Unfold everything upon opening a new file "autocmd BufRead * normal zR