by father_of_two · 11y ago · 0 comments
I've never grasped vim. It was too slow at the time and the extended command set consumed all the free keys I use to have available to do my own macros (eg: 'q' 'g').
I reckon vim grew to be much more than an editor, it is now an editing plataform, capable of so many things, and contains lots of shortcuts / builtins for common text-editing situations.
The article above contains many vim-only commands. For example 'di>' ("delete inner angle-block") doesn't exist on standard vi, neither the '>aB' ("indent a Block").
I have hopes that neovim will sort some of that out -- it makes a certain amount of sense that vim is slow because of some baggage it carries, but I'll admit they aren't very high hopes: I've been using emacs recently.
How funny is that? That I use emacs because vim is too slow!
Indeed, if you're writing lots of code with hardly any newlines (like k lang), you will probably have performance issues with vim.
> It also has terrible defaults
This can vary from distribution-to-distribution. Certainly the default debian setup comes with annoyingly intrusive defaults, some of them used to have an impact on speed. Three settings you probably want in your $HOME/.vimrc on debian: filetype indent off
filetype plugin off
filetype plugin indent off
[this might be obsolete - that config is more than a decade old]