Przeglądaj źródła

.zshrc robustness

master
Dirk Alders 1 rok temu
rodzic
commit
817a48f66f
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      .zshrc

+ 2
- 2
.zshrc Wyświetl plik

29
 bindkey '^[[1;5D' backward-word                   # ctrl + <-
29
 bindkey '^[[1;5D' backward-word                   # ctrl + <-
30
 bindkey '^[[5~' beginning-of-buffer-or-history    # page up
30
 bindkey '^[[5~' beginning-of-buffer-or-history    # page up
31
 bindkey '^[[6~' end-of-buffer-or-history          # page down
31
 bindkey '^[[6~' end-of-buffer-or-history          # page down
32
-bindkey '^[[H' beginning-of-line                  # home
33
-bindkey '^[[F' end-of-line                        # end
32
+bindkey "${terminfo[khome]}" beginning-of-line    # home
33
+bindkey "${terminfo[kend]}" end-of-line           # end
34
 bindkey '^[[Z' undo                               # shift + tab undo last action
34
 bindkey '^[[Z' undo                               # shift + tab undo last action
35
 
35
 
36
 # enable completion features
36
 # enable completion features

Ładowanie…
Anuluj
Zapisz