mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
zsh: bash M-# behaviour, shift-tab, fish wordchar
This commit is contained in:
parent
dc742c2b52
commit
7eefc579ae
1 changed files with 18 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue