725fb2822002ec0635a1877a86281d3e43dbf007
software/vim.md
| ... | ... | @@ -204,6 +204,15 @@ https://vim.fandom.com/wiki/How_to_sort_using_visual_blocks |
| 204 | 204 | :help scroll-cursor |
| 205 | 205 | ``` |
| 206 | 206 | |
| 207 | +## open a terminal |
|
| 208 | +``` |
|
| 209 | +:terminal |
|
| 210 | +:vert term |
|
| 211 | +``` |
|
| 212 | + |
|
| 213 | +`ctrl-w shift-n` puts terminal in normal mode |
|
| 214 | +`a` or `i` returns to shell |
|
| 215 | + |
|
| 207 | 216 | ## yanking into a register |
| 208 | 217 | `"qp` paste the contents of the register to the current cursor position |
| 209 | 218 | `i` enter insert mode at the begging of the pasted line |