fix hoard shortcut problem
This commit is contained in:
parent
bc97a8f209
commit
ecdbed74dc
1 changed files with 9 additions and 1 deletions
|
@ -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