summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-04-22 11:26:53 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-04-22 11:26:53 +0100
commit396d1f06d05804343ac3ba12d94579be005e97af (patch)
tree8a2d4316b55d890d709d61c84ac2dbef4ad06576 /vim
parent351e96b5faf62aa74e1119bc874e51e1dc73b70b (diff)
Changed default ctrlp mapping to open in buffer mode
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 351a66a..74df359 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -37,6 +37,7 @@ nmap <Space> <Leader>
" Plugins options
let g:ctrlp_map = '<c-p>'
+let g:ctrlp_cmd = 'CtrlPBuffer'
let g:ctrlp_by_filename = 1
let g:ctrlp_working_path_mode = 'r'
let g:ctrlp_show_hidden = 1
@@ -151,6 +152,7 @@ nnoremap <Leader>sc :source %<cr>
nnoremap <Leader>es :UltiSnipsEdit<Return>
nnoremap <Leader>i mxgg=G'x
+
" Other maps
nnoremap <Return> o<Esc>
nnoremap <s-Return> O<Esc>