ELVISH-READLINE-BINDING(7)

πŸ“¦
version 0.17.0 Β· 2 versions
, in ubuntu jammy

πŸŽ€ elvish-r...e-binding(7) πŸŽ€

okay bestie, welcome to the Miscellaneous Information Manual section of the Elvish docs β€” this one's short and sweet, but it's a lifesaver if your fingers are hardwired to readline muscle memory πŸ’…


✨ Introduction ✨

so the readline-binding module is literally just a bundle of readline-like key bindings β€” think classic readline vibes but make it Elvish πŸ¦‹

like, the whole point: you get stuff such as binding Ctrl-A to move the cursor to the start of the line. iconic, honestly.

to use it, drop this little line into ~/.elvish/rc.elv:

use readline-binding
⚠️ heads up bestie: this will override some of the standard bindings. for example, Ctrl-L gets bound to a function that clears the terminal screen, instead of starting location mode. so yeah, you're trading one vibe for another β€” know that going in πŸ™ˆ

and if you wanna see exactly what's going on under the hood, the source code is right here, no cap:

https://github.com/elves/elvish/blob/master/pkg/mods/bundled/readline-binding.elv.go

okay that's the whole page, you ate it πŸ’– this was the elvish-r...e-binding(7) page from Elvish 0.17.0, dated Nov 18, 2024 β€” go forth and bind those keys, main character 🫢✨

πŸ“¦ where this page comes from