fix hoard shortcut problem
This commit is contained in:
parent
bc97a8f209
commit
ecdbed74dc
1 changed files with 9 additions and 1 deletions
|
@ -23,7 +23,7 @@ in
|
||||||
default_namespace = "default";
|
default_namespace = "default";
|
||||||
config_home_path = "/home/palo/.config/hoard";
|
config_home_path = "/home/palo/.config/hoard";
|
||||||
trove_path = "/home/palo/.config/hoard/trove.yml";
|
trove_path = "/home/palo/.config/hoard/trove.yml";
|
||||||
query_prefix = " >";
|
query_prefix = " >";
|
||||||
primary_color = [ 87 142 87 ];
|
primary_color = [ 87 142 87 ];
|
||||||
secondary_color = [ 203 184 144 ];
|
secondary_color = [ 203 184 144 ];
|
||||||
tertiary_color = [ 30 30 30 ];
|
tertiary_color = [ 30 30 30 ];
|
||||||
|
@ -32,15 +32,23 @@ in
|
||||||
read_from_current_directory = true;
|
read_from_current_directory = true;
|
||||||
};
|
};
|
||||||
programs.zsh.initExtra = ''
|
programs.zsh.initExtra = ''
|
||||||
|
export HOARD_NOBIND=1
|
||||||
source ${hoardSrc}/src/shell/hoard.zsh
|
source ${hoardSrc}/src/shell/hoard.zsh
|
||||||
|
bindkey '^x' _hoard_list_widget
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# use showkey -a
|
||||||
|
# todo Ctrl-h is equivalent to Ctrl-Backspace (for some reason)
|
||||||
programs.zsh.interactiveShellInit = ''
|
programs.zsh.interactiveShellInit = ''
|
||||||
|
export HOARD_NOBIND=1
|
||||||
source ${hoardSrc}/src/shell/hoard.zsh
|
source ${hoardSrc}/src/shell/hoard.zsh
|
||||||
|
bindkey '^x' _hoard_list_widget
|
||||||
'';
|
'';
|
||||||
programs.bash.interactiveShellInit = ''
|
programs.bash.interactiveShellInit = ''
|
||||||
|
export HOARD_NOBIND=1
|
||||||
source ${hoardSrc}/src/shell/hoard.bash
|
source ${hoardSrc}/src/shell/hoard.bash
|
||||||
|
bind -x '"\C-x": __hoard_list'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue