vim window横竖切换

当 vim 将屏分割开之后,有时想将当前 window 横竖切换

按 ctrl + w + ( h j k l ) 定位到需要复制的 window

当前 window 扩展到最宽

ctrl + w + K 

当前 window 扩展到最高

ctrl + w + H 

参考:
https://stackoverflow.com/a/1269631

windows change caps lock to control

新建文件 caps_lock_to_control.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 

直接下载:http://johnhaller.com/sites/default/files/downloads/reg/caps_lock_to_control.reg

双击执行caps_lock_to_control.reg,之后重启