Live data from Hacker News

Remove Ex-Mode from Neovim

github.com

101–110 of 123 posts

Re: Remove Ex-Mode from Neovim

#102

Earlier quoted context omitted.

I'm interested to hear why you're using evil-mode instead of vim if that's how you feel. I'm using vim with slimv for Lisp hacking at the moment and I have to admit that there are some whoopsies, but not enough to make me learn to use a whole new editor :)

Well, rant and occasional surprise aside, I've found evil-mode to truly be a better implementation of vi than vim itself, at least where it concerns me (as formerly a pretty advanced vim user and plugin developer, it took me some adapting to stop using all the ex vim idioms and the like.) It's faster to handle big files and execute macros, overall snappier and has a profoundly better %s///g with real time preview. I…

Would you say that emacs (with evil-mode) is significantly better than vim using ScreenShell or slimv, for clojure development?

Re: Remove Ex-Mode from Neovim

#103

Earlier quoted context omitted.

- It is a fork of Vim. - It is omitting some features. - It is adding a number of high level features. - It will not be fully backwards compatible. Prefixing 'new' to the name of the forked project is as lazy as it can get [1]. 'Neo' is one step from that. Vim itself wouldn't be a good name if it was just meaning "Vi iMproved", but 'Vim' is also a dictionary word meaning "energy; enthusiasm". A positive dictionary wo…

Vim wasn't backwards compatible with vi. And your reasoning lacks a logical basis, with all points being subjective.

> Vim wasn't backwards compatible with vi.

Yes, but, it tried to be with the 'compatible' option: http://vimdoc.sourceforge.net/htmldoc/options.html#'compatib... (Not to say it fully succeeded.)

> And your reasoning lacks a logical basis, with all points being subjective.

If by points you mean my list at the top, those are facts. Past the list, everything else is subjective, yes. Liking and disliking a name is a subjective matter. Whether a name is 'appropriate' is very subjective. Should I have made a disclaimer that it was my opinion?

Re: Remove Ex-Mode from Neovim

#104
post #71

Earlier quoted context omitted.

I use for this. It's very gratifying, mashing the spacebar to repeat a macro.

using space for the leader is one thing that I absolutely love... I was using , for it but space is so much easier and nicer to use. you are not limited to one finger to start the leader command so it makes both sides of the keyboard nice to use for leader chords. it only took about a week to retrain myself for it. here's the command... put it at the top of your vimrc before anything else so it works with your plugin…

I have mapleader set to ",", which has served me well.

I just realized I only use my left thumb with the spacebar, so the ambidextrous argument doesn't fly for me.

But I did realize space currently does nothing for me in normal mode. So I made it work like less/more, i.e., it pages the screen down:

nnoremap nnoremap

Re: Remove Ex-Mode from Neovim

#105

Earlier quoted context omitted.

using space for the leader is one thing that I absolutely love... I was using , for it but space is so much easier and nicer to use. you are not limited to one finger to start the leader command so it makes both sides of the keyboard nice to use for leader chords. it only took about a week to retrain myself for it. here's the command... put it at the top of your vimrc before anything else so it works with your plugin…

I have mapleader set to ",", which has served me well. I just realized I only use my left thumb with the spacebar, so the ambidextrous argument doesn't fly for me. But I did realize space currently does nothing for me in normal mode. So I made it work like less/more, i.e., it pages the screen down: nnoremap nnoremap

Should just be:

nnoremap

The shift-space doesn't work.

Re: Remove Ex-Mode from Neovim

#106
post #55

Earlier quoted context omitted.

I'll tell you the dinky stupid reason why I started using vim over nano: I like my shells to have white backgrounds. I don't know why, but it's just restful to my eyes. Nano's default syntax highlighting on bash scripts is to highlight strings in bright yellow, which on a black backdrop makes sense, but on white is impossible to read. It took years of working with shell scripts, and a familiar litany of "I'll just lo…

"The thing is, they could probably have won me over a million years earlier by starting me off at insert mode on the first line!" I wouldn't like "open in insert mode" at all - if I'm opening an existing file, I probably want to edit it, not just add text (especially not at the beginning) - which means the first thing I'm probably wanting to do is navigate, which is much easier done in command mode. When opening a ne…

"evim" (easy Vim) is normally installed wherever vim is, and opens in insert mode by default.

Re: Remove Ex-Mode from Neovim

#107

Earlier quoted context omitted.

They're not removing command line mode , they're removing interactive Ex-mode[1]. Batch ex-mode from the command line (nvim -e) stays. From the research the team has done, most users 1) don't even know about it, 2) are annoyed when it is triggered by accident, and 3) when they do know about it, just remap it. And yes, there are a few users of ex-mode out there. A huge part of good design is being able to make good (a…

Sorry meant to up vote but hit the down arrow. Hope someone else compensates for my mistake and I'll delete this comment.

[deleted]

Re: Remove Ex-Mode from Neovim

#108
post #98

Earlier quoted context omitted.

using space for the leader is one thing that I absolutely love... I was using , for it but space is so much easier and nicer to use. you are not limited to one finger to start the leader command so it makes both sides of the keyboard nice to use for leader chords. it only took about a week to retrain myself for it. here's the command... put it at the top of your vimrc before anything else so it works with your plugin…

Hm, this is actually a really neat idea. I'm going to try this!

It was painful for a few days but after that I can't imagine going back to , especially since that is actually a useful default binding.

Re: Remove Ex-Mode from Neovim

#109

Earlier quoted context omitted.

Well, rant and occasional surprise aside, I've found evil-mode to truly be a better implementation of vi than vim itself, at least where it concerns me (as formerly a pretty advanced vim user and plugin developer, it took me some adapting to stop using all the ex vim idioms and the like.) It's faster to handle big files and execute macros, overall snappier and has a profoundly better %s///g with real time preview. I…

Would you say that emacs (with evil-mode) is significantly better than vim using ScreenShell or slimv, for clojure development?

I really didn't try Clojure on Vim, at the time Emacs seemed unambiguously like the authoritative option and it did serve as an excuse for me to jump into Emacs. For Clojure though, I find that Paredit tremendously reduces my need of vim motions. But evil-mode is great for all my prose editing needs (along with org-mode) and I do find it more robust than Vim at all the fundamental vi functionality.

Re: Remove Ex-Mode from Neovim

#110

Earlier quoted context omitted.

using space for the leader is one thing that I absolutely love... I was using , for it but space is so much easier and nicer to use. you are not limited to one finger to start the leader command so it makes both sides of the keyboard nice to use for leader chords. it only took about a week to retrain myself for it. here's the command... put it at the top of your vimrc before anything else so it works with your plugin…

I have mapleader set to ",", which has served me well. I just realized I only use my left thumb with the spacebar, so the ambidextrous argument doesn't fly for me. But I did realize space currently does nothing for me in normal mode. So I made it work like less/more, i.e., it pages the screen down: nnoremap nnoremap

even if you only use your left thumb to hit space it's still faster than using , for your leader as the thumb really only hits the space key, command(if you are on a mac)/alt(windows) and maybe option/alt if you are on a mac. and it's natural to use the left keys after hitting space. whereas using any key on the right side of the keyboard after a leader press is awkward and slower because the , key is pressed with your middle finger. it's also a smaller target so it's harder to hit.
Post reply on HN