diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2014-01-30 22:51:46 +0100 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2014-01-30 22:51:46 +0100 |
| commit | dd5468b3dbff74fc52175ae2a71f2a7e7525e1e6 (patch) | |
| tree | 3c7b8228d4f04f58271faffbb0e06d4cdbd48bb1 | |
| parent | a2a7a360ece2198cf009a8927c9626f2ac534a6e (diff) | |
| download | dotfiles-dd5468b3dbff74fc52175ae2a71f2a7e7525e1e6.tar.gz dotfiles-dd5468b3dbff74fc52175ae2a71f2a7e7525e1e6.zip | |
vim: added the CtrlP plugin.
I've also moved the configuration of plugins in the bundles.vim file.
| -rw-r--r-- | vim/bundles.vim | 10 | ||||
| -rw-r--r-- | vimrc | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/vim/bundles.vim b/vim/bundles.vim index d2e06c0..6368f29 100644 --- a/vim/bundles.vim +++ b/vim/bundles.vim @@ -9,4 +9,14 @@ filetype plugin indent on " My list of plugins. Bundle 'tpope/vim-surround.git' +Bundle 'kien/ctrlp.vim.git' + +"" +" Some small adjustments for the installed plugins. + +" vim-surround.vim: <leader>s is used to surround a word. +map <leader>s ysiw + +" Let CtrlP's window to be taller than its default configuration. +let g:ctrlp_match_window = 'max:40' @@ -136,6 +136,3 @@ nnoremap <C-s> :w<CR> " <C-q> is the same as @q (I use q to store macros). nnoremap <C-q> @q -" vim-surround.vim: <leader>s is used to surround a word. -map <leader>s ysiw - |
