Mercurial > ec-dotfiles
comparison rc/inputrc @ 676:9713ac597983
[inputrc] history search on ruby now works again
| author | nanaya <me@nanaya.pro> |
|---|---|
| date | Fri, 08 Apr 2022 13:46:39 +0900 |
| parents | 1d8596cf49bc |
| children | 12fe76be3071 |
comparison
equal
deleted
inserted
replaced
| 675:68fbd1336559 | 676:9713ac597983 |
|---|---|
| 22 "\e[1;3C": forward-word | 22 "\e[1;3C": forward-word |
| 23 #tmux | 23 #tmux |
| 24 "\e\e[D": backward-word | 24 "\e\e[D": backward-word |
| 25 "\e\e[C": forward-word | 25 "\e\e[C": forward-word |
| 26 | 26 |
| 27 $if Ruby | |
| 28 # Eventually remove this bug workaround | |
| 29 # Reference: https://github.com/ruby/reline/pull/416/files | |
| 30 "\C-u": unix-line-discard | |
| 31 $else | |
| 32 #Up/Down | 27 #Up/Down |
| 33 "\e[A": history-search-backward | 28 "\e[A": history-search-backward |
| 34 "\e[B": history-search-forward | 29 "\e[B": history-search-forward |
| 35 #GNOME Terminal | 30 #GNOME Terminal |
| 36 "\eOA": history-search-backward | 31 "\eOA": history-search-backward |
| 37 "\eOB": history-search-forward | 32 "\eOB": history-search-forward |
| 33 | |
| 34 $if Ruby | |
| 35 # Eventually remove this bug workaround | |
| 36 # Reference: https://github.com/ruby/reline/pull/416/files | |
| 37 #"\C-u": unix-line-discard | |
| 38 $endif | 38 $endif |
