summaryrefslogtreecommitdiffstats
path: root/.config/bash/vi.inputrc
blob: 5ce0fb6cb08fc1029a3959ec80cdc709dac16afb (plain)
1
2
3
4
5
6
7
8
9
# Readline key bindings for both the vi-insert and vi-command keymaps

"\C-l": clear-screen                    # Ctrl+l        clear screen
"\C-w": unix-filename-rubout            # Ctrl+w        erase word backward (hyphens included)
"\C-k": kill-line                       # Ctrl+k        kill line after point
"\C-p": history-search-backward         # Ctrl+p        search history backward (non-incremental)
"\C-n": history-search-forward          # Ctrl+n        search history forward (non-incremental)

# vim: ft=readline