Answer by Doorknob for Vertically rotate visual block
Here's a solution that works even if there are surrounding characters:kdjP`]lx`<PWhich can be mapped to a key like so:vnoremap <C-r> kdjP`]lx`<PExplanation (here, bolded letters symbolize...
View ArticleAnswer by Gonçalo Ribeiro for Vertically rotate visual block
You can do it like this:select the lines you want to rotate (with V or <C-v>)type :type <C-w> to get rid of the '<,'> that appeared after the :type '> move '<-1, or the short...
View ArticleVertically rotate visual block
How would one vertically rotate a visual block of text?For example given this:helloSelect those characters in visual block and rotate them once:ohellAs you see, every character is moved down one line,...
View Article
More Pages to Explore .....