fix key HOME END for tmux and vim

master
FiliN 4 years ago
parent ed52838b42
commit a525e7aa72
  1. 10
      .inputrc
  2. 5
      .tmux.conf

@ -1,3 +1,13 @@
set show-all-if-ambiguous On
"\e[A": history-search-backward
"\e[B": history-search-forward
# kvt:
"\e[H":beginning-of-line
"\e[F":end-of-line
# rxvt and konsole (i.e. the KDE-app...)
"\e[7~":beginning-of-line
"\e[8~":end-of-line
# for linux console
"\e[1~": beginning-of-line
"\e[4~": end-of-line

@ -102,5 +102,6 @@ bind Escape copy-mode
#set -g @cpu_medium_bg_color "#[bg=#ffff00]"
#set -g @cpu_high_bg_color "#[bg=#ff0000]"
bind -n End send-key C-e
bind -n Home send-key C-a
set -g default-terminal screen-256color
#bind -n End send-key C-e
#bind -n Home send-key C-a

Loading…
Cancel
Save