I found a vim tip a while back recommending swapping visual and visual block mode (http://howivim.com/2016/damian-conway/)For the most part this is really useful. I frequently find myself wanting to only capture a part of a block containing similar text or to delete or insert a bunch of text at the beginning of the line and have it affect every line.The only thing I'm missing in this setup is the ability to yank all the lines in that the visual block touches. Because Y yanks the whole line in normal mode, I expected it to the same in Visual Block, is there a way to configure it to yank the whole of every line in the visual block selection?
Visual block yank to end of line
key bindings;visual block
Maybe this?xnoremap Y :yank<cr>Being an ex command, :yank will automatically copy whole lines.