5 ms·
As an emacs user who is only slightly familiar with vim, I've wondered whether this may reflect a weakness of vim. With emacs + SLIME or even just dabbrev (inc
by rsheridan6 18y ago
As an emacs user who is only slightly familiar with vim, I've wondered whether this may reflect a weakness of vim. With emacs + SLIME or even just dabbrev (included in emacs by default), you don't type the whole word anyway - you type an abbreviation and expand it. Does vim not have an equivalent capability? If not, that would explain why pg thinks abbreviated names are a win.
- astine 18y agoWord completion is available and it would be possible to implement something like this in vim script. But, as far as I know, vim users don't typically use this; it doesn't generally fit in with the philosophy of the editor.
- jrockway 18y agoSo you let the philosophy of your editor get in the way of writing good code? Sounds like a plan...
- astine 18y agolol. No, you let it get in the way of extending your editor. You can write good code without abbreviation expansions. Vi hardliners would see it as unnecessary feature creep as it is rather complicated and doesn't fit in as well as other commands.
- tokipin 18y agoyes, there's abbreviation expansion. i do well enough with keyword completion though
- jcl 18y agohttp://www.vim.org/htmldoc/map.html#Abbreviations http://www.vim.org/htmldoc/map.html#Abbreviations