Skip to content

Instantly share code, notes, and snippets.

View jamescherti's full-sized avatar

James Cherti jamescherti

View GitHub Profile
@jamescherti
jamescherti / inputrc_hjkl_motion.conf
Last active March 5, 2025 10:13
inputrc: add hjkl bindings to ~/.inputrc (used by the shells bash, sh...).
" Config file: Add lines to ~/.inputrc
" Description: Add hjkl bindings to ~/.inputrc
" (used by the readline and command line
" shells bash, sh...).
" Alt-h: left
" Alt-j: down
" Alt-k: up
" Alt-j: right
" Author: James Cherti
" GitHub Gist: https://gist.github.com/jamescherti/3b6582c6079ba80e55c9927021d1edc5