1
0
Fork 0

annual dotfiles push

This commit is contained in:
Arthur K. 2026-01-30 17:57:53 +03:00
parent 5076968086
commit 7f3c29f8f3
Signed by: wzray
GPG key ID: B97F30FDC4636357
12 changed files with 330 additions and 97 deletions

View file

@ -0,0 +1,24 @@
# Moving
bind г previous-window
bind ш next-window
bind т "new-window -c '#{pane_current_path}'"
# Splits
bind р "split-window -hb -c '#{pane_current_path}'"
bind о "split-window -v -c '#{pane_current_path}'"
bind л "split-window -v -b -c '#{pane_current_path}'"
bind д "split-window -h -c '#{pane_current_path}'"
bind ж "command-prompt"
bind Т "new-session -c '#{pane_current_path}' -s '#{b:pane_current_path}'"
bind Ч "set-option -g detach-on-destroy off; kill-session; set-option -g detach-on-destroy on"
bind-key -T copy-mode-vi н send-keys -X copy-pipe-and-cancel
bind-key -T copy-mode-vi м send-keys -X begin-selection
bind-key -T copy-mode-vi М send-keys -X select-line
# TODO: search
# vim: ft=tmux

View file

@ -5,8 +5,14 @@ setw -g mouse on
set -g default-command "${SHELL}"
# Enable 256 color mode and TrueColor
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
# set -g default-terminal "tmux-256color"
# set -ag terminal-overrides ",xterm-256color:RGB"
set -g default-terminal 'tmux-256color'
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
set -as terminal-features ',*:usstyle'
set -as terminal-features ',xterm*:RGB'
set -as terminal-features ',alacritty*:RGB'
# Get rid of nvim escape delay
set -s escape-time 0
@ -32,8 +38,8 @@ set -g monitor-activity off
set -g renumber-windows off
# Resize all windows to min size
setw -g aggressive-resize off
setw -g window-size smallest
setw -g aggressive-resize on
setw -g window-size latest
# Change history limit
set -g history-limit 262144
@ -41,5 +47,6 @@ set -g history-limit 262144
# Source extra configs
source-file ~/.config/tmux/theme.conf
source-file ~/.config/tmux/keybinds.conf
source-file ~/.config/tmux/keybinds-ru.conf
source-file ~/.config/tmux/plugins.conf
source-file ~/.config/tmux/vim.conf