GNOME Bugzilla – Bug 746989
vim: reindent with =
Last modified: 2016-05-05 16:07:06 UTC
={motion} reindents matching text. == is linewise. {Visual}= reindents selection. I know code should be auto-indented to start with, but sometimes you add/remove lines which means a change in nesting level, or you copy/paste from a source with different nesting level.
Created attachment 327357 [details] [review] vim: add = for reindent in selection modes
Created attachment 327358 [details] [review] source-view: implement reindent for multi-line selections This lets you select multiple lines and reindent them one at a time.
Attachment 327357 [details] pushed as c4c3ffd - vim: add = for reindent in selection modes Attachment 327358 [details] pushed as e165684 - source-view: implement reindent for multi-line selections