Skip to content

Commit

Permalink
Toggle paste mode with <C-p>
Browse files Browse the repository at this point in the history
cf. 8ae938c -- Caused some issues when typing <Space>p in Insert mode
  • Loading branch information
benknoble committed Aug 17, 2017
1 parent 1bf7e9c commit 4cfe605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ nnoremap <Leader>s :w<CR>
" Not technically a mapping, but acts like one
" Use <Leader>p to toggle 'paste'
set pastetoggle=<Leader>p
set pastetoggle=<C-p>

" Toggle linenumbers
nnoremap <silent> <Leader>n :setlocal number!<CR>
Expand Down

0 comments on commit 4cfe605

Please sign in to comment.