Best Vim Tips
vim.wikia.com
vim.wikia.com
(warning, by no means am I trying to instigate yet another emacs vs vim thread but here I go)
Not to hate on emacs, since it has served me well as an advanced editor for the past year or so, but I sometimes feel so lost in its sea of features and a never-ending config file that I often end up saying to myself "If I only I could take the time to learn lisp maybe I could really start using emacs that way it should be used", nevertheless, learning vim versus learning lisp is certainly more cost-effective for my time.
:he lvis
and press tab.I like the inline arithmetic:
CTRL-R=5*5
Note the "=" comes first. I just discovered that "CTRL-R5" inserts that line from your cut-and-paste history (or something).See :help i_CTRL-R and :help registers