自定义键盘功能键

用 Vim 久了,自然会被引入改键的歧途。我习惯使用的,是下面 2a 这种。 对调,对调两个按键的功能 .. Esc <==> CapsLock .. Esc <==> Tilde(~) .. Esc <==> Windows 重设,改变原始按键的功能 .. CapsLock => Esc .. Windows => Esc 基于 xmodmaprc 作的改建,有线键盘的时候没什么大问题。 在改用蓝牙键盘以后,每次断开后再重连,就会导致改键失效。 % cat ~/.Xmodmaprc ! Make <CapsLock> to be <Escape> remove Lock = Caps_Lock keysym Caps_Lock...

2018-09-16 · wuan

改用 Neovim 后遇到的问题(一)

之前在用 Vim 的时候,有一个配置项, nmap <unique> <F5> :!git difftool --tool=nvimdiff -y HEAD -- %<LEFT><LEFT><LEFT><LEFT><LEFT> 效果如下图:编辑文件时用 F5 查看当前内容与 Git 库 HEAD 的差异 现在改用 Neovim 以后,暂时无法实现。 简单调查后,问题可能在于 Neovim 删除了 term,改用了 terminal。 在 Vim 和 Neovim 分别执行一个外部的命令(!top),可以看出差别。 @https://github.com/neovim/neovim/issues/1496 This is not a bug, it is the new behavior...

2016-08-24 · wuan

calendar 插件不错哦

特别是 Clock view,太有喜感了。

2014-07-24 · wuan

Bram Molenaar responds to NeoVIM

Hi Bram, I would like to start by saying that I admire your work on Vim, I’ve been using it for quite some time now and I really enjoy using Vim every day. There’s a new project that is called Neovim that seeks to refactor and modernize the codebase, I was interested in knowing what your opinion is on this project? I think many are curious about what you think too. Please let us know. Thanks for Vim. :) http://neovim.org/ https://github.com/neovim/neovim Regards, – Diego Viola It’s going to be an awful lot of work, with the result that not all systems will be supported, new bugs introduced and what’s the gain for the end user exactly? Total refactoring is not a solution. It’s much better to improve what we have. Perhaps with some small refactorings specifically aimed at making Vim work...

2014-03-02 · wuan

用一不支持脚踏板的编辑器都不好意思跟人打招呼了

现实中的 VIM脚踏板 传说中的 Emacs脚踏板

2012-06-25 · wuan