Comment

Comment by amitutk

To automatically enable this for all term applications, create a file .inputrc in $HOME and put this:

set editing-mode vi

$if mode=vi

set keymap vi-command

"gg": beginning-of-history

"G": end-of-history

set keymap vi-insert

"jj": vi-movement-mode

"\C-p": history-search-backward C-L: clear-screen

parent amitutk 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton