请教: vim字体粗细不均匀?
发表于 : 2010-06-05 23:04
在Win 7 下, vim 字体粗细不均匀,使用的是微软雅黑。在Emacs下显示正常,请问vim需要设置什么吗?
pocoyo 写了:emacs下能上个图么 我的超模糊。
谢谢!leeaman 写了:vim用的是终端字体设置吧
代码: 全选
:set gfn?
Windows很不好用的哦,:help :redir 自己看看吧。nickleeh 写了: 另外,请教如何复制gvim的命令输出?
即:
我想把在vim底部输出的一串字符复制到.vimrc中,有办法吗?代码: 全选
:set gfn?
(我是在windows 下使用gvim的)
多谢了!
代码: 全选
*: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