9 ms·
Sadly no Vim keybindings plugin ;)
by mercer 6y ago
Sadly no Vim keybindings plugin ;)
- rooam-dev 6y agoI heard vim supports Vim keybindings out of the box. I may be wrong, I use IdeaVim mostly.
- mercer 6y agoSadly no OrgMode though!
- SanchoPanda 6y agoSure it does! We just have to re-define "the box" to be apt install *
- bscphil 6y agoSeriously, though. I do like the simplicity and the overall approach, support for the mouse, and so on. I would use this. But I don't know if I can give up mode based editing... need to delete 3 lines? d3d. Search with /string. Get the next result with n. It's just so much faster than learning a million modifier keys. Maybe there's room for something in between this and Vim?
- fpoling 6y agoSomething like Amp [1] or Kakoune [2] ? As with vim they are modal, but one needs to press less keystrokes and they are more intuitive as they use object_letter -> action_letter, not action_letter -> object_letter model. [1] - https://amp.rs/ https://amp.rs/ [2] - https://github.com/mawww/kakoune https://github.com/mawww/kakoune
- jotaf 6y agoJust to play devil's advocate, these 3 examples don't seem much faster than Shift+(Del,Del,Del), Ctrl+F,string, and F3, respectively.
- danieldk 6y agoThey are easily reachable from the home row. Thus less finger/arm movement.
- jotaf 6y agoIt depends what you call the "home row" and where you keep your fingers. If you expect to use these shortcuts (typically with the outer fingers of your hands) your hands will rest at a slightly higher position in your keyboard, with the pinkies near Esc and Del, and the thumbs near the spacebar. (Other fingers over the letters.) I guess it depends on what you've trained yourself to do.
- mercer 6y agoI don't think I've seen anyone with their fingers stretched out or diagonal like that as a 'home row' position, though. It makes much more sense to 'default' to having your hands somewhat straight and on the keys you're likely to press more regularly (the (center) letter row).
- bregma 6y agokey chords, F-keys, waiting for windows to pop up, those are all extra things that take time and get in the way. My fingers need to stay near their home on the home row.
- mercer 6y agoYeah, I was joking, but honestly I'd love to use this as a nice out-of-the-box solution if it had Vim keybindings. I use Emacs with Vim keybindings on my dev machine, and VSCode for most coding, so I only really use 'proper' Vim on my servers. and I keep not finding the time to set things up properly there...
- mekster 6y ago> It's just so much faster than learning a million modifier keys. I'm a long time vim key bound app user but this just makes me chuckle as vim users have already gone through learning million keybindings before they can be fluent with its use... not to mention the weird defaults.
- zyedidia 6y agoDespite the sassy response in the FAQ about Vim keybindings, I am planning to implement Vim keybindings for micro in the next version, along with an improvement to the keybinding system in general. Stay tuned for 2.1.0 which I hope will include this feature.
- SanchoPanda 6y agoIf you don't mind me asking, why? It seems like vi or vim is already available everywhere and this confuses the differentiating factor a bit. edit: To avoid confusion, I am asking about the vim part only, not the keybindings part.
- zyedidia 6y agoMostly so that I can use Vim keybindings with micro :). Hopefully after improving the keybinding system, it will be fairly easy to implement a Vim plugin, so it shouldn't take much time. Of course, the Vim plugin will be optional and not provided by default, but I think it would be nice to have, and would make me more efficient with micro.
- SanchoPanda 6y agoCool! A built in keybinding with a place in the Alt-g keybindings strip for command-edit:vsplit ~/.config/micro/bindings.json or similair would be awesome as well.
- mercer 6y agoI use 'vanilla' vim on my servers, and I dislike the defaults enough that it bothers me, but not enough that I've ever gone through the effort of setting things up. Micro would be perfect in my situation, because I'd get something nice out of the box and still be able to use my vim bindings :).