我在Gvim中的光标:
按下后,我在Gvim中的光标d:
在操作员挂起模式下,有什么方法可以在终端Vim中更改光标?它不必看起来完全像截图一样。
这是由Gvim 的o:hor50-Cursorin 完成的guicursor。我为Vim看到的唯一三个选项是:
t_SI    start insert mode (bar cursor shape)        *t_SI* *'t_SI'*
t_SR    start replace mode (underline cursor shape) *t_SR* *'t_SR'*
t_EI    end insert or replace mode (block cursor shape) *t_EI* *'t_EI'*
    |termcap-cursor-shape|
但是关于操作员挂起模式的一切...
                  @VanLaser是的,但我喜欢光标;-)
                
                
                  
                    —
                    Martin Tournoij 
                    
                  
                
              
                  呵呵,我可以理解:)
                
                
                  
                    —
                    VanLaser 
                    
                  
                
              
                  我知道C / C ++,提供$赏金,如果可能的话,我可能会尝试在Vim源代码中实现它:D
                
                
                  
                    —
                    VanLaser 
                    
                  
                
              
                  您可以使用vi.stackexchange.com/a/11437/10337来检测操作员挂起模式并回显ansi转义以更改光标。
                
                
                  
                    —
                    laktak 
                    
                  
                
              

showcmd启用设置)。我还禁用了所有超时和esckeys选项(这使Vim保持活泼,但允许我考虑要在op-pending模式下执行的操作)。