如何在 Vim 中增加垂直拆分窗口的大小 [英] How to increase the vertical split window size in Vim

查看:25
本文介绍了如何在 Vim 中增加垂直拆分窗口的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:vsplit(简称::vs)垂直分割 Vim 视口.:30vs 拆分视口,使新窗口有 30 个字符宽.创建这个 30 个字符的窗口后,如何将其大小更改为 31 或 29?

:vsplit (short form: :vs) split the Vim viewport vertically. :30vs splits the viewport, making the new window 30 characters wide. Once this 30 char window is created, how would one change it's size to 31 or 29?

使用水平窗口 Ctrl-W + 将行数增加一.将列增加一的等效命令是什么?

With horizontal windows Ctrl-W + increases the number of lines by one. What is the equivalent command to increase the columns by one?

推荐答案

CTRL-W >

CTRL-W <

使窗口变宽或变窄.

这篇关于如何在 Vim 中增加垂直拆分窗口的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆