开发者

Map for maximizing sub-window vertically

开发者 https://www.devze.com 2023-02-02 03:20 出处:网络
How to map this sequence of keys to F3 in Vim: <Ctrl>+W 9 9 9 +? 开发者_运维百科That\'s sequence for maximizing current :sp window over the whole screen.I would probably use :

How to map this sequence of keys to F3 in Vim: <Ctrl>+W 9 9 9 +? 开发者_运维百科That's sequence for maximizing current :sp window over the whole screen.


I would probably use :

:noremap <F3> <C-W>_<C-W>\|

Where :

  • <C-W>| maximizes horizontally
  • <C-W>_ maximizes vertically

See :help window-resize for other possibilities.

0

精彩评论

暂无评论...
验证码 换一张
取 消