view rc/inputrc @ 746:6b7f6f09b8d1 default tip

[vimrc] fix php syntax highlight Example file: https://github.com/ppy/osu-web/blob/e23658f45ac2e85d78bd339947e0d1cee57629c6/app/Libraries/BBCodeFromDB.php (around the end)
author nanaya <me@nanaya.net>
date Wed, 29 Oct 2025 12:28:45 +0900
parents 07542066867e
children
line wrap: on
line source

#Basic settings
set bell-style none
set keymap emacs

# automatically append / to symlinked directories
set mark-symlinked-directories on

#Home/End
#GNOME Terminal
"\eOH": beginning-of-line
"\eOF": end-of-line
#tmux
"\e[1~": beginning-of-line
"\e[4~": end-of-line

#Delete
"\e[3~": delete-char

#Alt-Left/Right
#GNOME Terminal
"\e[1;3D": backward-word
"\e[1;3C": forward-word
#tmux
"\e\e[D": backward-word
"\e\e[C": forward-word

#Up/Down
"\e[A": history-search-backward
"\e[B": history-search-forward
#GNOME Terminal
"\eOA": history-search-backward
"\eOB": history-search-forward