html tool

2015年10月25日星期日

ctrl-a的windows中vim冲突问题

问题描述:

Why does < C-a> (CTRL+A) not work under gvim on windows?

解决:

If you just do not like CtrlA behaviour but are fine with other windows behaviours in VIM (like CtrlZ for undo), just disable that specific line:
  1. Edit said file (c:\Program Files\Vim\vim73\mswin.vim for me)
  2. Find the paragraph starting with CTRL-A is Select all
  3. Prepend all (6) lines of that paragraph with opening brackets (")
  4. Reopen your GVIM windows.
You can still "select all" by typing ggVG (position cursor at first line, select entire line, select until the last line of the document).
Happy incrementing!

PS:
近来在系统完成vim的使用技巧,发现嘻嘻vi和windows的很多细节还是要好好处理一下的,不过总体还是很bela的,如果你也使用vi处理,有问题欢迎交流。
[popexizhi]
1.ctral -a num/ctral -a为以此为基数的加法
2.对0\d+开始的数字做ctral -a为八进制返回的加法,so007的操作结果是010而非008 :)  邦德是八进制的最高数值啊啊啊:)

没有评论:

发表评论