init
This commit is contained in:
commit
3ab713a5b3
64 changed files with 2043 additions and 0 deletions
21
common/readline.nix
Normal file
21
common/readline.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
environment.etc.inputrc.text = ''
|
||||
set editing-mode vi
|
||||
|
||||
set completion-ignore-case on
|
||||
set enable-bracketed-paste on
|
||||
set show-all-if-ambiguous on
|
||||
set show-mode-in-prompt on
|
||||
|
||||
set keymap vi-command
|
||||
Control-l: clear-screen
|
||||
Control-a: beginning-of-line
|
||||
Tab: menu-complete
|
||||
"\e[Z": complete
|
||||
set keymap vi-insert
|
||||
Control-l: clear-screen
|
||||
Control-a: beginning-of-line
|
||||
Tab: menu-complete
|
||||
"\e[Z": complete
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue