diff options
Diffstat (limited to 'vim.md')
-rw-r--r-- | vim.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +# Vim tricks + +## Navigating help + +| prefix | example | context | +| ------ | ------------- | ------------------------------------------------ | +| `:` | `:h :r` | ex command (command starting with a colon) | +| `none` | `:h r` | normal mode | +| `v_` | `:h v_r` | visual mode | +| `i_` | `:h i_CTRL-W` | insert mode | +| `c_` | `:h c_CTRL-R` | ex command line | +| `/` | `:h /\r` | search pattern (in this case, `:h \r` also works | +| `'` | `:h 'ro'` | option | +| `-` | `:h -r` | Vim argument (starting Vim) | |