Tom McKenzie před 7 roky
rodič
revize
9596048c3b
3 změnil soubory, kde provedl 6 přidání a 27 odebrání
  1. 3 0
      .zshrc
  2. 0 24
      .zshrc.d/bindkey.sh
  3. 3 3
      .zshrc.d/zgen.zsh

+ 3 - 0
.zshrc

@@ -17,3 +17,6 @@ if [[ -n $SSH_CONNECTION ]]; then
 else
   export EDITOR='code'
 fi
+
+setopt MENU_COMPLETE
+setopt complete_aliases

+ 0 - 24
.zshrc.d/bindkey.sh

@@ -1,24 +0,0 @@
-typeset -g -A key
-
-bindkey -e
-
-bindkey '^H' delete-word # iterm
-bindkey '^[[3~' delete-char # tmux
-
-bindkey '^[[1;9D' backward-word # iterm
-bindkey '^[^[[D' backward-word # tmux os x
-bindkey '^[[1;3D' backward-word # tmux ubuntu
-
-bindkey '^[[1;9C' forward-word # iterm
-bindkey '^[^[[C' forward-word # tmux os x
-bindkey '^[[1;3C' forward-word # tmux ubuntu
-
-
-bindkey '^[[H' beginning-of-line # iterm
-bindkey '^[[1~' beginning-of-line # tmux
-
-bindkey '^[[F' end-of-line # iterm
-bindkey '^[[4~' end-of-line # tmux
-
-export HIST_IGNORE_DUPS="1"
-export HIST_REDUCE_BLANKS="1"

+ 3 - 3
.zshrc.d/zgen.zsh

@@ -18,9 +18,9 @@ if ! zgen saved; then
   # bulk load
   zgen loadall <<EOPLUGINS
     mreinhardt/sfz-prompt.zsh
-    zsh-users/zsh-autosuggestions
-    zsh-users/zsh-history-substring-search
     zsh-users/zsh-syntax-highlighting
+    zsh-users/zsh-history-substring-search
+    zsh-users/zsh-autosuggestions
 EOPLUGINS
   # ^ can't indent this EOPLUGINS
 
@@ -60,7 +60,7 @@ prompt_sfz_git_dirty() {
 }
 
 # customise zsh-history-substring-search
-HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bold"
+HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="underline"
 HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND="none"
 bindkey '^[[A' history-substring-search-up
 bindkey '^[[B' history-substring-search-down