mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-12-22 18:18:55 +00:00
Added change/delete command and zz command.
This commit is contained in:
parent
fa869f5dd2
commit
e6cdab4c5d
@ -87,6 +87,8 @@ J join line below to the current one
|
|||||||
cc change (replace) an entire line
|
cc change (replace) an entire line
|
||||||
cw change (replace) to the end of word
|
cw change (replace) to the end of word
|
||||||
C change (replace) to the end of line
|
C change (replace) to the end of line
|
||||||
|
ct' change (replace) until the ' character (can change ' for
|
||||||
|
any character)
|
||||||
s delete character at cursor and substitute text
|
s delete character at cursor and substitute text
|
||||||
S delete line at cursor and substitute text (same as cc)
|
S delete line at cursor and substitute text (same as cc)
|
||||||
xp transpose two letters (delete and paste, technically)
|
xp transpose two letters (delete and paste, technically)
|
||||||
@ -118,6 +120,8 @@ x delete current character
|
|||||||
X delete previous character
|
X delete previous character
|
||||||
dw delete the current word
|
dw delete the current word
|
||||||
dd delete (cut) a line
|
dd delete (cut) a line
|
||||||
|
dt' delete until the next ' character on the line (replace '
|
||||||
|
by any character)
|
||||||
D delete from cursor to end of line
|
D delete from cursor to end of line
|
||||||
:[range]d delete [range] lines
|
:[range]d delete [range] lines
|
||||||
|
|
||||||
@ -279,6 +283,7 @@ CTRL-w < increase window width
|
|||||||
CTRL-w > decrease window width
|
CTRL-w > decrease window width
|
||||||
CTRL-w = equal window
|
CTRL-w = equal window
|
||||||
CTRL-w o close other windows
|
CTRL-w o close other windows
|
||||||
|
zz Centers the window to the current line
|
||||||
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user