nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

inputrc (693B)


      1 set bell-style none
      2 
      3 # Enable 8th bit input
      4 set meta-flag on
      5 set input-meta on
      6 set output-meta on
      7 set convert-meta off
      8 
      9 set show-all-if-unmodified on
     10 
     11 set editing-mode vi
     12 
     13 $if mode=vi
     14   set keymap vi-insert
     15   "jk": vi-movement-mode
     16   "kj": vi-movement-mode
     17   Control-a: beginning-of-line
     18   Control-e: end-of-line
     19   Control-n: next-history
     20   Control-p: previous-history
     21   Control-L: clear-screen
     22   Control-k: kill-line
     23   Control-w: unix-word-rubout
     24   Control-d: delete-char
     25 
     26   set keymap vi-command
     27   Control-e: vi-append-eol
     28   Control-a: vi-insert-beg
     29   Control-w: unix-word-rubout
     30   Control-d: delete-char
     31 $endif
     32 
     33 set keymap vi
     34 
     35 "\e[A": history-search-backward
     36 "\e[B": history-search-forward