caps -> ctrl, vim keys for tmux
This commit is contained in:
parent
b205ceb2d7
commit
45b1213c98
2 changed files with 12 additions and 8 deletions
2
rc.lua
2
rc.lua
|
@ -658,7 +658,7 @@ client.connect_signal('unfocus', function(c) c.border_color = beautiful.border_n
|
||||||
-- {{{ Autostart
|
-- {{{ Autostart
|
||||||
-- don't forget you sync this file
|
-- don't forget you sync this file
|
||||||
-- this shit runs every time you restart your wm, dumbass.
|
-- this shit runs every time you restart your wm, dumbass.
|
||||||
awful.util.spawn_with_shell('setxkbmap -layout us,ru -variant altgr-intl,typewriter -option grp:caps_toggle,grp:win_space_toggle,compose:menu,grp_led:scroll')
|
awful.util.spawn_with_shell('setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,compose:menu,grp_led:scroll')
|
||||||
awful.util.spawn_with_shell('xrdb /home/von/.Xresources')
|
awful.util.spawn_with_shell('xrdb /home/von/.Xresources')
|
||||||
if exists('/home/von/.autostart') then
|
if exists('/home/von/.autostart') then
|
||||||
awful.util.spawn_with_shell('/home/von/.autostart')
|
awful.util.spawn_with_shell('/home/von/.autostart')
|
||||||
|
|
18
tmux.conf
18
tmux.conf
|
@ -1,20 +1,24 @@
|
||||||
# tmux.conf
|
# tmux.conf
|
||||||
bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded."
|
bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded."
|
||||||
|
bind s split-window -v
|
||||||
|
bind v split-window -h
|
||||||
bind h select-pane -L
|
bind h select-pane -L
|
||||||
bind j select-pane -D
|
bind j select-pane -D
|
||||||
bind k select-pane -U
|
bind k select-pane -U
|
||||||
bind l select-pane -R
|
bind l select-pane -R
|
||||||
bind < resize-pane -L 1
|
bind < resize-pane -L 5
|
||||||
bind > resize-pane -R 1
|
bind > resize-pane -R 5
|
||||||
bind - resize-pane -D 1
|
bind - resize-pane -D 5
|
||||||
bind + resize-pane -U 1
|
bind + resize-pane -U 5
|
||||||
bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-option -g mouse-select-window on\; set-option -g mouse-resize-pane on\; display-message "mouse mode ON"
|
bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-option -g mouse-select-window on\; set-option -g mouse-resize-pane on\; display-message "mouse mode ON"
|
||||||
bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF"
|
bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF"
|
||||||
bind -n C-a display-message "Powered by tmux!"
|
bind -n C-a display-message "Powered by tmux!"
|
||||||
bind -n M-w select-window -n
|
bind -n M-w choose-tree -w
|
||||||
bind -n M-q select-window -p
|
bind -n M-q choose-tree -s
|
||||||
|
bind -n M-` last-window
|
||||||
bind -n S-Pageup copy-mode -u
|
bind -n S-Pageup copy-mode -u
|
||||||
set -g base-index 1
|
setw -g mode-keys vi
|
||||||
|
set -g base-index 0
|
||||||
set -g history-limit 10000
|
set -g history-limit 10000
|
||||||
set -g set-titles off
|
set -g set-titles off
|
||||||
set -g set-titles-string "#T"
|
set -g set-titles-string "#T"
|
||||||
|
|
Loading…
Reference in a new issue