Skip to content

Latest commit

 

History

History
243 lines (220 loc) · 4.37 KB

Supported Features.md

File metadata and controls

243 lines (220 loc) · 4.37 KB

Each section has the set of sorted commands listed alphabetically. Aliases for the same command are separated with '/' characters and are sorted by the more common alias

Operators

These operators are supported. They work with all motions and text objects in the next paragraphs.

  • c
  • d
  • gU
  • gu
  • g?
  • g~
  • y
  • zf
  • <
  • >
  • !
  • =
  • gq
  • gw

Motions

This is the set of motions which are currently supported listed alphabetically. Aliases for the same motion are separated with '/' characters and are sorted by the more common alias

  • b / <S-Left> : Normal word backward
  • B / <C-Left> : Big word backward
  • e : End of normal word
  • E : End of big word
  • f : move forward to character
  • F
  • ge : Backward to end of word
  • gE : Backward to end of WORD
  • gg
  • G
  • gn : operate on next match
  • gN
  • g*
  • g#
  • g_ : Last non white space on the line
  • g0 : First character of screen line
  • g^ : First visible character on line
  • g$ : Last visible character on line
  • h / <Left> / <Bs> / <C-H> : character left
  • H
  • j / <Down> / <C-N> / <C-J> : line down
  • k / <Up> / <C-P>: line up
  • l / <Right> / <Space> : character right
  • L
  • M
  • n
  • N
  • t
  • T
  • v : modifier to a motion to act as in visual mode. Together with operator. Example: dvb.
  • w / <S-Right> : Normal Word
  • W / <C-Right> : Big Word
  • 0 : Beginning of the line
  • $ / <End> : End of line
  • ^ : First non-white space on line
    • / <C-M> : Line down to first non white space
  • _ : First non-white space on line (with count)
  • ( : Sentence backward
  • ) : Sentence forward
  • { : Paragraph backward
  • } : Paragraph forward
  • ]]
  • [[
  • []
  • ][
  • ;
  • %
  • *
  • #

Text Objects

All text objects: words, sentences, paragraphs, strings (",'), pair delimited ( [], {}, (), <>, xmltags ) are supported with their a- and i- form.

Normal Mode

  • a
  • A
  • C
  • cc
  • dd
  • D
  • ga
  • gd : using Goto.Definition from visual studio
  • gf
  • gJ
  • gh
  • gH
  • g<C-h>
  • gI
  • gp
  • gP
  • gt
  • gT
  • gv
  • gn
  • gN
  • gugu
  • guu
  • gUgU
  • gUU
  • g~ g~
  • g~~
  • g?g?
  • g??
  • g&
  • g8
  • i
  • I
  • J
  • o
  • O
  • p
  • P
  • q : macro recording
  • r
  • R : Replace mode
  • s
  • S
  • u
  • U
  • v
  • V
  • x
  • X
  • Y
  • yy
  • za
  • zA
  • zo
  • zO
  • zc
  • zC
  • zd
  • zD
  • zE
  • zF
  • zM
  • zR
  • ZQ
  • ZZ
  • <C-a>
  • <C-g>
  • <C-i>
  • <C-o>
  • <C-PageDown>
  • <C-PageUp>
  • <C-q>
  • <C-r>
  • <C-v>
  • <C-w><C-c>
  • <C-w>c
  • <C-w><C-j>
  • <C-w>j
  • <C-w><C-Down>
  • <C-w><Down>
  • <C-w><C-k>
  • <C-w>k
  • <C-w><C-Up>
  • <C-w><Up>
  • <C-w><C-l>
  • <C-w>l
  • <C-w><C-Right>
  • <C-w><Right>
  • <C-w><C-h>
  • <C-w>h
  • <C-w><C-Left>
  • <C-w><Left>
  • <C-w>J
  • <C-w>K
  • <C-w>L
  • <C-w>H
  • <C-w><C-t>
  • <C-w>t
  • <C-w><C-b>
  • <C-w>b
  • <C-w><C-p>
  • <C-w>p
  • <C-w><C-w>
  • <C-w>w
  • <C-w>W
  • <C-w><C-s>
  • <C-w>s
  • <C-w>S
  • <C-w><C-v>
  • <C-w>v
  • <C-w><C-g><C-f>
  • <C-w>gf
  • <C-x>
  • <C-]>
  • <Del>
  • [p
  • [P
  • ]p
  • ]P
  • &
  • .
  • <<
  • >>
  • ==
  • gqgq
  • gqq
  • gwgw
  • gww
  • !!
  • :
  • <C-^>

Marks

Local (small letter) and global marks are supported (linewise and exact character). Movements to marks can be used with operators. Most marks that vim automatically manages, are supported.

Registers

Named registers are supported. Append with uppercase letters is supported. Recording to and executing registers as macros is supported. Most registers that vim automatically manages, are supported.

Commands

  • substitute
  • global (g) and converse (v)
  • Ex-commands to (m)ove, (co)py, (d)elete and join lines
  • practically all forms of ranges: line numbers (incl. relative), marks and pattern(!)
  • mapping: all map, unmap, remap and mapclear commands (not for commandmode: cnoremap ...)
  • abbreviations
  • normal: execute key sequence in normal mode
  • registers
  • cwindow

Misc

  • Status line display is supported through statusline and laststatus settings, with the following caveats: statusline is static text (no expansion is performed) and laststatus only supports values of 0 (hide status line) and non-zero (show status line).