启动后在vim命令行中出现奇怪的符号 [英] Strange symbol in vim command line after start
问题描述
我正在使用Kubuntu 15.10,konsole和vim.当我最初在Konsole中启动vim时,我在命令行中得到了奇怪的符号("115; 0c"),这真是令人讨厌.
I'm using Kubuntu 15.10, konsole and vim. When I initially start vim in konsole, i get strange symbols ("115;0c") in my command line, which is really annoying.
我尝试在.vimrc中设置"set term = konsole",但是我知道了
i tried "set term=konsole" setting in my .vimrc but i got this
E558: Terminal entry not found in terminfo
'konsole' not known. Available builtin terminals are:
builtin_gui
builtin_amiga
builtin_beos-ansi
builtin_ansi
builtin_pcansi
builtin_win32
builtin_vt320
builtin_vt52
builtin_xterm
builtin_iris-ansi
builtin_debug
builtin_dumb
defaulting to 'ansi'
但是所有这些选项都很烦人,因为在关闭vim后我得到了跟踪".
but all of these options were annoying, because i got "trace" after closing quiting vim.
有人有同样的问题吗?我将不胜感激.
Does anyone have the same problem? I'd appreciate any help.
推荐答案
通常表示不正确的TERM
环境变量设置-启动vim
时,它会基于TERM
设置错误,则可能会生成不正确的设置字符串,并显示如下.
That usually indicates an incorrect TERM
environment variable setting -- when vim
starts up, it generates a number of terminal configuration commands base on the TERM
setting to configure the terminal. If the TERM
setting is wrong, it may generate an incorrect setting string that gets displayed like this.
对于konsole窗口,应将TERM
设置为konsole
.
For a konsole window, TERM
should be set to konsole
.
这篇关于启动后在vim命令行中出现奇怪的符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!