-
vim terminal mode https://gist.github.com/tin-z/bcca6aa172516a20605c41b05b458e70
- scroll window from a vim spawned terminal
[Ctrl-w + N]
- scroll window from a vim spawned terminal
-
cscope vim shortcuts https://gist.github.com/tin-z/c6ed7b9c55615c2a27d83d41f0916556
-
C++ syntax highlighting https://github.com/bfrg/vim-c-cpp-modern
-
window, tab
- move windows position from left to right
[Ctrl+w] + r - swap current window with the next one on the right side
[Ctrl+w] + x - split horizontally
[Ctrl+w] + n - move window to a new tab
[Ctrl+w] + T - open file per tab from command line
vim -p ...
- move windows position from left to right
-
search
- match char/string 's' only if previous or next char is not a letter:
\<s\> - search a word under cursor in normal mode:
#or*
- match char/string 's' only if previous or next char is not a letter:
-
etc
- get current file name
[Ctrl-r] + %, e.g.insert mode, [Ctrl+r] + %, delete current file:!rm [Ctrl-r] + %
- get current file name
-
plugins
Last active
January 28, 2026 10:18
-
-
Save tin-z/170c89b0ac5d7b2cdfcb63730d33e002 to your computer and use it in GitHub Desktop.
vim personal memo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment