當我在我的膩子程序中使用 vim 時,我遇到了一個自動完成問題 (When I using vim in my putty program, I have an autocomplete issue)


問題描述

當我在我的膩子程序中使用 vim 時,我遇到了一個自動完成問題 (When I using vim in my putty program, I have an autocomplete issue)

我在 putty 程序中使用 vim,我想查看我的自動完成列表,但只看到灰色背景

在我的主機服務器(筆記本電腦)中,使用 vim 時,我可以看到我的自動完成列表

你有沒有遇到過這個問題?如果有,你能給我一個你的解決方案嗎?

在此處輸入圖片描述


參考解法

方法 1:

In a terminal, Vim draws its entire user interface via the available characters and highlighting. It looks like you have very few colors and highlighting attributes available, so the completion popup is drawn grey‑on‑grey, so you don't see anything. You can verify this via

:highlight Pmenu

which would then also just print a grey bar.

To fix this, follow the usual playbook:

  • How many colors are available: :set t_Co? tells you
  • Is that expected? If not (PuTTY should support 256 colors), what's the TERM value (something like xterm‑256color would be good).
  • Does the colorscheme (:colorscheme tells you the name) support your environment? Check the entire :hi output whether it all looks fine, maybe try out a few different schemes.

(by PARKIngo Karkat)

參考文件

  1. When I using vim in my putty program, I have an autocomplete issue (CC BY‑SA 2.5/3.0/4.0)

#putty #vim






相關問題

如何從我的 Windows 機器運行安裝在 linux 機器上的 OpenGL 應用程序? (How can I run an OpenGL application installed on a linux machine from my windows machine?)

正確的自動命令以在膩子中連接到路由器 (correct autocommand to connect to router in putty)

Sun OS 5.10: Bash: Warna dan Daftar Direktori (Sun OS 5.10: Bash: Colors and Directory Listings)

WinSCP:服務器拒絕了我們的密鑰 (WinSCP: Server refused our key)

psftp 批處理腳本不起作用 (psftp batch script won't work)

'vagrant ssh' 不適用於 vagrant-multi-putty 插件 ('vagrant ssh' not working with the vagrant-multi-putty plugin)

uft type 命令沒有正確輸入 i 字符 (uft type command does not input i character properly)

使用 pscp 並獲得權限被拒絕 (Using pscp and getting permission denied)

當我在我的膩子程序中使用 vim 時,我遇到了一個自動完成問題 (When I using vim in my putty program, I have an autocomplete issue)

使用 c# System.IO.Ports.SerialPort 寫入 Cisco 交換機並不總是有效 (Write to Cisco Switch with c# System.IO.Ports.SerialPort doesn't always work)

錯誤:ARM 的行尾出現垃圾 -as 和 -o 錯誤 (Error: Junk at end of line -as and -o error with ARM)

在 PowerShell 中重用正在運行的 PuTTY 代理(選美) (Reuse in PowerShell a running PuTTY agent (pageant))







留言討論