5 ms·
Graphical Vim Cheatsheet
- Symmetry 16y agoI've had that taped to my office wall since way back when I decided to use Vim. That, and the intermediate learning cheatsheets here were very useful. http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial...
- abetterlie 16y agoThose come as stickers too, and make your laptop look really cool! I got mine from 4keyboard.
- balu 16y agoHahah. A graphical cheatsheet for a command line editor. Nice!
- Luyt 16y agoSeeing this makes me wanna use vi again.
- dguaraglia 16y agoYou should! I've been an on/off Vim user for years, but only recently have finally decided to do all my editing in Vim and I can say that (after the typical initial re-learning curve) I'm more than happy. This article in particular made me want to go back and try again, with a better Vim configuration file: http://nvie.com/posts/how-i-boosted-my-vim/ http://nvie.com/posts/how-i-boosted-my-vim/ Now I've gotten so used to Vim, I keep closing tabs and chat windows when trying to delete a word I just typed (Ctrl+W on Vi). Awkward :) EDIT: I linked the wrong article. Fixed now.
- jodrellblank 16y agoAlso try FireFox with the Vimperator add-on.
- thdn 16y agoOr Pentadactyl : http://dactyl.sourceforge.net/pentadactyl/ http://dactyl.sourceforge.net/pentadactyl/ [+]
- bostonvaulter2 16y agoDon't use vi, use vim.
- tumult 16y agoImportant VIM tip that cheatsheets never mention for some reason: text objects. First, remember these two things: a for a, and i for 'inner'. 'daw' deletes a word under the cursor. 'diw' deletes the contents of a word (the 'inner' of a word) under the cursor. What? How is that useful? 'das' deletes a sentence under the cursor. 'dap' deletes a paragraph under the cursor. 'da{' deletes the block of text that's currently surrounded by braces. 'ci(' deletes the inner content that's surrounded by parentheses and puts you in insert mode. 'gqap' reformats the contents of the paragraph under the cursor ('gqip' will end up leaving your cursor at the beginning of the paragraph instead of the end.)
- remi 16y agoMore information: :h text-objects
- danerik 16y agoWorking with text objects like that really boost the ability to work effortlessly ... and is, like you said, something the cheat sheet doesn't mention. Then again, the cheat sheet leaves a lot out ... but it's the fundamental tool for a newcomer regardless... ideally, they should become intimate with ":help".
- grayrest 16y agoI consider text objects and the f/t motions to be the core Vim editing motions. I'm always annoyed that vim intros go through teaching the w/e/b motions when you can easily get by with f<space>/t<space>/T<space> and the search commands generalize to things like replacing the first part of a camelCase word (ctC) or the end of a string (ct").
- deleted 16y ago[deleted]
- bostonvaulter2 16y agoHere's a great SO comment describing how to work with text objects: http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim/1220118#1220118 http://stackoverflow.com/questions/1218390/what-is-your-most...
- deleted 16y ago[deleted]
- hardik988 16y agoDoes anyone know what sort of a license does this picture carry ? I want to 'reblog' this to my own blog, just for future reference..
- jng 16y agoFeel free to "reblog" a link to the GIF, but it would be best to link to the containing page: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html You can blog an image hotlinking to the cheatsheet inside a link that points to the containing page for best effect. Also of possible interest, the "why vi" article: http://www.viemu.com/a-why-vi-vim.html I'm the author of both.
- hardik988 16y agoThanks a lot for the prompt reply, and for letting me 'reblog' it. Appreciate it.
- sigzero 16y agoIf you use Vim, snipMate is an awesome plugin to give you snippets. http://www.vim.org/scripts/script.php?script_id=2540 http://www.vim.org/scripts/script.php?script_id=2540
- mace 16y agoThis cheatsheet was great when I started using vim years ago. I highly recommend http://vimcasts.org/ http://vimcasts.org/ It has neat little tutorials that cover a lot of vim's powerful features.
- nuclear_eclipse 16y agoDefinitely be sure to give thanks to ViEmu for this great set of graphics, and if you happen to like Vim and use Visual Studio, give consideration to buying their plugin. It works incredibly well, and really helps me feel at home when writing software in Windows.
- preek 16y agoHere's a nice article on how to set up VIM as a Python IDE: http://blog.dispatched.ch/vim-as-python-ide/ http://blog.dispatched.ch/vim-as-python-ide/
- wallfly 16y agoI had Office Depot print this cheat sheet: in color, legal-sized, double-sided, laminated with a heavy/stiff plastic and spiral bound. It now sits off to the side of my desk and has made for an invaluable reference over the past year.
- wahnfrieden 16y agoIt's a good sign of ViEmu's quality that they provide the standard Vim cheatsheet without any editing. I haven't used ViEmu myself, but their emulation seems extensive -- impressive given how limited to the point of uselessness Vi-emulating "keybindings" are for other software.
- joeguilmette 16y agoSometimes I feel like I am the only one who just doesn't get VIM
- gasull 16y agoIs there something like this for non-US keyboards?