Vim Clutch – A hardware pedal for improved text editing (2012)
101–110 of 171 posts
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#102Thought how great, for a split-second. But key for being 24/7 in front my computer with zero issues for decades is among other things—I move all the time, hence I need a keyboard which moves all the way with me and you can imagine that my feet are also moving their location and nobody wants to arrange all the foot paddles every time you move. And in these times in your home office it's great to put your feet up here…
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#103Is there a Vim speed editing contests? I'd love to watch one. And Vim vs Sublime Text too :)
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#104Thought how great, for a split-second. But key for being 24/7 in front my computer with zero issues for decades is among other things—I move all the time, hence I need a keyboard which moves all the way with me and you can imagine that my feet are also moving their location and nobody wants to arrange all the foot paddles every time you move. And in these times in your home office it's great to put your feet up here…
Combine the camera for a facial expression based input instead? Grimace to change modes?
edit: just thinking of piano players, maybe I am wrong but this thing feels odd
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#105Earlier quoted context omitted.
No joke, a piano style set of three footpedals with Meta, Ctrl, and Hyper, is something I would actually use. Tricky though, because it would have to talk to the keyboard, not the computer.
> Tricky though, because it would have to talk to the keyboard, not the computer. No it wouldn't. It works to press the modifier on one keyboard and the other keys on another keyboard. Source: I have a set of 3 footpedals that I have as Ctrl, Shift, and Meta.
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#106Earlier quoted context omitted.
I know the image post in your comment exaggerates the Emacs input sequence for humorous effect but I got curious and decided to count the actual keystrokes for a real world common use case. Say, we want to replace one string with another, e.g., "foo" with "bar" as it appears in your image post. So assuming that we need simple string replacement, not regex-based replacement, and also assuming that we have vanilla Vim,…
Or with a regular text editor: Shift+ctrl+ Way easier than either vim or emacs
I do '/ bar' on my emacs setup (Doom)
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#107Thank you for posting this and giving me a reason to reread my all time favorite greentext: https://i.imgur.com/WLzeQMj.png
I know the image post in your comment exaggerates the Emacs input sequence for humorous effect but I got curious and decided to count the actual keystrokes for a real world common use case. Say, we want to replace one string with another, e.g., "foo" with "bar" as it appears in your image post. So assuming that we need simple string replacement, not regex-based replacement, and also assuming that we have vanilla Vim,…
On Vim: +; (:) +5 (%) s/f../bar/g (16 key strokes)
On Emacs: ++, (M- bar +1 (!) (17 key strokes)
Although, the number of key strokes are close to each other for both Vim and Emacs, I am pretty sure most beginners would feel there is a slightly increased cognitive overhead involved in Emacs when compared to Vim. The Vim input sequence is just : to invoke the command line mode, followed by an ed-style substitute command. However, the Emacs input sequence is M-Also, there is evil-mode in Evil for those who really want the Vim-editing experience along with the power of extensibility that Emacs offers.
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#108This is cool and all, but nearly useless for any experienced vimmer. I almost never press `i` to enter insert mode, and I don't expect most vimmers to do so either. My most common ways to enter insert mode are, off the top of my head... o -- Open new line below current line, enter insert mode. O -- Open new line above current line, enter insert mode. ci( -- Delete all text between the nearest parenthesis and enter in…
To add to this ci works for all sorts of things like [ { There’s also di (delete in) and vi (visual select in) and probably a ton of others that I don’t know about. I’ll never know all of the wonderful ways to use vim
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#109This is cool and all, but nearly useless for any experienced vimmer. I almost never press `i` to enter insert mode, and I don't expect most vimmers to do so either. My most common ways to enter insert mode are, off the top of my head... o -- Open new line below current line, enter insert mode. O -- Open new line above current line, enter insert mode. ci( -- Delete all text between the nearest parenthesis and enter in…
ce - change to end of word (consecutive identifier chars or consecutive punctuation) cE - change to end of WORD (consecutive non-whitespace chars) Those are probably the most common for me because I tend to navigate by word/WORD in a line with w, b, W, B.
Re: Vim Clutch – A hardware pedal for improved text editing (2012)
#110Earlier quoted context omitted.
I know the image post in your comment exaggerates the Emacs input sequence for humorous effect but I got curious and decided to count the actual keystrokes for a real world common use case. Say, we want to replace one string with another, e.g., "foo" with "bar" as it appears in your image post. So assuming that we need simple string replacement, not regex-based replacement, and also assuming that we have vanilla Vim,…
Consider remapping ';' to ':' if you use vim a lot. Something like: " Use ; rather than : for commands nore ; : nore , ;