This commit is contained in:
Jaroslaw Konik 2024-05-26 16:01:49 +02:00
parent 56f63c7e00
commit 345b3b8091
2 changed files with 7 additions and 19 deletions

View file

@ -6,8 +6,8 @@ tab_powerline_style slanted
map ctrl+g kitten hints --type=linenum --linenum-action=background sh -c "nvim_remote +{line} {path}"
tab_bar_edge top
include ./theme.conf
map f1 new_tab
map f2 new_tab_with_cwd
map shift+f1 new_tab
map shift+f2 new_tab_with_cwd
map ctrl+shift+w no_op
map alt+>, no_op
map alt+< no_op
@ -16,24 +16,24 @@ listen_on unix:@mykitty
enabled_layouts splits
map f3 new_tab_with_cwd
map shift+f3 new_tab_with_cwd
# Create a new window splitting the space used by the existing one so that
# the two windows are placed one above the other
map f5 launch --location=hsplit --cwd=current
map shift+f5 launch --location=hsplit --cwd=current
# Create a new window splitting the space used by the existing one so that
# the two windows are placed side by side
map f6 launch --location=vsplit --cwd=current
map shift+f6 launch --location=vsplit --cwd=current
# Create a new window splitting the space used by the existing one so that
# the two windows are placed side by side if the existing window is wide or
# one above the other if the existing window is tall.
map f4 launch --location=split --cwd=current
map shift+f4 launch --location=split --cwd=current
# Rotate the current split, changing its split axis from vertical to
# horizontal or vice versa
map f7 layout_action rotate
map shift+f7 layout_action rotate
# Move the active window in the indicated direction
map shift+up move_window up
@ -52,4 +52,3 @@ map ctrl+left neighboring_window left
map ctrl+right neighboring_window right
map ctrl+up neighboring_window up
map ctrl+down neighboring_window down

View file

@ -2,18 +2,7 @@ set-option -g status-right ""
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'dracula/tmux'
# set -g @dracula-plugins " "
# set -g @dracula-show-powerline true
set-option -sa terminal-features ',xterm-256color:RGB'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'