]> git.rmz.io Git - dotfiles.git/commitdiff
vim: add vim-signature
authorSamir Benmendil <samir.benmendil@gmail.com>
Tue, 15 Jul 2014 11:03:26 +0000 (12:03 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Tue, 15 Jul 2014 11:03:26 +0000 (12:03 +0100)
vim/vimrc

index 55b81e0f51e347c90e52f4514c45b930450c6c81..c7397c44df1dfc3dc7f714714b5408fddd37bb03 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -18,6 +18,7 @@ Bundle 'elzr/vim-json'
 Bundle 'ervandew/ag.git'
 Bundle 'http://git.code.sf.net/p/vim-latex/vim-latex'
 Bundle 'kien/ctrlp.vim'
+Bundle 'kshenoy/vim-signature'
 Bundle 'majutsushi/tagbar'
 Bundle 'scrooloose/nerdtree'
 Bundle 'scrooloose/syntastic'
@@ -215,8 +216,8 @@ map Y y$
 vnoremap . :normal .<CR>
 
 " add line without changing position or leaving mode
-map <Leader>o :set paste<CR>m`o<ESC>``:set nopaste<CR>
-map <Leader>O :set paste<CR>m`O<ESC>``:set nopaste<CR>
+noremap <silent> <Leader>o :set paste<CR>m`o<ESC>``:set nopaste<CR>
+noremap <silent> <Leader>O :set paste<CR>m`O<ESC>``:set nopaste<CR>
 
 " Don't use Ex mode, use Q for formatting
 map Q gq