Fix control keys under emacs
This commit is contained in:
parent
c1ad9cd835
commit
fb2240002d
3 changed files with 16 additions and 9 deletions
|
|
@ -3,6 +3,9 @@ if status --is-login
|
||||||
if test -d ~/devtools/buck/bin
|
if test -d ~/devtools/buck/bin
|
||||||
set PATH $PATH ~/devtools/buck/bin
|
set PATH $PATH ~/devtools/buck/bin
|
||||||
end
|
end
|
||||||
|
if test -d /snap/bin
|
||||||
|
set PATH $PATH /snap/bin
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# export EDITOR=ec
|
# export EDITOR=ec
|
||||||
|
|
|
||||||
|
|
@ -233,6 +233,7 @@
|
||||||
"Apply xterm keymap, allowing use of keys passed through tmux."
|
"Apply xterm keymap, allowing use of keys passed through tmux."
|
||||||
(if (getenv "TMUX")
|
(if (getenv "TMUX")
|
||||||
(let ((map (copy-keymap xterm-function-map)))
|
(let ((map (copy-keymap xterm-function-map)))
|
||||||
|
(message "Activating tmux keys...")
|
||||||
(set-keymap-parent map (keymap-parent input-decode-map))
|
(set-keymap-parent map (keymap-parent input-decode-map))
|
||||||
(set-keymap-parent input-decode-map map))))
|
(set-keymap-parent input-decode-map map))))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,9 @@ set -g status-fg white
|
||||||
set -g status-left ""
|
set -g status-left ""
|
||||||
set -g status-right "#[fg=green]#H"
|
set -g status-right "#[fg=green]#H"
|
||||||
|
|
||||||
|
# COLORS
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
|
||||||
# Rather than constraining window size to the maximum size of any client
|
# Rather than constraining window size to the maximum size of any client
|
||||||
# connected to the *session*, constrain window size to the maximum size of any
|
# connected to the *session*, constrain window size to the maximum size of any
|
||||||
# client connected to *that window*. Much more reasonable.
|
# client connected to *that window*. Much more reasonable.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue