Journey of Life
September 30, 2011
vim paste and indent
If you use "dd" to cut a line in vim and want to use "p" to paste it to another place. The original indent will remain. To make the intent fit with the destination indent, use ]p.
1 comment:
Marcin Kulik
1/09/2012 3:13 AM
You may be interested with this: https://github.com/sickill/vim-pasta
Reply
Delete
Replies
Reply
Add comment
Load more...
‹
›
Home
View web version
You may be interested with this: https://github.com/sickill/vim-pasta
ReplyDelete