Skip to content

Notes on VsVim keybindings

Julien edited this page Mar 19, 2016 · 15 revisions

Full list

  • Edit.QuickFindSymbol
  • Edit.CommentSelection --> Ctrl+E, C
  • Edit.UncommentSelection --> Ctrl+E, U
  • Edit.CompleteWord --> Ctrl+Space
  • Edit.IncreaseLineIndent (already handled by VsVim with < and >)
  • Increase/decrease selection indent (visual mode, then < or >).
  • Team.Git.CompareWithPrevious
  • Team.Git.CompareWithUnmodified
  • Team.Git.OpenBrowser
  • Team.Git.OpenCommandPrompt
  • Team.Git.OpenFileExplorer
  • Team.Git.ViewCommitDetails
  • Team.Git.ViewHistory
  • Tools.CustomizeKeyboard
  • Tools.Options
  • Tools.Zoom
  • Tools.ZoomIn
  • Tools.ZoomOut
  • Quick actions (Ctrl+.)
  • tab groups (in Window.*)
  • File.CopyFullPath
  • File.DiffLocalItem
  • open the options menu
  • Debug.QuickWatch
  • Debug.ReturnToCallSite

Start/stop debugging and running

  • TestDriven Debug -> td (test debugging)
  • TestDriven Run --> tc (test continue)
  • TestDriven RepeatLastRun --> ta (test again) and tt
  • Debug.StopDebugging --> SS (stop) and TT (stop test)
  • Debug.Start --> sd (start debugging)
  • Debug.StartWithoutDebugging --> sc (start continue)
  • Build --> Ctrl-Shift-B
  • Debug.DetachAll --> maybe later
  • DebuggerContextMenus.ProcessesWindow.ContinueProcess
  • DebuggerContextMenus.ProcessesWindow.DetachProcess
  • DebuggerContextMenus.ProcessesWindow.TerminateProcess

While debugging (could this be moved to the left hand?)

  • Debug.StepInto --> Alt-L
  • Debug.StepOut --> Alt-K
  • Debug.RunToCursor --> Alt-R
  • EditorContextMenus.CodeWindow.RuntoCursor
  • Debug.SetNextStatement --> Alt-S
  • Debug.AddWatch
  • move up and down the call stack
  • DebuggerContextMenus.CallStackWindow.SwitchToFrame
  • DebuggerContextMenus.CallStackWindow.UnwindToThisFrame

Windows

  • Debug.Output --> wo
  • Debug.Immediate --> wi
  • Debug.Locals --> wl
  • Debug.Modules --> wm
  • Debug.Threads --> wt
  • Debug.Autos --> wa
  • Debug.Breakpoints --> wp (points)
  • View.BookmarkWindow --> wb
  • Window.AutoHideAll --> wh

Bookmarks and breakpoints

  • Edit.EnableBookmark
  • Edit.NextBookmark
  • Edit.NextBookmarkInDocument
  • Edit.PreviousBookmark
  • Edit.PreviousBookmarkInDocument
  • Edit.ToggleBookmark
  • Debug.ToggleBreakpoint (F9) --> bt
  • Debug.EnableBreakpoint --> bs

Navigation

  • next/previous tab
  • Window.PreviousTab
  • Scroll down --> Space?
  • Window.PinTab
  • Edit.PreviousMethod
  • Edit.GoToDefinition
  • Edit.NavigateTo Bindings:(Global::Ctrl+,,)
  • ComparePrevious
  • Diff.NextDifference Bindings:(Difference Viewer::F8,)
  • Diff.PreviousDifference Bindings:(Difference Viewer::Shift+F8,)
  • Edit.PeekDefinition
  • Edit.QuickFindSymbol
  • Edit.QuickInfo
  • Usings
  • Find all references
  • View.FullScreen Bindings:(Global::Shift+Alt+Enter,)
  • View.NavigateBackward Bindings:(Global::Ctrl+-,)
  • View.NavigateForward Bindings:(Global::Ctrl+Shift+-,)
  • Window.KeepTabOpen Bindings:(Global::Ctrl+Alt+Home,)
  • Window.NextTab Bindings:(Global::Ctrl+Alt+PgDn,)

Outlining

  • Edit.StartAutomaticOutlining
  • Edit.StopHidingCurrent
  • Edit.StopOutlining
  • Edit.StopOutliningTag
  • Edit.ToggleAllOutlining
  • Edit.UndoClose
  • Edit.CollapseAllincurrentblock
  • Edit.CollapseAllOutlining
  • Edit.CollapseBlockcurrentblock
  • Edit.CollapseCurrentRegion
  • Edit.CollapseTag
  • Edit.CollapsetoDefinitions
  • Edit.ExpandAllOutlining

Code generation

  • Edit.GenerateConstructor
  • Edit.GenerateEnumMember
  • Edit.GenerateField
  • Edit.GenerateMethod
  • Edit.GenerateNewType
  • Edit.GenerateProperty
  • OtherContextMenus.SmartTag.*
Clone this wiki locally