News for hackers. Stuff that matters.
Re:Latency matters by aidenn0 on Sunday August 20, 2017 @04:49PM (#15060191)
Having used vi over low-speed serial links means that I can handle latency just fine. Also hjkl were noticably faster because they sent fewer characters over the lines compared to arrow keys which used escape codes...
Re:Latency matters by watchdogtimer on Sunday August 20, 2017 @09:45PM (#15061354)
Funny, I've noticed just the opposite using vim on a desktop or laptop--and its always driven me nuts.

If I'm editing a file and type several repeating j or l commands (e.g., 'jjjjj' in command mode), there is noticeable latency between the last movement command and the last cursor movement.

I get no latency, however, when performing the same commands using the right or down arrow keys.

The 'h' or 'k' commands have no latency, either, just 'j' and 'l'.

I've been using vim for years and still find it frustrating. I haven't noticed the same problem with other vi clones (e.g., nvi or elvis).

Re:Latency matters by aoeusnth1 on Sunday August 20, 2017 @11:29PM (#15061717)
I don't notice any difference with Spacemacs' evil-mode (a vim mode)
Re:Latency matters by dkersten on Monday August 21, 2017 @05:40AM (#15063202)
I know this isn't what you're responding to, but... I do notice the difference between vim (or neovim) and spacemacs -- spacemacs is noticeably slower. I do still use spacemacs more than vim now, though, because its Clojure integration is better.

(aside-rant: evil-mode is also not really a substitute for vim -- when you say you're a vim user, people often ask "why not just use the vim emulation in editor-X?" and the reason is because vim emulation has never, in my experience, been as good an experience as vim, things always work subtly differently)

Re:Latency matters by aidenn0 on Monday August 21, 2017 @12:13PM (#15065580)
Having used vi for 25 years and vim for 20 years, I'm going to say that evil-mode is the first vim-emulation editor mode that was close enough for me.

I think there were two or three things that weren't right for me out-of-the-box, but 15 minutes and 30 lines of elisp later it was fixed. I really need to maintain a fork or something that is as much like vim as possible, but with options for enabling specific emacs features, because everyone has some things that emacs does that they like better than how vim does it.

My personal example: s/foo/bar/g on a line containing "foo Foo" becomes "bar Bar" by default in emacs, which I find to be amazing, but is definitely not how vim works.

Re:Latency matters by dkersten on Tuesday August 22, 2017 @04:32AM (#15070611)
Yeah, its minor differences, but they add up. Maybe its time I learned a little elisp and fixed it for myself, I really like spacemacs aside from the (minor) annoyances caused by not being vim.
Re:Latency matters by michaelmrose on Monday August 21, 2017 @03:34AM (#15062625)
What OS?
Re:Latency matters by watchdogtimer on Monday August 21, 2017 @06:21AM (#15063395)
I've experienced this on every version of Debian or Ubuntu I can recall using.
Re:Latency matters by michaelmrose on Monday August 21, 2017 @12:44PM (#15065811)
Do you experience the same thing with a blank config?
Re:Latency matters by chr1 on Monday August 21, 2017 @03:59PM (#15067353)
do you have a mapping of jl to esc?