visual studio 2012 - Move Cursor Up/Down Lines -


i'm trying mimic functionality set in sublime text allows me move cursor 'j' or 'k' in vi. in windows world guess similar pgup/pgdn, i'd go up/down 1 line not 1 page. here's bindings in sublime text i'd mimic:

[    {"keys": ["ctrl+i"], "command": "move", "args": {"by": "lines", "forward": false}},    { "keys": ["ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true}} ] 

edit: logarr pointed out, easier way phrase want mimic up/down arrow keys using ctrl+i , ctrl+k

there vim extensions visual studio. there free vsvim extension works in visual studio 2010+ , viemu works in visual studio 2003+ plus few other applications.

if want remap , down keys, can change keyboard mapping. tools->options find keyboard section. there can change key bindings edit.linedown , edit.lineup. may want select text editor "use new shortcut in:" setting these changes affect text editor.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -