Guide to vim: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "Specifically this is about how to use vim as a window manager, since I'm tired of tmux First open a file and a vim terminal in 1 command: vim file +term then control+space...")
(No difference)

Revision as of 13:15, 5 July 2023

Specifically this is about how to use vim as a window manager, since I'm tired of tmux

First open a file and a vim terminal in 1 command:

vim file +term

then control+space space changes the focus, using c-spc as the terminal win key rather than c-w so that can be delete backwards word like usual

set termwinkey=<C-@>
tnoremap <C-@><space> <C-w><C-w>