mirror of
https://github.com/KevinMidboe/dotfiles.git
synced 2025-10-29 17:40:19 +00:00
update dotfiles 11.2024
This commit is contained in:
26
tmux/tmux.config
Normal file
26
tmux/tmux.config
Normal file
@@ -0,0 +1,26 @@
|
||||
# remap previx from 'C-b' to 'F10' and should
|
||||
# map caps-lock to F10
|
||||
unbind-key C-b
|
||||
set-option -g prefix F10
|
||||
bind-key F10 send-prefix
|
||||
|
||||
# Remove delay
|
||||
set -s escape-time 1
|
||||
|
||||
# scroll window buffer history, not commands history
|
||||
set -g mouse on
|
||||
|
||||
set -g default-terminal "xterm-256color"
|
||||
set-option -g default-shell /opt/homebrew/bin/fish
|
||||
|
||||
# Navigate panes using vim bindings
|
||||
setw -g mode-keys vi
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# Set new panes to open in current directory
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
Reference in New Issue
Block a user