aboutsummaryrefslogtreecommitdiff
path: root/programs/readline.nix
blob: 8afdd8252d2d0a130c69b1098d4d64c26d18f114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config
, pkgs
, ...
}:

{
  programs.readline = {
    enable = true;
    bindings = {
      "\\C-o" = ''"tmux-fzf\n"'';
      "\\t" = "menu-complete";
      "\\e[Z" = "menu-complete-backward";
    };
    variables = {
      "completion-ignore-case" = "on";
      "show-all-if-ambiguous" = "on";
      "colored-stats" = "on";
      "completion-display-width" = 4;
      "enable-bracketed-paste" = "on";
    };
  };
}