Did you know... how to swap the current anchor position in the editor? - #047
Ctrl+K, Ctrl+A will swap the current anchor position. For whatever reason, when i tested our Emacs Emulations, i used this functionality all the time whenever I wrote test case code. But i never use it in the default editor settings. It isn’t the keybinding that i have to press. I think it is just the way the overall experience flows when in emacs.
cursor position before swap:
cursor position after swap:
Technorati tags: VS2005Tip, VS2008Tip
Comments
Anonymous
September 25, 2007
PingBack from http://www.artofbam.com/wordpress/?p=3006Anonymous
September 25, 2007
The comment has been removedAnonymous
September 26, 2007
Sara, Just adding my vote for you to please keep these up! While some are a bit esoteric, these are very useful for any and all keyboard jockeys. Down with the mouse! Long live the keyboard! :) -ChuckAnonymous
September 26, 2007
Awesome... another shortcut I'd missed that'll be used many times daily. :) I've already bound it to ctrl+shift+a (I never use dual combo shortcuts for my common commands). On the subject of Emacs emulation, why can I not use Edit.EmacsOtherWindow or Edit.EmacsSplitVertical (and other similar commands)? In the Immediate window I simply get the error "Command "blah" is not available.", and binding to a key does nothing also.Anonymous
September 27, 2007
The comment has been removedAnonymous
October 12, 2007
The comment has been removedAnonymous
October 12, 2007
I take it all back. My guess is that Emacs or Brief named commands dont' work unless I am in that mode. Window.NextSplitPane is the command for what I was looking.Anonymous
June 22, 2008
The comment has been removedAnonymous
October 13, 2008
Ctrl+K, Ctrl+A изменяет позицию курсора. Я использовала эту функцию по любому поводу, когда тестировала