使用vim遇到过的问题

在Vim中鼠标右键不能粘贴

【转载】解决在Vim中鼠标右键不能粘贴

vim 编辑的中文注释在source insight下乱码

原因:source insight 不支持utf-8编码,支持的是cp936
解决:使用iconv来转换编码,例如iconv -f utf-8 -t cp936 file1.txt -o file1.txt

为什么 VIM 编辑变慢

有可能是因为输入的字符与快捷键冲突

gvim的vundle 安装插件出错

错误提示如下:

Processing 'gmarik/vundle'
Error detected while processing function vundle#installer#new..<SNR>129_process..vundle#installer#run..vundle#installer#install..<SNR>129_sync..<SNR>129_system:
line    1:
E484: Can't open file C:\Users\gallia1\AppData\Local\Temp\VIo8E1E.tmp
Error detected while processing function vundle#installer#new..<SNR>129_process:
line   13:
E121: Undefined variable: g:vundle_last_status
E15: Invalid expression: 'error' == g:vundle_last_status
line   17:
E121: Undefined variable: g:vundle_last_status
E15: Invalid expression: 'updated' == g:vundle_last_status && empty(msg)

解决方法:
1. 把vim74(如:C:\Program Files\gVimPortable\vim74)加入系统变量Path
2. 安装 git for Windows ,选择Run git from Windows command prompt option

参考:Vundle for Windows

更多

更多内容参考:vim学习汇总

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值