4051548f2546c14bc0af785e89f5efd94068e33e
coding/vim.md
| ... | ... | @@ -86,6 +86,22 @@ post on [reddit][] |
| 86 | 86 | |
| 87 | 87 | select several lines containing '0' and type `g<C-a>` |
| 88 | 88 | |
| 89 | +## split |
|
| 90 | +- movement |
|
| 91 | + ``` |
|
| 92 | + <Ctrl>-w [h,j,k,l] |
|
| 93 | + <Ctrl>-w w |
|
| 94 | + ``` |
|
| 95 | +- rotate |
|
| 96 | + ``` |
|
| 97 | + <Ctrl>-w r |
|
| 98 | + ``` |
|
| 99 | +- orientate |
|
| 100 | + ``` |
|
| 101 | + <Ctrl>-w J |
|
| 102 | + <Ctrl>-w L |
|
| 103 | + ``` |
|
| 104 | + |
|
| 89 | 105 | [using_spellcheck]: https://www.linux.com/learn/using-spell-checking-vim |
| 90 | 106 | [faq]: http://vim.wikia.com/wiki/Vim_buffer_FAQ |
| 91 | 107 | [vanilla vim]: https://stackoverflow.com/questions/16082991/vim-switching-between-files-rapidly-using-vanilla-vim-no-plugins |