From a47b7d8aad8e39eb25342fa26d1e3a4222b0871a Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 22 May 2015 13:43:38 +0100 Subject: changes in plugins configurations --- nvimrc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'nvimrc') diff --git a/nvimrc b/nvimrc index 27c8885..ce28868 100644 --- a/nvimrc +++ b/nvimrc @@ -33,6 +33,9 @@ Plug 'tpope/vim-scriptease' Plug 'tpope/vim-sensible' Plug 'tpope/vim-surround' Plug 'tpope/vim-unimpaired' + +Plug 'szw/vim-ctrlspace' +Plug 'troydm/zoomwintab.vim' call plug#end() "" Plugins options @@ -66,6 +69,7 @@ let g:bufferline_echo = 0 let g:bufferline_modified = '+' let g:bufferline_rotate = 0 +nnoremap :CtrlPMRUFiles let g:ctrlp_by_filename = 1 let g:ctrlp_cmd = 'CtrlPBuffer' let g:ctrlp_map = '' @@ -73,7 +77,11 @@ let g:ctrlp_open_new_file = 't' let g:ctrlp_show_hidden = 1 let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard'] let g:ctrlp_working_path_mode = 'r' -nnoremap :CtrlPMRUFiles +let g:ctrlp_prompt_mappings = { + \ 'PrtSelectMove("j")': [''], + \ 'PrtSelectMove("k")': [''], + \ 'PrtHistory(-1)': [''], + \ 'PrtHistory(1)': [''],} let g:syntastic_cpp_compiler = "g++" let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic" @@ -188,11 +196,11 @@ nnoremap sc :source % " File edits nnoremap es :UltiSnipsEdit -nnoremap em :e ~/.mutt/muttrc -nnoremap en :e ~/.nvimrc -nnoremap ev :e ~/.vimrc -nnoremap ez :e ~/.zshrc -nnoremap et :e ~/.tmux.conf +nnoremap em :e ~/dotfiles/mutt/muttrc +nnoremap en :e ~/dotfiles/nvimrc +nnoremap ev :e ~/dotfiles/vimrc +nnoremap ez :e ~/dotfiles/zshrc +nnoremap et :e ~/dotfiles/tmux.conf " Formatting nnoremap fw :%s/\s\+$// @@ -244,3 +252,4 @@ augroup autocommands \ exe "normal! g`\"" | \ endif augroup END + -- cgit v1.2.3