Motions

Miscellaneous

<aside>

Window

<c-w> _ 把当前窗口垂直方向撑满(最大高度)

<c-w> | 把当前窗口水平方向撑满(最大宽度)

<c-w> = 均分

</aside>

termianl

15sp | term 底部开始一个终端, i a 进入插入模式,

buffer

Untitled

marks

Using marks | Vim Fandom Wiki

``a /'a`

Commands Description
ma set mark a at current cursor location
'a jump to line of mark a (first non-blank character in line)
``a` jump to position (line and column) of mark a
d'a delete from current line to the line of mark a
da` delete from current cursor position to the position of mark a
:marks list all the current marks
:marks aB list marks a B
Nivagation Description
]' jump to next line with a lowercase mark
[' jump to previous line with a lowercase mark
`]`` jump to next lowercase mark
`[`` jump to previous lowercase mark

The above commands take a count. For example, `5]`` jumps to the fifth mark after the cursor.

Command Description
``.` jump to position where last change occurred in current buffer
``"` jump to position where last exited current buffer
``0` jump to position in last file edited (when exited Vim)
``1` like 0` but the previous file (also 2` etc)
'' jump back (to line in current buffer where jumped from)
```` jump back (to position in current buffer where jumped from)
[` or ]` jump to beginning/end of previously changed or yanked text
<` or >` jump to beginning/end of last visual selection