Skip to content

Commit

Permalink
Don't return to the start of the line when pasting text in vim
Browse files Browse the repository at this point in the history
But still keep auto indenting
  • Loading branch information
Victor Mours committed May 6, 2015
1 parent 28c2535 commit 0697209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vim/vimrc
Expand Up @@ -58,7 +58,7 @@ set tabstop=2
set expandtab

" Auto indent pasted text
nnoremap p p=`]
nnoremap p p=`]<C-o>
set nowrap "Don't wrap lines
set linebreak "Wrap lines at convenient points
Expand Down

0 comments on commit 0697209

Please sign in to comment.