From dd5468b3dbff74fc52175ae2a71f2a7e7525e1e6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Thu, 30 Jan 2014 22:51:46 +0100 Subject: vim: added the CtrlP plugin. I've also moved the configuration of plugins in the bundles.vim file. --- vim/bundles.vim | 10 ++++++++++ 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: s is used to surround a word. +map s ysiw + +" Let CtrlP's window to be taller than its default configuration. +let g:ctrlp_match_window = 'max:40' diff --git a/vimrc b/vimrc index 884ede3..ea5ef55 100644 --- a/vimrc +++ b/vimrc @@ -136,6 +136,3 @@ nnoremap :w " is the same as @q (I use q to store macros). nnoremap @q -" vim-surround.vim: s is used to surround a word. -map s ysiw - -- cgit v1.2.3