Merge pull request #639 from victormours/auto-indent-pasted-text

Auto indent pasted text in vim
This commit is contained in:
Yan Pritzker
2015-07-21 20:33:37 -05:00

4
vimrc
View File

@@ -65,6 +65,10 @@ set softtabstop=2
set tabstop=2 set tabstop=2
set expandtab set expandtab
" Auto indent pasted text
nnoremap p p=`]<C-o>
nnoremap P P=`]<C-o>
filetype plugin on filetype plugin on
filetype indent on filetype indent on