请教: vim字体粗细不均匀?
- nickleeh
- 帖子: 130
- 注册时间: 2008-08-06 13:24
请教: vim字体粗细不均匀?
在Win 7 下, vim 字体粗细不均匀,使用的是微软雅黑。在Emacs下显示正常,请问vim需要设置什么吗?
- nickleeh
- 帖子: 130
- 注册时间: 2008-08-06 13:24
- leeaman
- 帖子: 30702
- 注册时间: 2007-02-02 18:14
- 系统: debian sid
- nickleeh
- 帖子: 130
- 注册时间: 2008-08-06 13:24
Re: 请教: vim字体粗细不均匀?
谢谢!leeaman 写了:vim用的是终端字体设置吧
我是Windows 7 + gvim
使用菜单更改字体,也是粗细不都均匀!
- leeaman
- 帖子: 30702
- 注册时间: 2007-02-02 18:14
- 系统: debian sid
- nickleeh
- 帖子: 130
- 注册时间: 2008-08-06 13:24
- nickleeh
- 帖子: 130
- 注册时间: 2008-08-06 13:24
Re: 请教: vim字体粗细不均匀?
问题解决了!
更新字体为
Yahei_Consolas 1.12版本,一切正常了!
有同样问题的,推荐换新版字体!
另外,请教如何复制gvim的命令输出?
即:
我想把在vim底部输出的一串字符复制到.vimrc中,有办法吗?
(我是在windows 下使用gvim的)
多谢了!
更新字体为
Yahei_Consolas 1.12版本,一切正常了!
有同样问题的,推荐换新版字体!
另外,请教如何复制gvim的命令输出?
即:
代码: 全选
:set gfn?
(我是在windows 下使用gvim的)
多谢了!
- lilydjwg
- 论坛版主
- 帖子: 4258
- 注册时间: 2009-04-11 23:46
- 系统: Arch Linux
- 联系:
Re: 请教: vim字体粗细不均匀?
Windows很不好用的哦,:help :redir 自己看看吧。nickleeh 写了: 另外,请教如何复制gvim的命令输出?
即:
我想把在vim底部输出的一串字符复制到.vimrc中,有办法吗?代码: 全选
:set gfn?
(我是在windows 下使用gvim的)
多谢了!
- nickleeh
- 帖子: 130
- 注册时间: 2008-08-06 13:24
Re: 请教: vim字体粗细不均匀?
谢谢楼上各位!
看了help文件,也没想出 来办法!
我知道
代码: 全选
*:redi* *:redir*
:redi[r][!] > {file} Redirect messages to file {file}. The messages which
are the output of commands are written to that file,
until redirection ends. The messages are also still
shown on the screen. When [!] is included, an
existing file is overwritten. When [!] is omitted,
and {file} exists, this command fails.
Only one ":redir" can be active at a time. Calls to
":redir" will close any active redirection before
starting redirection to the new target.
To stop the messages and commands from being echoed to
the screen, put the commands in a function and call it
with ":silent call Function()".
An alternative is to use the 'verbosefile' option,
this can be used in combination with ":redir".
{not in Vi}
我知道
可以把shell命令结果输出到文件中。可是vim自己的命令结果怎么输出呢?还望明示!:r! shell_cmd
- nickleeh
- 帖子: 130
- 注册时间: 2008-08-06 13:24