3 ms·
A step up from ed but a step below vim is nvi. I've always preferred nvi over vim because: 1) there's no lag when I scroll up or down through a file line-by-l
by watchdogtimer 11y ago
A step up from ed but a step below vim is nvi.
I've always preferred nvi over vim because:
1) there's no lag when I scroll up or down through a file line-by-line,
2) it shows a list of matching files by default when using tab completion in command mode (same as bash), vs picking the first matching filename, and
3) it uses fewer resources when you screw up (http://galexander.org/vim_sucks.html http://galexander.org/vim_sucks.html)
I used to think that the lack of syntax highlighting was its biggest weakness, but now that's apparently a virtue :-) .
- majewsky 11y agoRe 2) set wildmode=list:longest EDIT: Re 3), there's something weird going on. I just tried the benchmark from the article that you linked ("1000000aaeou<ESC>"), and it really did not complete in a useful timeframe. However, when I insert the text once, yank it, then paste it with repeat ("iaeou<ESC>^y4l1000000p"), the operation completes instantly, and I can still browse the file without any slowdown. Undo/redo across this operation seems to take some seconds, though.
- watchdogtimer 11y agoThanks for the list hint!