diff options
author | Urbain Vaes <urbain@vaes.uk> | 2014-10-11 12:34:32 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2014-10-11 12:34:32 +0100 |
commit | 36f67ab5edcef32340c54294331364bb2a29a847 (patch) | |
tree | dc4ed391e4eaebbad3d5ee6ac88bfc4d334a87fc | |
parent | 7e6c4b6f36b7a6427bc870381be80916450fd0f5 (diff) |
Update vimrc CTRL-P
-rw-r--r-- | .vimrc | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,4 +1,3 @@ - "" Required by Vundle set nocompatible filetype off @@ -13,17 +12,12 @@ Plugin 'UltiSnips' Plugin 'kien/ctrlp.vim' Plugin 'tpope/vim-surround' Plugin 'scrooloose/nerdtree' -"Plugin 'OmniCppComplete' Plugin 'tommcdo/vim-exchange' -"Plugin 'vim-scripts/Colour-Sampler-Pack' -" Plugin 'EasyMotion' Plugin 'unimpaired.vim' Plugin 'Tabular' Plugin 'tComment' Plugin 'Gundo' Plugin 'altercation/vim-colors-solarized' -"Plugin 'xolox/vim-misc' -"Bundle 'xolox/vim-colorscheme-switcher' filetype plugin indent on @@ -52,6 +46,12 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$', \ '\.out$', '\.log$','\.aux$','\.sty$', \ '\.fdb_latexmk$', '\.synctex.gz$','\.latexmain$'] +" CTRL-P + +let g:ctrlp_map = '<c-p>' +let g:ctrlp_by_filename = 1 +let g:ctrlp_working_path_mode = 'w' + "" Options " Tabs and indent @@ -121,6 +121,8 @@ let maplocalleader = "+" " Leader maps nmap <Space> <Leader> +nmap <Leader>p <c-p> +nmap <Leader>t <c-w> nnoremap <Leader>h :set hlsearch!<cr> nnoremap <Leader>n :set relativenumber!<cr> nnoremap <Leader>q :q!<cr> |