On 01/13/13 18:45, Gary Johnson wrote:
If for some reason you would rather select characterwise, you could
use this:
:map <c-a> <esc>gg^vG$
I'd recommend using "0" instead of "^" in case there is some leading
white-space:
:map <c-a> <esc>gg0vG$
Or, for parity, use "g_" instead of "$":
:map <c-a> <esc>gg^vGg_
(Had to dig in the help for "g_" given how rarely I use it--only for
vimgolf)
Additionally, I'd follow the advice seen in the mswin.vim file and
make mappings for each individual mode as suggested elsewhere in the
thread, rather than try to make one mapping that does everything.
-tim
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php