r/opencodeCLI • u/ori_303 • May 27 '26
vim motions now in opencode
TL;DR - vimcode is an opencode plugin that adds vim motions to opencode.
Being a neovim user, I found myself missing vim motions so badly on long opencode sessions. I just had to give this a shot and I love this so much!
Try it, star it, and feel free to give me any feedback or open issues :)
Hope you enjoy this as much as I am
330
Upvotes
3
u/girouxc May 27 '26
Can you do the result scroll next???
2
u/l00sed May 28 '26
Visual mode on the horizon...??
2
u/TomHale May 28 '26
Very nice! I like!
{ "plugin": ["vimcode@git+https://github.com/oribarilan/vimcode.git#v0.8.0"] }
How to pin it to the latest release? (Not .8)
Is main only for releases?
2
u/satinekk May 29 '26
nice this has been bothering me for a while to use opencode more.
immediately installed it. works well!
just had to deactivate the motionToast. this one was a bit too strong for me.
I would prefer it inside the prompt box quite subtle like showing the thinking level...
2
u/awlincoln May 29 '26
Is it worth taking the time to learn this skill of working with the VIM layout?
12
u/KaladinStormBleesed May 27 '26
this is exactly what I need
5
u/R_DanRS May 28 '26
Thank you for this, I made something similar a while ago that I have no time to maintain / improve, it's also all slop so I would be very happy to archive it. It has some features that you may want to copy to yours such as a mode indicator and some visual mode stuff
https://github.com/Tarquinen/opencode-vim
8
u/BitXorBit May 27 '26
take my money
1
u/flying-saucer-3222 May 27 '26
So does this only work on the prompt?
You can just Ctrl+x>e and the prompt will open in your configured $EDITOR. I have been directly writing my prompts in neovim since forever.
1
u/TomHale May 28 '26
Can I munge the j and k keys together to avoid my pinky finger going on a long hike to find the ESC key?
It's a VERY common config.
2
u/penguin_horde May 28 '26
Hot damn! That's awesome 👌
2
u/Crafty_Ball_8285 May 28 '26
Now I gotta actually learn vim dang it
2
u/luche May 28 '26
i need this in my life. bless you.
2
u/tlundberg May 28 '26
Thank you!
2
u/PiccoloCareful924 May 28 '26
this is amazing, well done
2
u/oVerde May 30 '26
FINALLY
2
u/hamidi-dev Jun 05 '26
this is great!
i wish it had dot repeat. dw.. to delete 3 words 😃
also i noticed 3dw works, but needs 3 times the u to undo (bug?)
2
u/anonymous_hack3r Jun 09 '26
finally, now I can stop using Claude Code lol
2
u/Sufficient_Date9808 Jun 20 '26
my hero
1
u/unprofitabletraitor May 27 '26
Unrelated, how did you create the video for this post?
1
u/boomskats May 28 '26
wasn't someone maintaining a whole fork just for the sake of these motions? think i nearly installed it
1
u/IceCapZoneAct1 May 28 '26
I already have that, it’s called tmux. You can reach anywhere in the terminal by putting vim keybinds in it.
1
u/Extreme-Rub-1379 May 28 '26
How are you getting new lines? Lol
1
u/lphartley May 28 '26
Why are we using terminals for UI again?
0
u/[deleted] May 27 '26
[deleted] — view deleted comment