Skip to content

Commit 6b78838

Browse files
authored
feat: shif+up/down serch cmd history
1 parent 4cbd763 commit 6b78838

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readline/.inputrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ Control-g:unix-filename-rubout
1717
# 历史记录
1818
Control-p:history-search-backward
1919
Control-n:history-search-forward
20+
21+
# shift+上下键 搜索历史记录
22+
"\e[1;2A": history-search-backward
23+
"\e[1;2B": history-search-forward

0 commit comments

Comments
 (0)