Live data from Hacker News

Vim Cheat Sheet - For Programmers By Programmers

michael.peopleofhonoronly.com

11–20 of 64 posts

Re: Vim Cheat Sheet - For Programmers By Programmers

#12
post #7

I started out vim, with bare minimum commands but later on went to emacs. With emacs I have an option M-x tab auto complete In case I don't get to remember something. I would like to know what are vim equivalents of this? Some how I feel deep down inside that vim was not designed bottom for this kind of complexity. I mean to say when you want to design something to scale you have to clearly decide what goes into the…

vim will auto complete words if you press control-p while in insert mode.

http://i.imgur.com/tdcEc.png

For what it's worth I feel how you feel about vim, about emacs. I suspect it's just a matter of familiarity.

edit: As DrJ points out, control-n works too. Seems the 'p' is for previous keyword and the 'n' for next keyword.

Re: Vim Cheat Sheet - For Programmers By Programmers

#13

Now that's some visual clutter :(

There's simply no reason to think VIM is complicated or hard to learn at all :) There's a better looking but less information dense cheatsheet here. http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial... I have it printed and taped to the window in the office.

This cheat sheet reminds me of http://www.visibone.com/ 's Browser book, which has the same kind of density of information. Doing this well is very hard and while the idea is good, more work is needed to attain Visibone's level.

Re: Vim Cheat Sheet - For Programmers By Programmers

#15
post #7

I started out vim, with bare minimum commands but later on went to emacs. With emacs I have an option M-x tab auto complete In case I don't get to remember something. I would like to know what are vim equivalents of this? Some how I feel deep down inside that vim was not designed bottom for this kind of complexity. I mean to say when you want to design something to scale you have to clearly decide what goes into the…

"wollw" and "DrJ" I am talking about command auto completion, not word auto completion inside the editor.

In emacs, for word auto completion M-/ is just too awesome.

Re: Vim Cheat Sheet - For Programmers By Programmers

#18
post #15
post #7

I started out vim, with bare minimum commands but later on went to emacs. With emacs I have an option M-x tab auto complete In case I don't get to remember something. I would like to know what are vim equivalents of this? Some how I feel deep down inside that vim was not designed bottom for this kind of complexity. I mean to say when you want to design something to scale you have to clearly decide what goes into the…

"wollw" and "DrJ" I am talking about command auto completion, not word auto completion inside the editor. In emacs, for word auto completion M-/ is just too awesome.

Command-line mode has tab completion. I'm not aware of there being auto completion in the other modes.

Re: Vim Cheat Sheet - For Programmers By Programmers

#19
post #15
post #7

I started out vim, with bare minimum commands but later on went to emacs. With emacs I have an option M-x tab auto complete In case I don't get to remember something. I would like to know what are vim equivalents of this? Some how I feel deep down inside that vim was not designed bottom for this kind of complexity. I mean to say when you want to design something to scale you have to clearly decide what goes into the…

"wollw" and "DrJ" I am talking about command auto completion, not word auto completion inside the editor. In emacs, for word auto completion M-/ is just too awesome.

Pressing Tab completes commands in command-line mode, and its very smart. (Be sure to :set wildmenu to see a list of all matching commands as well.)

Re: Vim Cheat Sheet - For Programmers By Programmers

#20
post #15
post #7

I started out vim, with bare minimum commands but later on went to emacs. With emacs I have an option M-x tab auto complete In case I don't get to remember something. I would like to know what are vim equivalents of this? Some how I feel deep down inside that vim was not designed bottom for this kind of complexity. I mean to say when you want to design something to scale you have to clearly decide what goes into the…

"wollw" and "DrJ" I am talking about command auto completion, not word auto completion inside the editor. In emacs, for word auto completion M-/ is just too awesome.

You can press the tab key in Vim to get command auto completion.

For example, :colo completes to :colorscheme.

Post reply on HN