New answers tagged

0

This post is old, the accepted answer doesn't concern about terminal buffer. The accepted answer use session to do the trick, but session can't completely restore terminal buffer: *terminal-session* A terminal window will be restored when using a session file, if possible and wanted. If "terminal" was removed from '...


5

To see window numbers you have to setup statusline (:h statusline), for example: set statusline=[%{winnr()}] set statusline+=%([\%R%M]\ %) set statusline+=%<%f set statusline+=%(\ %y%) set statusline+=%= set statusline+=%4(%p%%%) See winnr() function in the first line. To switch to the window with that number you can use built-in 2 C-ww You can add ...


Top 50 recent answers are included