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
|
||||
-- don't forget you sync this file
|
||||
-- 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')
|
||||
if exists('/home/von/.autostart') then
|
||||
awful.util.spawn_with_shell('/home/von/.autostart')
|
||||
|
|
18
tmux.conf
18
tmux.conf
|
@ -1,20 +1,24 @@
|
|||
# tmux.conf
|
||||
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 j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
bind < resize-pane -L 1
|
||||
bind > resize-pane -R 1
|
||||
bind - resize-pane -D 1
|
||||
bind + resize-pane -U 1
|
||||
bind < resize-pane -L 5
|
||||
bind > resize-pane -R 5
|
||||
bind - resize-pane -D 5
|
||||
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 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 M-w select-window -n
|
||||
bind -n M-q select-window -p
|
||||
bind -n M-w choose-tree -w
|
||||
bind -n M-q choose-tree -s
|
||||
bind -n M-` last-window
|
||||
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 set-titles off
|
||||
set -g set-titles-string "#T"
|
||||
|
|
Loading…
Reference in a new issue