3 ms·
This is also a `bash` (or rather any `readline` app) builtin. $ cat .inputrc set editing-mode vi set keymap vi-command k: history-search-backwa
by frutiger 2y ago
This is also a `bash` (or rather any `readline` app) builtin.
$ cat .inputrc
set editing-mode vi
set keymap vi-command
k: history-search-backward
j: history-search-forward
Type any prefix, press `<esc>k` (or `<up>` in emacs mode) and it'll prefix match on history. Keep pressing `k` for older matches.
- stouset 2y agoI don’t even have to type anything in fish. It automatically shows prefix completions. Fish really is amazing and it really is worth the minor transition costs.