Clink

From wikinotes

clink is a port of gnu-readline's features to windows. oh yes. that means:

  • vi-mode on the commandline
  • control-l clear screen
  • tab-completion
  • more...


Config

~/.inputrc

set bell-style none
set editing-mode vi


$if cmd.exe
    set keymap vi-insert
        M-h: vi-movement-mode
        M-j: vi-movement-mode
        M-k: vi-movement-mode
        M-l: vi-movement-mode
         
        C-l: clear-screen

    set keymap vi-move
        M-h: previous-char
        M-j: previous-history
        M-k: next-history
        M-l: next-char
$endif