Added paste mode toggle

This commit is contained in:
Emmanuel BENOîT 2015-03-07 17:45:02 +01:00
parent 3a2e8c8502
commit 6ae0539653
2 changed files with 2 additions and 0 deletions

View file

@ -14,3 +14,4 @@ set mouse=a
nnoremap <silent> <Leader>M :call <SID>ToggleMouse()<cr> nnoremap <silent> <Leader>M :call <SID>ToggleMouse()<cr>
vnoremap <silent> <C-c> "+y vnoremap <silent> <C-c> "+y
set pastetoggle=<Leader>P

View file

@ -11,6 +11,7 @@ local leader key.
+ Toggle folds + Toggle folds
<Leader>M Toggle mouse <Leader>M Toggle mouse
<Leader>P Toggle paste mode
<C-c> (Visual mode) Copy selected text to X clipboard <C-c> (Visual mode) Copy selected text to X clipboard
<Leader><Space> Clear highlighted search <Leader><Space> Clear highlighted search