16 ms·
Vim clutch
- samet 14y agoCongrats. I've been thinking for a while to make a clutch for switching hosts file. (I need to switch from testing to production environments for a while) But your idea is much better.
- anthonyb 14y agoInteresting, but you might get better mileage out of a teensy arduino (http://www.pjrc.com/teensy/ http://www.pjrc.com/teensy/) a tin, and some proper foot switches.
- bockris 14y agoOr a MakeyMakey (http://www.makeymakey.com/ http://www.makeymakey.com/) and go barefoot.
- dkersten 14y agoMy brother made a foot switch using a piece of wood and a sanwa arcade button. I have a couple of teensy boards here, if I get time I may just make one. This can be used to easily control the keyboard: http://www.pjrc.com/teensy/td_keyboard.html http://www.pjrc.com/teensy/td_keyboard.html
- exDM69 14y agoHaha :D I have actually had the same exact idea. I'm a very keyboard oriented user and I have a wide variety of gaming controllers (including 2 sets of different kinds of pedals for aviation and racing). So I've been thinking about doing a foot operated PC controller, but someone beat me to it. I'm pretty happy by having my caps lock key mapped to escape, though.
- xlevus 14y agoTime to reprogram my Kinesis' footswitch! ... If I can remember how
- deleted 14y ago[deleted]
- pooriaazimi 14y agoVery nice. But why put something like this on GitHub?!!
- exDM69 14y agoIf you're a coder you probably already have a GitHub account maybe not a web host.
- why-el 14y agoI myself am thinking of hosting all my school files next semester in Github. Its free, and fast, and, well, Git.
- jonsterling 14y agoI did this for a while, highly recommended.
- anusinha 14y agogit/GitHub are not for code. They are for version control. Most common applications of git are in software (since things like MS Word et al. have their own implementation of revision history within the software package), but it's not limited to such. Suppose he comes up with a better way to build the device. It would be good practice to have all versions available, something that isn't as easy to do with a website. Additionally, his target audience is people who use vim, which probably has a reasonably large overlap with git/GitHub users.
- mrinterweb 14y agoI hope that it does not become a trend to create repositories for every blog post. Github is not a personal blog, and I don't think it should be used as such.
- mrinterweb 14y agoI hope that it does not become a trend to create repositories for every blog post. Github is not a personal blog, and I don't think it should be used as such.
- 14y ago
- Mamady 14y agoSome ideas are smart. Others are GENIUS. This is the latter.
- dakimov 14y agoWow, that's some really badass text editing skills — with a pedal. I imagine one with a piano keyboard with Vim macros attached to each key. That would be dynamic!
- deleted 14y ago[deleted]
- quarterto 14y agoReminds me of the shoot/cover pedal on Time Crisis arcade machines.
- dfischer 14y agoI don't understand this. I can't see how this is faster than simply hitting `i`.
- DannoHung 14y agoI dunno, but a foot pedal to hit C-[ would be nice.
- methodin 14y agoBecause you don't have to hit escape or jj to exit out. You just let your foot off the pedal. No chance of accidentally being in edit mode or not.
- larsu 14y agoI doubt that foot / finger coordination is good enough to get the timing right without losing some keystrokes.
- christiangenco 14y agoI mean, initially, sure. But if any of us spent a day with this I doubt it would be anything less than second nature. Brains are incredibly elastic.
- ema 14y agoThen it is a good way to train your foot / finger coordination.
- entropy_ 14y agoAs a drummer, I'd say you'd be surprised how fast people learn to sync feet with hands. It's really quite easy with a little practice.
- berkut 14y agoYou can use Ctrl + [ instead which is easier...
- deleted 14y ago[deleted]
- drunkenfly 14y agoWe discussed that yesterday at work, but decided that it will be more useful in Emacs than in Vim. :)
- SkyMarshal 14y agoHow would you use it with Emacs?
- drunkenfly 14y agoThis one is not quite useful as it works like on/off trigger, but the one, which can be used as a direct replacement of Ctrl-X or Meta-X will be quite useful. (I am actually Vim user, so I had to ask my Emacs guys on what will be useful with the pedal)
- SkyMarshal 14y agoSame, that's why I asked. I know Emacs has various 'modes', like haskell-mode, org-mode, SLIME, etc., but I don't how or if a footpedal would make sense for that. I don't think Emacs users switch between those modes as frequently as Vim users switch between our main modes.
- nhebb 14y agoProgrammable foot pedals have been around for a while now [1]. Some are surprisingly expensive, though, and this option looks cheaper. https://www.google.com/search?q=programming+foot+pedal https://www.google.com/search?q=programming+foot+pedal
- DrinkWater 14y agoFucking brilliant! I am going to grab me a broken sewing machine...and vim will never be the same again !
- BostX 14y agoI thought about that already and realized a keyboard pedal is not enough. The whole concept of nowadays Human-Computer interface must be rethought. https://mail.google.com/mail/help/promos/tap/index.html https://mail.google.com/mail/help/promos/tap/index.html
- tomlu 14y agoThe escape bit would work great, but there are so many other ways to enter insert mode apart from i that I'm not sure how useful it would wind up being.
- papsosouid 14y agoThat's what I was thinking as well. I really don't enter insert mode using i very often at all. Fun project, but I don't think it would actually be productive to use.
- grayrest 14y ago> Has anyone thought of this before? The 1992 paper "The Prevention of Mode Errors Through Sensory Feedback" [1] uses this exact mechanism. [1] http://research.microsoft.com/en-us/um/people/asellen/publications/sellen-kurtenbach-buxton-1992.pdf http://research.microsoft.com/en-us/um/people/asellen/public... I've argued for years that vim is one of the few good examples of modal design since it allows for quick entry of the command grammar without modifiers and the command grammar is an excellent fit for the domain. Whenever I bring this up with an interaction designer, I'm told there is no such thing as a good mode. The citation chain has always wound up at this paper and while I generally agree with the paper's conclusion, I'm frustrated that the editor is used in the most inspid way possible to generate mode errors (at the rate of 3-6 in 10 minutes of editing...). The problem given in the paper is solved by `:%s/\<[A-Z]\+\>\zs/errorerror/g` and I could probably do it a half dozen other ways. Every time I read the paper I tell myself I should make/acquire a pedal and try it out but I've always been too lazy.
- goblin89 14y agoVIM clutch does not seem to prevent mode errors, though. For that pedals need to have feedback. I.e., if one hits 'a' out of habit or accidentally, stepping consequently on the insert pedal would predictably enter 'i' character. That would be avoided if the pedal changed to pressed state depending on mode. That said, for me as a pianist the idea of mode pedal looks pretty awesome. It just needs to be developed a bit further.
- grayrest 14y agoJust need to make sure pedal down is idempotent. Having the pedal send something like Shift+F2 and then `nmap <s-F2> i` `imap <s-F2> <Nop>` takes care of that. Escape is always idempotent so no issues there.
- aidenn0 14y agoIf you are appending to the end of the line <esc>i will move you left one character.
- 14y ago
- mpapi 14y agoGlad to see other people experimenting with this kind of setup. I've known a few people to use one of these [1] for Emacs (for Ctrl & Meta), and I finally picked one up a while back. My setup has one pedal bound to Escape for Vim, and the other two switchable using F keys and some xbindkeys magic. By default, they're "switch WM workspace" (sort of like Alt-Tab) and "switch window focus within a workspace" in Awesome WM, but I can change them to e.g. j and k for reading my email, or have them run various scripts, or whatever. It's a lot of fun to use, but I haven't been on it much lately having switched to a standing desk and I haven't yet figured out a way to make the two play together nicely. And, as always, I've been meaning to throw the scripts & dotfiles on GitHub, but I'm a slacker. [1] http://www.kinesis-ergo.com/fs-savant-elite.htm http://www.kinesis-ergo.com/fs-savant-elite.htm
- RockyMcNuts 14y agoMore evidence emacs is more advanced than vi - we emacs users have been thinking we need foot pedals for years! http://emacswiki.org/emacs/FootSwitches http://emacswiki.org/emacs/FootSwitches http://shorttalk-emacs.sourceforge.net/ShortStep/index.html http://shorttalk-emacs.sourceforge.net/ShortStep/index.html
- hetman 14y agoOr the suffering that lead to the innovation was just that much greater ;)
- mmahemoff 14y agoIf OP puts it on Kickstarter (no pun intended), I'll be your first pledge. Would really want pedal-up event too and customisable for other apps (ie you can switch the key mapping). If pedal-up worked, it would be neat to be inserting only while the pedal is depressed.
- CrazedGeek 14y agoAnother option would be to break apart a wired Rock Band drum kit so it's just the center controller and the drum pad the USB cable comes out of, connect that to a computer and use Joy2Key (or an equivalent) to map the bass pedal to Esc/i. Not nearly as nice, mind you, but if you're sitting on a half-broken kit like I am, it is cheaper.
- sbmassey 14y agoPish-posh. What if you wanted to go into insert mode with an 'a' or an 'o' rather than an 'i'? It needs more pedals.
- michaelmartin 14y agoHe has plans for this already: https://github.com/alevchuk/vim-clutch#extras https://github.com/alevchuk/vim-clutch#extras
- leif 14y agoNot enough. "I don't use always use vim, but when I do" I enter insert mode in all kinds of ways that are mostly never just i. Usually c and a movement. I'd rather just have one switch that did esc when I hit it.
- hetman 14y agoThere's so many ways to get into insert mode in VIM he's going to need pedals from a church organ to make this work.
- JonnieCache 14y agoI've been planning to stick an MSP430 inside an old guitar pedal unit for window switching duties. The pedal I have has four switches, I was thinking one for the editor, one for the terminal, one for the browser and one perhaps for firebug or something. However, maybe these car style pedals would be more ergonomically suited than the little metal studs of guitar pedals, which are designed to be aggressively stamped on. Thoughts?
- JohnQPasserby 14y agoThis is just about the raddest thing I have ever heard.
- hetman 14y agoI think car pedals are overkill, their travel is too long because they're used to input an analogue range and not just an on/off signal.
- lparry 14y agoThis is a pretty neat hack! Not sure that my feet could actually respond as quickly and accurately as my fingers but it'd be fun to try
- samet 14y agoWhy isn't there a clutch for computer games (except car driving games)? A clutch can be used for mod switching; such as running mode, stealth mode or reloading guns.
- Jach 14y agoTurns out if you have a button to do the same thing, once the user enters immersion the actual control becomes less important. Where alternate hardware is useful is for more analog controls that a joystick/mouse can't easily simulate.
- ConstantineXVI 14y agoThumbsticks typically[^] have a button in the base, they're often used for this since one doesn't need to move off the stick to use it. [^] Nintendo is a holdout here, though the WiiU apparently has the buttons.
- magoon 14y agoThis is brilliant! I only use i part of the time, however; I, a, A, o, and O are each used substantially.
- alinajaf 14y agoThought this myself... BUT it could work with three pedals (i, a and o) with the shift key. Brilliant idea though, I would pay up to $50 for one of these.
- hetman 14y agoYou may also want to "c" into insert mode ("cib", "ct:", etc...). I seldom have a problem with this since I usually don't hang around in insert mode anyway (if I'm using gVim the cursor also lets me know). The one I do have a massive problem with is capslock. So many times I'll go back to normal mode and there's a few moments of disorientation before I realise all my commands are being capitalised. Ugh.
- thechut 14y agoI expect we will start seeing lots of interaction pedals like people are mentioning when the MakeyMakey's[1] from Kickstarter start shipping. 1: http://www.makeymakey.com/ http://www.makeymakey.com/
- sneak 14y agoWow, I literally had this idea just yesterday. Another idea: repurposing a midi faderbank that supports automation (servos) to display data from snmp/statsd/graphite. I was inspired because my midi keyboard has a pedal switch input...
- compay 14y agoVery cool. I'd be a little afraid to get addicted and not be able to edit effectively away from my pedal though.
- sneak 14y agoThis is the precise reason I didn't hack up an interface for my midi pedal yesterday when I had this idea myself.
- ta12121 14y agoAs an amateur musician, I think he should have gone all the way: https://en.wikipedia.org/wiki/Pedal_keyboard https://en.wikipedia.org/wiki/Pedal_keyboard
- christiangenco 14y agoExcellent! Foot/extremities-that-aren't-finger controllers are a space that is ripe for innovation. Similar ideas came up quite a few times in the recent MaKey MaKey design competition: http://www.makeymakey.com/forums/index.php?topic=211.msg310#msg310 http://www.makeymakey.com/forums/index.php?topic=211.msg310#... http://www.makeymakey.com/forums/index.php?topic=53.msg65#msg65 http://www.makeymakey.com/forums/index.php?topic=53.msg65#ms... http://www.makeymakey.com/forums/index.php?topic=285.msg412#msg412 http://www.makeymakey.com/forums/index.php?topic=285.msg412#... http://www.makeymakey.com/forums/index.php?topic=180.msg250#msg250 http://www.makeymakey.com/forums/index.php?topic=180.msg250#... http://www.makeymakey.com/forums/index.php?topic=292.msg441#msg441 http://www.makeymakey.com/forums/index.php?topic=292.msg441#... http://www.makeymakey.com/forums/index.php?topic=173.msg239#msg239 http://www.makeymakey.com/forums/index.php?topic=173.msg239#... http://www.makeymakey.com/forums/index.php?topic=338.msg568#msg568 http://www.makeymakey.com/forums/index.php?topic=338.msg568#... http://www.makeymakey.com/forums/index.php?topic=346.msg576#msg576 http://www.makeymakey.com/forums/index.php?topic=346.msg576#...
- CodeCube 14y agoOk, what other extremities-that-aren't-fingers|foot were you referring to? ;-)
- sp332 14y agoIn 1992 research was done that proved that modes can be made less confusing with feedback. Visual feedback is more easily ignored than audio feedback, but the best is kinesthetic, or physical feedback. Jef Raskin championed the use of "quasimodes", which are modes that are consciously maintained by the user. https://en.wikipedia.org/wiki/Mode_%28computer_interface%29#Quasimodes https://en.wikipedia.org/wiki/Mode_%28computer_interface%29#...
- duopixel 14y agoJef Raskin championed this style of interface where you only enter modes while performing an action, he called them quasimodes: http://en.wikipedia.org/wiki/Mode_(computer_interface)#Quasimodes http://en.wikipedia.org/wiki/Mode_(computer_interface)#Quasi... He never mentioned pedals though, it's a really clever approach.
- pottereric 14y agoI love this. I've felt for awhile that as an industry we should experiment with specialized forms of IO for specific tasks. I've protoyped some devices for rating tracks in iTunes (http://vimeo.com/24298670 http://vimeo.com/24298670) and using a joystick to control move through code with a debugger. The keyboard, mouse, and touch screen are great for general purpose IO, but specific tasks can be preformed more efficiently with customized IO devices.
- aidos 14y agoInteresting idea, I wonder about using it for the Ctrl key instead. I switched to vim some time ago and that's the bit I find most clumsy, especially given the placement on a Mac. I've remapped caps lock to Ctrl, which helps.
- eieio 14y agoIf you use KeyRemap4MacBook[1] you can map caps lock to Ctrl, but also map just tapping caps lock to escape. Be warned, the only problem with this set up is that it's so good that you'll have trouble using another one; I disabled it when I got a thinkpad and starting doing about 50% of my development on my x220 instead. After that I changed to using ctrl-[ or ctrl-c in place of escape for most everything. [1] http://pqrs.org/macosx/keyremap4macbook/list.html.en http://pqrs.org/macosx/keyremap4macbook/list.html.en
- aidos 14y agoAh, ctrl-c for esc is a good idea.
- hetman 14y agoI use "jk" which works very well for me (fingers stay on the home row).
- eieio 14y agoOnly problem with ctrl-c is that it doesn't function exactly like escape(for example, if you're inserting text on multiple lines in visual block mode, ctrl-c will only insert the text on one line and cancel the command, whereas ctrl-[ or escape will properly insert the text). If that's a problem for you, you can rebind ctrl-c to actually work as escape. Either way, I find it quite comfortable.
- graywh 14y agoJust know that Ctrl-c is different from Escape. It skips InsertLeave autocmds and cancels the count (i.e., 3aX<C-c> appends 1 'X', but 3aX<Esc> appends 3).
- kamaal 14y agoI don't know how this would work out ergonomically. My dad is a cab driver and he often complains that pressing the clutch with his foot often giving him RSI kind of pain. But however I think this is purely subjective. From an experiment perspective, this is really cool! And this generally qualifies into what could one call a 'real hack'. This has a air of freshness to it. Now the real power of vim is in getting into a mode called 'extreme keyboarding'. I didn't realize this until I read Tom Christiansen's seminal essay "Zenclavier: Extreme Keyboarding"- http://oreilly.com/news/zenclavier_1299.html http://oreilly.com/news/zenclavier_1299.html This is to ultimately turn the keyboard into a Musical instrument, and then to become 'one with the keyboard'. Totally loosing any realization that you are actually typing. Read the essay carefully and try to understand how he tries to talk about 'moving in and out of zones'. I started learning vim a few days back, after I suffered from Emacs Pinky. When I started question I asked was, 'Why should I memorize so many commands'. The thing is I quickly realized that being proficient with vim, requires you to understand some things. You really have to understand the vim paradigm, without that straightly diving into vim wont be much productive. You have to learn h,j,k,l are not just navigational keys but also can be combined with multipliers like 20h(Moves 20 positions to the left). You basically speak a 'Editor programming language'. You program editor with a stream of characters. Like for example you my say 'copy this line, move up 20 positions and paste it'. This will be yy(copy current line) 20k(Move up 20 positions) p(paste it there). So you have to basically learn these things in detail. You can use position stuff for things as well. Like for example 'd' specifies 'cut from here' and 'y' specifies 'yank/copy from here', but to where? the next character specifies that for example '$' specifies the end of a line. You can also do something like 'y2/foo' this means 'yank from here till foo'. You will have to learn regular expressions, touch typing, and many other text processing stuff. Basically you learn a terse programming language which is written as a stream of characters with data on the editor as a input. Recently a colleague of mine introduced me to a editor command called ': perldo' you can do perl oneliner on the editor line by line. The only thing is I couldn't find a book so far in my early days of vim, which completely teaches the 'zen of vim' completely in the paradigm, in which one needs to understand it. So vim is really about these things, I don't how far the pedal/clutch experiments gel with this concept. You may need a totally different editor paradigm to work with this setup. In the meanwhile, if someone knows of a book that talks of vim in the way its supposed to be explained please recommend. All I could find on the net was cheat sheets, books that teach a commands in bulk.
- dclowd9901 14y agoI love how the "excellent" VIM editor would benefit immensely from a hardware peripheral. Definitely a neat hacky idea (so by its nature, me gusta), but VIM is a silly, silly editor for real world purposes.
- dkersten 14y agoVIM is a silly, silly editor for real world purposes Why do you think that? Vim is perfectly fine for real world purposes - I use it for real world purposes all the time, as do a lot of other people. Not only do the basic vi commands make my life easier (My mantra is if I have to press the same key more than three times, then I'm doing it wrong - you quickly learn to navigate by words, brackets, lines, search and judge how many of these away you want to move - eg instead of wwwww to move forward five words you can do 5w, to turn "abcde_" into "_abcdeabcdeabcde" you can do 5x3p - silly examples I know, but this makes it very fast an efficient to navigate and edit text), but with vims additional features and with a small handful of plugins there is nothing that a GUI IDE can do that vim can't.
- Schlaefer 14y agoYou can probably use an unmodified pedal if you implement the logic with ControllerMate (Mac only) [1]. Works here (misusing the F8 key) [2]. --- [1] http://www.orderedbytes.com/controllermate/ http://www.orderedbytes.com/controllermate/ [2] http://imgur.com/AUZsA.png http://imgur.com/AUZsA.png
- ajtaylor 14y agoI hadn't though of using Github as a straight web server before. Will consider it for future projects.
- swah 14y agoI thought Vim was better than Emacs because it didn't require stuff like this :)
- sparknlaunch 14y agoTop marks for utilising feet for inputting. We have grown lazy with smartphones almost limiting our interaction to a shake of the wrist. Could a neck collar or head band be developed to perform similar tasks? Eg you move your head left or right to navigate web sites.
- jlongster 14y agoThis would actually help Emacs more than vim since you need to hold down the modifier keys while typing commands, where in vim you don't. Several people have done things like this for Emacs but I've lost the links to any info about it.
- makmanalp 14y agoMy advisor in college used to joke that lispers would get foot pedals for their boxes to use as paren keys :)
- juan_juarez 14y agoWas it a joke? I seem to remember hearing a similar thing about Lisp Machines actually having foot pedals for parens.
- makmanalp 14y agoI'm actually not sure! I'll have to ask her.
- stcredzero 14y agoA housemate of mine had a coworker who made footpedals for his Emacs modifier keys.
- tyler_ball 14y agoI did this a few months ago: imap kj <esc> I have never had to type a word with the letter combination 'kj' in it. Works great.
- cdpc 14y agoUntil you use kj as a variable for KillJoy
- jlgreco 14y agoPreventing me from doing that might actually be considered a feature. ;)
- dllthomas 14y agoThat's going to suck when you get lockjaw playing blackjack in Reykjavik. But other than that, you seem pretty safe.
- tyler_ball 14y agoThere goes my plan for my Icelandic-themed casino site.
- mnazim 14y agoOnce you used to it the feet will have Vim muscle memory, I wonder how it would effect one's driving especially with the manual gear shifts cars (pun intended :) )
- kgen 14y agoI wonder if this would work better as a temporary mode (like how a real clutch works). For example, you stay in insert mode until you press the pedal, which escapes you to command mode, and then restoring insert mode after you depress the pedal?
- cheatercheater 14y agoA lot of people here complain of RSI and comment how the pedal helps solve that. I tried solving this by creating a keyboard layout especially for vim: https://bitbucket.org/cheater/us_split https://bitbucket.org/cheater/us_split. It's just like us qwerty, just more ergonomic.
- robomartin 14y agoI'll be the one voicing a contrarian opinion here. vi and vim are holdbacks from the days of 300 to 9600 BAUD modems. A time when more sophisticated interfaces were prohibitive. Back in those days it wasn't too uncommon for people to actually write their own text editors. I wrote a few, mainly in Forth, as I would bring-up self-designed systems. While I use VIM today when I have to I continue to think that in today's context these things are, well, ridiculous. There is no reason that the terminal can't switch modes on you and allow text editing with the same (or very similar) UI that traditional simple GUI editors provide. The damn text box I am using in this browser to enter this comment is far more user-friendly than VIM. There is no reason for a modern terminal to continue to support something like VIM. Put another way, I had editors running on 6502-based 2MHz clock (yes, 2 MEGA Hertz, not Giga) Forth machines that were far more user friendly than VIM or VI. We ought to have better tools today. In my opinion, there is no compelling reason to continue to promote something like VIM. Put a bullet in it already. As for the hack. Lots of fun. But, geez, how fucked-up is an text editor that you have to come-up with a foot-switch to make it more usable?
- r00k 14y agoThe damn text box I am using in this browser to enter this comment is far more user-friendly than VIM. To the average user, sure; the text box is more friendly. But that's not the point with vim. At all. Vim's design goals are speed and efficiency. To date, non-modal editors haven't come anywhere near vim in that regard.
- devth 14y agoI think you're missing the point that many developers choose vim over "modern" editors because of its highly efficient text-editing capabilities. The same points could be made about emacs. As to "user friendly" - depends on who the user is. Yes, this text box is infinitely more user friendly than vim when your mom is using it. That a foot-pedal might make vim more usable has nothing to do with vim being outdated or unusable. Is your operating system broken / outdated because one might find a food pedal driving "alt-tab" more usable or fun?
- robomartin 14y ago
- hollowonepl 14y agoThis thing is abstract, beyond my definition of geeky, quite hilarious by the way!
- deleted 14y ago[deleted]
- deleted 14y ago[deleted]
- 10098 14y agoShut up and take my money!!
- hq1 14y agoI use vim, still we should give the credit where credit is due (or at least mention it) - http://www.cb1.com/~john/computing/emacs/handsfree/pedals.html http://www.cb1.com/~john/computing/emacs/handsfree/pedals.ht...
- juokaz 14y agoJust did one myself using a X-keys pedal (http://www.piengineering.com/xkeys/xkfoot.php http://www.piengineering.com/xkeys/xkfoot.php) - https://twitter.com/juokaz/status/215915867895119872 https://twitter.com/juokaz/status/215915867895119872 Works brilliantly. Main pedal to go to insert mode, left one to save the file and right one to switch tabs.
- 2muchcoffeeman 14y agoI love vim topics. I always read at least one thing I never knew was possible or would have even thought of doing.
- kentbrew 14y agoMade one of these to enter and exit strafe mode in Quake, way back before decent mice were commonly available. It worked fine; I put it away when I got my first Razor Boomslang.
- kapranoff 14y agoOne thing that jumped into my mind when I was thinking about using pedals at the computer is a pedal to switch the current shell into «su-mode». So that commands will be run as root while I'm holding the pedal. Sadly, I don't think it will be trivial to implement.
- suapapa 14y agoI made my own vim-cluth which use which use an Arduino as USB-HID. It use only one usb slot for three fedals. Picture : https://plus.google.com/118040095502884745897/posts/FwN5FEfN66T https://plus.google.com/118040095502884745897/posts/FwN5FEfN... Source : https://github.com/suapapa/arduino_sketch_balcon123 https://github.com/suapapa/arduino_sketch_balcon123