Browse Source

Added vim mode to GNU readline interface

tags/v0.1.1
Micah Halter 1 year ago
parent
commit
38a16930e8
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      readline/.inputrc

+ 12
- 0
readline/.inputrc View File

@@ -0,0 +1,12 @@
$include /etc/inputrc
set editing-mode vi
$if mode=vi

set keymap vi-command
# these are for vi-command mode
Control-l: clear-screen

set keymap vi-insert
# these are for vi-insert mode
Control-l: clear-screen
$endif

Loading…
Cancel
Save