diff options
| -rw-r--r-- | home.nix | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -27,6 +27,23 @@ nix-direnv.enable = true; }; + programs.readline = { + enable = true; + extraConfig = '' + 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 + ''; + }; + programs.bash = { enable = true; profileExtra = '' |
