3 ms·
Better configuration language. For instance (define-key evil-normal-state-map " " "@q") vs noremap <Space> @q I know it's subjective and some peop
by LarryMullins 4y ago
Better configuration language. For instance
(define-key evil-normal-state-map " " "@q")
vs
noremap <Space> @q
I know it's subjective and some people will say the later is better because it's shorter, but I greatly prefer the first. It's very descriptive, I can tell exactly what it does just by reading it. The vim version... "no remap"? I know it means "Normal Recursive Map", but that's not the way it reads unless you already know what it does. Vim just has a bewildering array of such things, noremap, nnoremap, vnnoremap, znormap, xnoremap, snoremap, onoremap, tnoremap... one of those is fake and you probably can't tell which.
Basically, vim has an old-school unix culture of naming things, while emacs has a lisp culture of naming things. Considering both these editors now come with powerful completion features that make it easy to type long symbol names, I think the lisp approach is the correct one.
I tried to like vimscript. Tried for nearly 15 years. When I finally took the plunge and switched to evil mode it was like a breath of fresh air, and I was left wondering why I hadn't switched years earlier.
- mixedCase 4y agoYou can effortlessly configure Neovim with Fennel nowadays. This is a good example: https://github.com/nyoom-engineering/nyoom.nvim https://github.com/nyoom-engineering/nyoom.nvim The one trade-off is that it's not the first class language, so you still have to mentally translate from Lua to Fennel sometimes.
- nurettin 4y agoThat's it? Just the configuration method? I thought you would go over a bunch of things that cannot be done in vim, but is possible with evil. And all I got was configuration language. And key remapping for that. Disappointing.
- brabel 4y agoDiscussions about text editors are always useless... people express their opinion as if they were completely objective, but when pressed to explain it they come up with the most ridiculous little things. We should just all recognize it's all subjective preference.