Add Vim to your Bash prompt (video)

https://piped.video/watch?v=7IEfnUqjaSk

source code

31 points · 10 comments · view on lemmy.world

10 Comments

Ultra980@lemmy.world · 4 pts · 3y (3 replies)

laughs in fish

jbrains@sh.itjust.works · 1 pts · 3y (2 replies)

zsh-autosuggestion, for those not prepared to switch to fish.

Ultra980@lemmy.world · 1 pts · 3y (1 reply)

I've used that before, it's really not as good as fish.

lunicoDee@feddit.it · 1 pts · 3y

Fish is not fully POSIX compliant

fratermus@lemmy.sdf.org · 4 pts · 3y

set -o vi does 99% of what I need it to do

jbrains@sh.itjust.works · 3 pts · 3y

Edit-and-execute/fc. If you don't know them, spend an hour to read about them.

toomanyjoints69@lemmygrad.ml · 2 pts · 3y

Ill do this when i get home

mvirts@lemmy.world · 2 pts · 3y

I came to the comments to avoid watching the video, learned something amazing about bash instead 😁

krazylink@lemmy.world · 1 pts · 3y (1 reply)

What are tha advantages of this over set -o vi?

sebastiancarlos@lemmy.sdf.org · 4 pts · 3y

Setting it up in .inputrc allows more flexibility and configuration. Plus, it's shared by any other app that uses Readline for the prompt.