zsh: bash M-# behaviour, shift-tab, fish wordchar

This commit is contained in:
js0ny 2025-11-19 20:47:50 +00:00
parent dc742c2b52
commit 7eefc579ae

View file

@ -38,8 +38,21 @@ in {
"root" "root"
]; ];
}; };
history = {
ignorePatterns = [
''tmp''
''Authorization:''
];
};
initContent = '' initContent = ''
${aliasCfg.posixFx} ${aliasCfg.posixFx}
# Misc
# ==========
# Remove / from word characters, for easier path navigation (using backward-word, forward-word, etc)
export WORDCHARS=''${WORDCHARS//\//}
# Options # Options
# ========== # ==========
@ -101,6 +114,11 @@ in {
bindkey '^[e' edit-command-line bindkey '^[e' edit-command-line
bindkey '^[v' edit-command-line bindkey '^[v' edit-command-line
bindkey '^[[Z' reverse-menu-complete # Shift-Tab
# bindkey -M menuselect '^[[Z' reverse-menu-complete # Shift-Tab in menu select mode
bindkey '^[#' pound-insert # Alt-# to comment line
# Misc # Misc
# ======== # ========
# source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh # source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh