mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
feat: Updates tmux bindings to navigate windows to use either prefix+h|l or <c-alt>h|l, switches window keybind prefix to use alt in hyprland.
This commit is contained in:
2
env/.config/hypr/keybinds.conf
vendored
2
env/.config/hypr/keybinds.conf
vendored
@@ -5,7 +5,7 @@
|
|||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$mainMod = SUPER # "Command/Windows" key as main modifier
|
$mainMod = SUPER # "Command/Windows" key as main modifier
|
||||||
# TODO: Use 'ALT' as window mod, need to change some tmux keybinds to do so.
|
# TODO: Use 'ALT' as window mod, need to change some tmux keybinds to do so.
|
||||||
$windowMod = CTRL ALT # Control + Option for window controls.
|
$windowMod = ALT # Control + Option for window controls.
|
||||||
$HYPER = ALT SHIFT SUPER CTRL
|
$HYPER = ALT SHIFT SUPER CTRL
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|||||||
10
env/.tmux.conf
vendored
10
env/.tmux.conf
vendored
@@ -69,9 +69,10 @@ bind-key -r K kill-pane
|
|||||||
# Use Shift-arrow keys to navigate windows.
|
# Use Shift-arrow keys to navigate windows.
|
||||||
bind -n S-Left previous-window
|
bind -n S-Left previous-window
|
||||||
bind -n S-Right next-window
|
bind -n S-Right next-window
|
||||||
bind -n M-h previous-window
|
bind h previous-window
|
||||||
bind -n M-l next-window
|
bind l next-window
|
||||||
bind C-l send-keys 'C-l'
|
bind -n C-M-h previous-window
|
||||||
|
bind -n C-M-l next-window
|
||||||
|
|
||||||
bind f run-shell "tmux display-popup -E -w 80% -h 80% $SCRIPTS/tmux-sessionator"
|
bind f run-shell "tmux display-popup -E -w 80% -h 80% $SCRIPTS/tmux-sessionator"
|
||||||
bind-key -r C run-shell -b "~/.local/share/scripts/tmux-sessionator ~/.dotfiles"
|
bind-key -r C run-shell -b "~/.local/share/scripts/tmux-sessionator ~/.dotfiles"
|
||||||
@@ -155,5 +156,8 @@ set -gF window-status-separator "#[bg=#{@thm_bg},fg=#{@thm_overlay_0}]│"
|
|||||||
set -g window-status-current-format " #I#{?#{!=:#{window_name},Window},: #W,} "
|
set -g window-status-current-format " #I#{?#{!=:#{window_name},Window},: #W,} "
|
||||||
set -g window-status-current-style "bg=#{@thm_peach},fg=#{@thm_bg},bold"
|
set -g window-status-current-style "bg=#{@thm_peach},fg=#{@thm_bg},bold"
|
||||||
|
|
||||||
|
unbind -n h
|
||||||
|
unbind -n l
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|||||||
Reference in New Issue
Block a user