Vim 秘籍表
2011-09-19 黑日白月 Posted in Screenshots, Vim pluginsRSS
献给程序员们,彩色风格的 VIM 速查秘籍表,适合打印、设为桌面背景或放置到专门的数码相框。
同时还提供 300DPI 的清晰版、黑白和适用于红绿色盲人士的版本,请移步至作者站点下载。
Vim Cheat Sheat for Programmers by Michael Pohoreski
Update: Version 2.0 is up! There are now 4 versions to chose from:
(If you are wondering what the differences are between the screen and print: the screen has less color variations, and no gradients to make it easier to read.)
- One designed for on-screen reading: PDF (Excel 2011 source),
- One designed for hard-copy reading: PDF (Excel 2011 source),
- One designed for monochrome printing: PDF (Excel 2011 source), and
- One designed for Red/Green color bindness -- a "Blue" theme PDF (Excel 2011 source).
The color coded Legend / Keys helps provide guidance for your experience level.
- Green = Essential
- Yellow = Basic
- Orange / Blue = Advanced
- Red = Expert
If you don't like this version (I'd love to hear why) try these, you may find them more to your liking...
- http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
- http://tnerual.eriogerg.free.fr/vim.html
- http://www.lagmonster.org/docs/vi.html
- http://jrmiii.com/2009/03/06/learning-vim-the-pragmatic-way.html
Thanks to all the redditors for the feedback! ~ Michael
The on-screen 150 DPI .png version is shown...
The color hard-copy 300 DPI .png version:
The monochrome hard-copy 300 DPI .png version:
An color blind hard-copy 150 DPI .png version:
=== Vim Rants ===
Vim has 4 bugs...Othe then that, Vim is a beautiful code editor!
- Unable to map Caps lock key, Ctrl-1, Ctrl-Shift-1, Ctrl-Alt-Shift-1, etc. !
- Unable to distinguish between TAB and Ctrl-I, ESC and Ctrl-[ ! Any _modern_ editor can tell the diffeence. It is not 1970 anymore people!
- :set list doesn't work for displaying all whitespace with a seperate character, i.e., listchars is missing an whitespace:+ option.
- The cursor movement keys h j k l are literally hard-coded throughout the source -- which also effects the netrw :Explore file browser. A user should be able to tell Vim what their 4 basic movement keys are, and ALL commands & Plugins should use THAT. The PROPER way to write code is to translate key presses into an enumeration, i.e. CMD_MOVE_UP, CMD_MOVE_DOWN, etc, and use THAT in your logic, NOT if (cmd == 'h') ....