Skip to content

Commit 052eef7

Browse files
committed
add vim motions to readme
1 parent a41bcd4 commit 052eef7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,22 @@ sqlit connections delete "MyConnection"
185185
| `Ctrl+Q` | Quit |
186186
| `?` | Help |
187187

188+
### Vim Motions (Query Editor, NORMAL mode)
189+
190+
Use with operators like `y`, `d`, `c` (e.g. `dw`, `y$`).
191+
192+
| Motion | Action |
193+
|--------|--------|
194+
| `h` / `j` / `k` / `l` | Move cursor left / down / up / right |
195+
| `w` / `W` | Next word / WORD |
196+
| `b` / `B` | Previous word / WORD |
197+
| `e` / `E` | End of word / WORD |
198+
| `0` / `$` | Line start / end |
199+
| `gg` / `G` | File start / end |
200+
| `f{c}` / `F{c}` | Find char forward / backward |
201+
| `t{c}` / `T{c}` | Till char forward / backward |
202+
| `%` | Matching bracket |
203+
188204
### Commands Menu (`<space>`)
189205

190206
| Key | Action |

0 commit comments

Comments
 (0)