nix/programs/readline.nix (view raw)
1{ config
2, pkgs
3, ...
4}:
5
6{
7 programs.readline = {
8 enable = true;
9 bindings = {
10 "\\t" = "menu-complete";
11 "\\e[Z" = "menu-complete-backward";
12 "\\C-w" = "backward-kill-word";
13 };
14 variables = {
15 "completion-ignore-case" = "on";
16 "show-all-if-ambiguous" = "on";
17 "colored-stats" = "on";
18 "completion-display-width" = 4;
19 "enable-bracketed-paste" = "on";
20 };
21 };
22}