pitupepito2000
Golden Member
Do you use vim? if so what is your favorite trick on it?
Thanks,
pitupepito
Thanks,
pitupepito
Originally posted by: drag
Vim is a "improved" version of Vi. Not realy a clone in the same sense as things like Niv and Elvis.
It's takes vi's basic functionality and allows people to extend it with various extensions and whatnot.
Vi is a arcane Unix text editor. Used by advanced programmers and Linux/Unix geeks everywere, and generally abored by normal people who are unfortunate enough to be forced to use it against their will.
It uses a unique dual mode operation sceme (command mode, editor mode), and was originally designed as a be used over slow serial links with Unix mainframes.
Often described as a "real man's text editor". Refering to the painfull introduction it puts people thru and then also the fact that advanced users can do outstanding abouts of work quickly while using it's full potential.
Often described in accordance with the Emacs vs Vi religious wars.
Originally posted by: n0cmonkey
I don't use vim, can't see a reason to.
Originally posted by: BingBongWongFooey
Originally posted by: n0cmonkey
I don't use vim, can't see a reason to.
* multi-level undo (how can you live without this?)
* syntax highlighting
* bracket/parentheses matching
* visual mode
* auto-indent with =, indenting/unindenting of lines with < and > (most useful with visual mode)
* arbitrary mapping of commands, so you can map :W to :w, :Q to :Q, etc., so you don't constantly get pissed off by mistyping them. 😛
no doubt other stuff I forget too.
Originally posted by: n0cmonkey
Originally posted by: BingBongWongFooey
Originally posted by: n0cmonkey
I don't use vim, can't see a reason to.
* multi-level undo (how can you live without this?)
Constant backups, frequent saves.
* syntax highlighting
This would be the big reason for using it, if it had syntax highlighters for the things I do.
* bracket/parentheses matching
* visual mode
* auto-indent with =, indenting/unindenting of lines with < and > (most useful with visual mode)
Spaces or tabs? 😛
Originally posted by: BingBongWongFooey
What do you do that's so obscure? There are syntax files on vim.org that aren't included with vim, and it's not that hard to write them (depending on how complex the syntax is, of course)