Skip to content

Vim Mode

Chris Maughan edited this page Mar 5, 2020 · 12 revisions

` --- Mappings --- Normal Maps:

  • : QuickSearch
  • f
  • <.> : Find
  • : MotionHalfPageForward
  • : : ExMode
  • : MotionRightSplit
  • : MotionPreviousMarker
  • <C-,> : QuickSearch
  • ? : ExMode
  • / : ExMode
  • H : PreviousTabWindow
  • L : NextTabWindow
  • : SwitchToAlternateFile
  • y
  • y : YankLine
  • : MotionLeft
  • k : MotionUp
    • : FontBigger
    • : FontSmaller
  • V : VisualLineMode
  • h : MotionLeft
  • p : PasteAfter
  •  j : MotionDown
    
  •  <Right> : MotionRight
    
  •  <Down> : MotionDown
    
  •  l : MotionRight
    
  •  k : MotionUp
    
  •  u : Undo
    
  •  <Up> : MotionUp
    
  •  h : MotionLeft
    
  •  y
    
  •    y : YankLine
    
  •  <Left> : MotionLeft
    
  •  <Backspace> : MotionLeft
    
  •  <C-f> : MotionPageForward
    
  •  <Del> : Delete
    
  •  g
    
  •    E : MotionBackEndWORD
    
  •    e : MotionBackEndWord
    
  •    g : MotionGotoBeginning
    
  •  <PageDown> : MotionPageForward
    
  •  <C-b> : MotionPageBackward
    
  •  F
    
  •    <.> : FindBackwards
    
  •  <PageUp> : MotionPageBackward
    
  •  <C-d> : MotionHalfPageForward
    
  •  e : MotionEndWord
    
  •  <C-u> : MotionHalfPageBackward
    
  •  <Escape> : NormalMode
    
  •  G : MotionGotoLine
    
  •  <C-z> : Undo
    
  •  d
    
  •    <D>
    
  •      w : DeleteWord
    
  •      d : DeleteLine
    
  •    W : DeleteWORD
    
  •    w : DeleteWord
    
  •    i
    
  •      W : DeleteInnerWORD
    
  •      w : DeleteInnerWord
    
  •    a
    
  •      W : DeleteAWORD
    
  •      w : DeleteAWord
    
  •    t
    
  •      <.> : DeleteToChar
    
  •    d : DeleteLine
    
  •    $ : DeleteToLineEnd
    
  •  $ : MotionLineEnd
    
  •  ^ : MotionLineFirstChar
    
  •  w : MotionWord
    
  •  b : MotionBackWord
    
  •  W : MotionWORD
    
  •  B : MotionBackWORD
    
  •  E : MotionEndWORD
    
  •  f
    
  •    <.> : Find
    
  •  ; : FindNext
    
  •  n : MotionNextSearch
    
  •  N : MotionPreviousSearch
    
  •  v : VisualMode
    
  •  V : VisualLineMode
    
  •  Y : YankLine
    
  •  <Return> : MotionNextFirstChar
    
  •  r
    
  •    <.> : Replace
    
  •  i : InsertMode
    
  •  S : SubstituteLine
    
  •  s : Substitute
    
  •  A : AppendToLine
    
  •  a : Append
    
  •  I : InsertAtFirstChar
    
  •  p : PasteAfter
    
  •  P : PasteBefore
    
  •  x : Delete
    
  •  J : JoinLines
    
  •  o : OpenLineBelow
    
  •  O : OpenLineAbove
    
  •  D : DeleteToLineEnd
    
  •  c
    
  •    W : ChangeWORD
    
  •    w : ChangeWord
    
  •    a
    
  •      W : ChangeAWORD
    
  •      w : ChangeAWord
    
  •    i
    
  •      W : ChangeInnerWORD
    
  •      w : ChangeInnerWord
    
  •    t
    
  •      <.> : ChangeToChar
    
  •    $ : ChangeToLineEnd
    
  •    c : ChangeLine
    
  •  C : ChangeToLineEnd
    
  •  <C-r> : Redo
    
  • j : MotionDown
  • : MotionRight
  • : MotionDown
  • l : MotionRight
  • k : MotionUp
  • u : Undo
  • : MotionUp
  • y
  •  y : YankLine
    
  • : MotionLeft
  • : MotionLeft
  • : MotionPageForward
  • : Delete
  • g
  •  E : MotionBackEndWORD
    
  •  e : MotionBackEndWord
    
  •  g : MotionGotoBeginning
    
  • : MotionPageForward
  • : MotionPageBackward
  • F
  •  <.> : FindBackwards
    
  • : MotionPageBackward
  • : MotionHalfPageForward
  • e : MotionEndWord
  • : MotionHalfPageBackward
  • : NormalMode
  • G : MotionGotoLine
  • : Undo
  • d
  •  <D>
    
  •    w : DeleteWord
    
  •    d : DeleteLine
    
  •  W : DeleteWORD
    
  •  w : DeleteWord
    
  •  i
    
  •    W : DeleteInnerWORD
    
  •    w : DeleteInnerWord
    
  •  a
    
  •    W : DeleteAWORD
    
  •    w : DeleteAWord
    
  •  t
    
  •    <.> : DeleteToChar
    
  •  d : DeleteLine
    
  •  $ : DeleteToLineEnd
    
  • $ : MotionLineEnd
  • ^ : MotionLineFirstChar
  • w : MotionWord
  • b : MotionBackWord
  • W : MotionWORD
  • B : MotionBackWORD
  • E : MotionEndWORD
  • f
  •  <.> : Find
    
  • ; : FindNext
  • n : MotionNextSearch
  • N : MotionPreviousSearch
  • v : VisualMode
  • V : VisualLineMode
  • Y : YankLine
  • : MotionNextFirstChar
  • r
  •  <.> : Replace
    
  • i : InsertMode
  • S : SubstituteLine
  • s : Substitute
  • A : AppendToLine
  • a : Append
  • I : InsertAtFirstChar
  • P : PasteBefore
  • x : Delete
  • J : JoinLines
  • o : OpenLineBelow
  • O : OpenLineAbove
  • D : DeleteToLineEnd
  • c
  •  W : ChangeWORD
    
  •  w : ChangeWord
    
  •  a
    
  •    W : ChangeAWORD
    
  •    w : ChangeAWord
    
  •  i
    
  •    W : ChangeInnerWORD
    
  •    w : ChangeInnerWord
    
  •  t
    
  •    <.> : ChangeToChar
    
  •  $ : ChangeToLineEnd
    
  •  c : ChangeLine
    
  • C : ChangeToLineEnd
  • : Redo
  • p : PasteAfter
  • 0 : MotionLineBegin
  • j : MotionDown
  • : MotionRight
  • : MotionDown
  • l : MotionRight
  • k : MotionUp
  • u : Undo
  • : MotionUp
  • h : MotionLeft
  • y
  •  y : YankLine
    
  • : MotionLeft
  • : MotionLeft
  • : MotionPageForward
  • : Delete
  • g
  •  E : MotionBackEndWORD
    
  •  e : MotionBackEndWord
    
  •  g : MotionGotoBeginning
    
  • : MotionPageForward
  • : MotionPageBackward
  • F
  •  <.> : FindBackwards
    
  • : MotionPageBackward
  • : MotionHalfPageForward
  • e : MotionEndWord
  • : MotionHalfPageBackward
  • : NormalMode
  • G : MotionGotoLine
  • : Undo
  • d
  •  <D>
    
  •    w : DeleteWord
    
  •    d : DeleteLine
    
  •  W : DeleteWORD
    
  •  w : DeleteWord
    
  •  i
    
  •    W : DeleteInnerWORD
    
  •    w : DeleteInnerWord
    
  •  a
    
  •    W : DeleteAWORD
    
  •    w : DeleteAWord
    
  •  t
    
  •    <.> : DeleteToChar
    
  •  d : DeleteLine
    
  •  $ : DeleteToLineEnd
    
  • $ : MotionLineEnd
  • ^ : MotionLineFirstChar
  • w : MotionWord
  • b : MotionBackWord
  • W : MotionWORD
  • B : MotionBackWORD
  • E : MotionEndWORD
  • f
  •  <.> : Find
    
  • ; : FindNext
  • n : MotionNextSearch
  • N : MotionPreviousSearch
  • v : VisualMode
  • V : VisualLineMode
  • Y : YankLine
  • : MotionNextFirstChar
  • r
  •  <.> : Replace
    
  • i : InsertMode
  • S : SubstituteLine
  • s : Substitute
  • A : AppendToLine
  • a : Append
  • I : InsertAtFirstChar
  • p : PasteAfter
  • P : PasteBefore
  • x : Delete
  • J : JoinLines
  • o : OpenLineBelow
  • O : OpenLineAbove
  • D : DeleteToLineEnd
  • c
  •  W : ChangeWORD
    
  •  w : ChangeWord
    
  •  a
    
  •    W : ChangeAWORD
    
  •    w : ChangeAWord
    
  •  i
    
  •    W : ChangeInnerWORD
    
  •    w : ChangeInnerWord
    
  •  t
    
  •    <.> : ChangeToChar
    
  •  $ : ChangeToLineEnd
    
  •  c : ChangeLine
    
  • C : ChangeToLineEnd
  • : Redo
  • j : MotionDown
  • l : MotionRight
  • : MotionDown
  • : MotionUp
  • : MotionDownSplit
  • : MotionRight
  • h : MotionLeft
  • : MotionLeft
  • : MotionPageForward
  • : MotionUpSplit
  • : MotionPageForward
  • g
  • E : MotionBackEndWORD
  • e : MotionBackEndWord
  • g : MotionGotoBeginning
  • : MotionPageBackward
  • F
  • <.> : FindBackwards
  • : MotionPageBackward
  • e : MotionEndWord
  • : MotionHalfPageBackward
  • : NormalMode
  • G : MotionGotoLine
  • $ : MotionLineEnd
  • ^ : MotionLineFirstChar
  • w : MotionWord
  • b : MotionBackWord
  • W : MotionWORD
  • B : MotionBackWORD
  • E : MotionEndWORD
  • N : MotionPreviousSearch
  • : MotionLeftSplit
  • ; : FindNext
  • n : MotionNextSearch
  • v : VisualMode
  • : MotionNextMarker
  • Y : YankLine
  • : MotionNextFirstChar
  • r
  • <.> : Replace
  • i : InsertMode
  • S : SubstituteLine
  • s : Substitute
  • A : AppendToLine
  • a : Append
  • I : InsertAtFirstChar
  • P : PasteBefore
  • x : Delete
  • : Delete
  • J : JoinLines
  • o : OpenLineBelow
  • O : OpenLineAbove
  • d
  •  w : DeleteWord
    
  •  d : DeleteLine
    
  • W : DeleteWORD
  • w : DeleteWord
  • i
  •  W : DeleteInnerWORD
    
  •  w : DeleteInnerWord
    
  • a
  •  W : DeleteAWORD
    
  •  w : DeleteAWord
    
  • t
  •  <.> : DeleteToChar
    
  • d : DeleteLine
  • $ : DeleteToLineEnd
  • D : DeleteToLineEnd
  • c
  • W : ChangeWORD
  • w : ChangeWord
  • a
  •  W : ChangeAWORD
    
  •  w : ChangeAWord
    
  • i
  •  W : ChangeInnerWORD
    
  •  w : ChangeInnerWord
    
  • t
  •  <.> : ChangeToChar
    
  • $ : ChangeToLineEnd
  • c : ChangeLine
  • C : ChangeToLineEnd
  • : Redo
  • : Undo
  • u : Undo -Insert Maps:
  • : QuickSearch
  • j
  • k : NormalMode
  • <C-,> : QuickSearch
  • : MotionRight
  • : MotionDown
  • : MotionUp
  • : InsertTab
  • : MotionLeft
  • : NormalMode
  • : Backspace
  • : InsertCarriageReturn -Visual Maps:
  • h : MotionLeft
  • p : PasteAfter
  •  j : MotionDown
    
  •  <Right> : MotionRight
    
  •  <Down> : MotionDown
    
  •  l : MotionRight
    
  •  k : MotionUp
    
  •  <Up> : MotionUp
    
  •  h : MotionLeft
    
  •  y : Yank
    
  •  <Left> : MotionLeft
    
  •  <Backspace> : MotionLeft
    
  •  <C-f> : MotionPageForward
    
  •  <Del> : Delete
    
  •  g
    
  •    E : MotionBackEndWORD
    
  •    e : MotionBackEndWord
    
  •    g : MotionGotoBeginning
    
  •  <PageDown> : MotionPageForward
    
  •  <C-b> : MotionPageBackward
    
  •  <PageUp> : MotionPageBackward
    
  •  : : ExMode
    
  •  <C-d> : MotionHalfPageForward
    
  •  e : MotionEndWord
    
  •  <C-u> : MotionHalfPageBackward
    
  •  <Escape> : NormalMode
    
  •  G : MotionGotoLine
    
  •  d : VisualDelete
    
  •  $ : MotionLineEnd
    
  •  ^ : MotionLineFirstChar
    
  •  w : MotionWord
    
  •  b : MotionBackWord
    
  •  W : MotionWORD
    
  •  B : MotionBackWORD
    
  •  E : MotionEndWORD
    
  •  Y : YankLine
    
  •  a
    
  •    w : VisualSelectAWord
    
  •    W : VisualSelectAWORD
    
  •  i
    
  •    w : VisualSelectInnerWord
    
  •    W : VisualSelectInnerWORD
    
  •  r
    
  •    <.> : Replace
    
  •  / : ExMode
    
  •  ? : ExMode
    
  •  p : PasteAfter
    
  •  P : PasteBefore
    
  •  x : Delete
    
  •  c : VisualChange
    
  •  s : VisualSubstitute
    
  •  J : JoinLines
    
  •  C : ChangeLine
    
  • j : MotionDown
  • : MotionRight
  • : MotionDown
  • l : MotionRight
  • k : MotionUp
  • : MotionUp
  • y : Yank
  • : MotionLeft
  • : MotionLeft
  • : MotionPageForward
  • : Delete
  • g
  •  E : MotionBackEndWORD
    
  •  e : MotionBackEndWord
    
  •  g : MotionGotoBeginning
    
  • : MotionPageForward
  • : MotionPageBackward
  • : MotionPageBackward
  • : : ExMode
  • : MotionHalfPageForward
  • e : MotionEndWord
  • : MotionHalfPageBackward
  • : NormalMode
  • G : MotionGotoLine
  • d : VisualDelete
  • $ : MotionLineEnd
  • ^ : MotionLineFirstChar
  • w : MotionWord
  • b : MotionBackWord
  • W : MotionWORD
  • B : MotionBackWORD
  • E : MotionEndWORD
  • Y : YankLine
  • a
  •  w : VisualSelectAWord
    
  •  W : VisualSelectAWORD
    
  • i
  •  w : VisualSelectInnerWord
    
  •  W : VisualSelectInnerWORD
    
  • r
  •  <.> : Replace
    
  • / : ExMode
  • ? : ExMode
  • P : PasteBefore
  • x : Delete
  • c : VisualChange
  • s : VisualSubstitute
  • J : JoinLines
  • C : ChangeLine
  • p : PasteAfter
  • 0 : MotionLineBegin
  • j : MotionDown
  • : MotionRight
  • : MotionDown
  • l : MotionRight
  • k : MotionUp
  • : MotionUp
  • h : MotionLeft
  • y : Yank
  • : MotionLeft
  • : MotionLeft
  • : MotionPageForward
  • : Delete
  • g
  •  E : MotionBackEndWORD
    
  •  e : MotionBackEndWord
    
  •  g : MotionGotoBeginning
    
  • : MotionPageForward
  • : MotionPageBackward
  • : MotionPageBackward
  • : : ExMode
  • : MotionHalfPageForward
  • e : MotionEndWord
  • : MotionHalfPageBackward
  • : NormalMode
  • G : MotionGotoLine
  • d : VisualDelete
  • $ : MotionLineEnd
  • ^ : MotionLineFirstChar
  • w : MotionWord
  • b : MotionBackWord
  • W : MotionWORD
  • B : MotionBackWORD
  • E : MotionEndWORD
  • Y : YankLine
  • a
  •  w : VisualSelectAWord
    
  •  W : VisualSelectAWORD
    
  • i
  •  w : VisualSelectInnerWord
    
  •  W : VisualSelectInnerWORD
    
  • r
  •  <.> : Replace
    
  • / : ExMode
  • ? : ExMode
  • p : PasteAfter
  • P : PasteBefore
  • x : Delete
  • c : VisualChange
  • s : VisualSubstitute
  • J : JoinLines
  • C : ChangeLine
  • j : MotionDown
  • : MotionDownSplit
  • : MotionRight
  • : MotionDown
  • l : MotionRight
  • k : MotionUp
  • : MotionUp
  • h : MotionLeft
  • y : Yank
  • : MotionLeft
  • : MotionLeft
  • : MotionPageForward
  • : Delete
  • : MotionUpSplit
  • g
  • E : MotionBackEndWORD
  • e : MotionBackEndWord
  • g : MotionGotoBeginning
  • : MotionPageForward
  • : MotionPageBackward
  • : MotionPageBackward
  • : : ExMode
  • : MotionHalfPageForward
  • e : MotionEndWord
  • : MotionHalfPageBackward
  • : NormalMode
  • G : MotionGotoLine
  • d : VisualDelete
  • $ : MotionLineEnd
  • ^ : MotionLineFirstChar
  • w : MotionWord
  • b : MotionBackWord
  • W : MotionWORD
  • B : MotionBackWORD
  • E : MotionEndWORD
  • : MotionRightSplit
  • : MotionLeftSplit
  • Y : YankLine
  • a
  • w : VisualSelectAWord
  • W : VisualSelectAWORD
  • i
  • w : VisualSelectInnerWord
  • W : VisualSelectInnerWORD
  • r
  • <.> : Replace
  • / : ExMode
  • ? : ExMode
  • P : PasteBefore
  • x : Delete
  • c : VisualChange
  • s : VisualSubstitute
  • J : JoinLines
  • C : ChangeLine `
Clone this wiki locally