aboutsummaryrefslogtreecommitdiff
path: root/doc/shortcuts.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/shortcuts.txt')
-rw-r--r--doc/shortcuts.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/shortcuts.txt b/doc/shortcuts.txt
index 159f20a..d70855f 100644
--- a/doc/shortcuts.txt
+++ b/doc/shortcuts.txt
@@ -26,6 +26,7 @@ caw = select 'a word'
26:%s/foo/bar/g = replace all foo with bar 26:%s/foo/bar/g = replace all foo with bar
27:g/foo/s/bar//g = on lines with foo replace bar with nothing 27:g/foo/s/bar//g = on lines with foo replace bar with nothing
28:g!/foo/s/bar//g = on lines not containing foo replace bar with nothing 28:g!/foo/s/bar//g = on lines not containing foo replace bar with nothing
29:g!/^foo/execute("normal dd") delete lines starting with foo
29 30
30[visual mode] # with selected lines 31[visual mode] # with selected lines
31gq = formats text so that it fits in whatever :set textwidth was set 32gq = formats text so that it fits in whatever :set textwidth was set
..