3 ms·
Moving blocks of text in NEdit is its best feature. Try doing the same in vim. That is an exercise in frustration. I first learned NEdit at Fermi where it was
by jeffbee 5y ago
Moving blocks of text in NEdit is its best feature. Try doing the same in vim. That is an exercise in frustration.
I first learned NEdit at Fermi where it was developed. Been using it for 28 years now. Carrying a dependency on Motif for all that time has been sort of a drag, though.
- kragen 5y agoIn Vim? If I'm at the end of the block it's v?foo^Md/bar^Mp, which takes about a second. Emacs is similar, ^Rfoo^X^X^W^Sbar^M^Y, 10 keystrokes instead of 8, not counting the isearch strings, and more awkward chording in exchange for being less modal. Either is significantly faster than pointing at the block with the mouse, especially if part of it goes off the screen. Vim is the opposite extreme from being an exercise in frustration.
- kevin_thibedeau 5y agoNedit lets you use the X secondary selection to do dual block operations.
- jeffbee 5y ago> v?foo^Md/bar^Mp ... the opposite extreme from being an exercise in frustration. Master class in Unix user interface design right there.
- kragen 5y agoYou can't do that in vi. Vim is from the Amiga, not Unix. In vi you have to say d?foo^M/bar^Mp, and though that's less keystrokes, it's harder because you don't have the continuous feedback of v mode or incremental search. Isearch isn't from Unix either; it's from ITS Emacs and wasn't in vim. It was Jef Raskin who did the research to justify centering it as a navigational method by quantitatively demonstrating its superiority to the mouse. Of course if you don't have Vim in your brain none of this text will make any sense to you; it's almost like reading a list of (x,y) coordinates if mouse clicks. So you won't have any idea about the UI feedback I'm talking about, and you're likely to make clueless sarcastic comments like the one I'm responding to. But you can easily remedy that ignorance by running Vim or Emacs on an appropriate file and typing the recommended keystroke sequences.