dotfiles

My personal dotfiles (see readme)
git clone git://git.luxferre.top/dotfiles.git
Log | Files | Refs | README

.inputrc (1047B)


      1 set editing-mode emacs
      2 set enable-meta-key on
      3 set input-meta on
      4 set output-meta on
      5 set enable-keypad on
      6 set bell-style none
      7 set show-all-if-ambiguous on
      8 set completion-ignore-case on
      9 
     10 # Home, Insert, Del, End, PgUp, PgDn
     11 
     12 "\e[1~": beginning-of-line
     13 "\e[2~": quoted-insert
     14 "\e[3~": delete-char
     15 "\e[4~": end-of-line
     16 "\e[5~": beginning-of-history
     17 "\e[6~": end-of-history
     18 
     19 # History search with Up/Down arrows
     20 
     21 "\e[A": history-search-backward
     22 "\e[B": history-search-forward
     23 
     24 # Ctrl+arrows (might not work everywhere)
     25 
     26 "\e[1;5C": forward-word
     27 "\e[1;5D": backward-word
     28 "\e[5C": forward-word
     29 "\e[5D": backward-word
     30 "\e\e[C": forward-word
     31 "\e\e[D": backward-word
     32 "\e[H": forward-word
     33 "\e[F": backward-word
     34 "\eOH": forward-word
     35 "\eOF": backward-word
     36 
     37 # Combos for ricing ed to the moon and back
     38 # exit insert mode with Alt+Space
     39 # exit insert mode and save with Ctrl+W
     40 # Tab inserts 2 spaces, Shift+Tab inserts tabulation
     41 
     42 $if ed
     43 set bind-tty-special-chars off
     44 set convert-meta on
     45 Meta-SPC: "\n.\n"
     46 Control-w: "\n.\nw\n"
     47 "\e[Z": "\C-v\t"
     48 TAB: "  "
     49 $endif
     50