Skip to content

Instantly share code, notes, and snippets.

@nemoinho
Created May 27, 2024 20:50
Show Gist options
  • Save nemoinho/9a3ddaf7d5a8a1936cd65b215203e384 to your computer and use it in GitHub Desktop.
Save nemoinho/9a3ddaf7d5a8a1936cd65b215203e384 to your computer and use it in GitHub Desktop.
My inputrc for macos
# HOME (fn+left)
"\e[H": beginning-of-line
"\e[1~": beginning-of-line
# END (fn+right)
"\e[F": end-of-line
"\e[4~": end-of-line
# Alt+right
"\e\e[C": forward-word
# Alt+left
"\e\e[D": backward-word
# search via arrow keys
"\e[A": history-search-backward
"\e[B": history-search-forward
# show options of autocomplete immediately, instead of ringing the bell and awaiting another tab-stroke
set show-all-if-ambiguous on
# ignore case for auto-completion of files/directories
set completion-ignore-case on
# References: https://coderwall.com/p/oqtj8w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment