Vsvim: g, and g; don't work

Created on 8 Feb 2012  路  8Comments  路  Source: VsVim/VsVim

easy but not-quite-correct way to implement that: do what Ctrl-- and Ctrl-Shift-- do.

feature request

Most helpful comment

+1 for gi, I use that a lot in vim.

All 8 comments

Thanks for reporting! I'll look into getting that implemented for the next release.

While you might be at it: There's a key combination I use a lot: gi it moves the cursor to the last position of insert mode and switches to insert mode. It's great for typing code, then scrolling around to find some information and jumping back to the last place you typed.

@mawimawi I'll definitely add that to the list

+1 for gi, I use that a lot in vim.

@tremby - since VsVim supports '^ (but with backtick instead of ') you could use the following map as a substitute:

nmap gi `^i

Bumping this one, with some more details.
gi, g, and g; don't work in 1.6.0.2 (VS2012)
the

nmap gi `^i

only works within one tab. If you do an insert in tab a, then navigate to tab b, a '^i will do i if the tab hasn't been inserted into, or gi inside tab b only.

Why not have this nmap built in? Having it work in only one tab is a good compromise (also it's how I'd want it to behave) and it's one form of the expected behavior anyway

+1 for g;

Was this page helpful?
0 / 5 - 0 ratings

Related issues

myopicmage picture myopicmage  路  5Comments

jaredpar picture jaredpar  路  5Comments

ArnisL picture ArnisL  路  5Comments

MartinL0815 picture MartinL0815  路  6Comments

ogirginc picture ogirginc  路  6Comments