improvements
This commit is contained in:
@@ -7,5 +7,3 @@ function bring_pane() {
|
||||
echo $windows | xargs -n1 -I {i} tmux join-pane -s {i}
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,57 +1,52 @@
|
||||
# 24bit color fix
|
||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
|
||||
# Set tmux prefix
|
||||
# Prefix
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
bind C-Space send-prefix
|
||||
|
||||
bind c-p send-keys "14853d0a09a19ae5"
|
||||
bind c-p send-keys "f653ee309e01e267"
|
||||
|
||||
# Shift+Alt vim nav keys
|
||||
bind -n M-H previous-window
|
||||
bind -n M-L next-window
|
||||
|
||||
# bind s run-shell "tmuxss"
|
||||
# tmuxss
|
||||
bind -n C-s run-shell "tmuxss"
|
||||
bind C-k run-shell "tmuxss -k"
|
||||
# bind C-r run-shell "tmuxss -r"
|
||||
bind C-o display-popup -E "tmuxss -i"
|
||||
bind C-t display-popup -E "fish"
|
||||
# suspend kills the terminal window in my setup
|
||||
unbind C-z
|
||||
|
||||
bind C-t display-popup -E "zsh" # Pop-Up terminal
|
||||
|
||||
set -g detach-on-destroy off # Fall back to previous session
|
||||
unbind C-z # suspend kills the terminal window in my setup
|
||||
unbind -n C-k
|
||||
unbind Space
|
||||
bind-key i run-shell "source ~/.config/tmux/functions.sh && bring_pane"
|
||||
bind M-f move-pane -t '.-'
|
||||
bind M-r move-pane -h -t '.-'
|
||||
#bind M-f move-pane -t '.-'
|
||||
#bind M-r move-pane -h -t '.-'
|
||||
|
||||
bind s setw synchronize-panes
|
||||
|
||||
# bind -n C-k run-shell 'tmux switch-client -t "$(tmux list-sessions | grep -o "^AP[0-9]*" | tail -n 1)"'
|
||||
|
||||
# Vi copy-mode
|
||||
set -g history-limit 100000
|
||||
setw -g mode-keys vi
|
||||
|
||||
bind -T copy-mode-vi v send -X begin-selection
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'pbcopy'
|
||||
bind P paste-buffer
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'pbcopy'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
# Fixes some tmux configuration quirks
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/vim-tmux-navigator'
|
||||
#set -g @plugin 'catppuccin/tmux'
|
||||
# Temporary fix while window seperators are still broken
|
||||
set -g @plugin 'mklbravo/catppuccin-tmux#feat/window-specific-separator-config'
|
||||
set -g @plugin 'tmux-plugins/tmux-battery'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tmux-copycat'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @yank_with_mouse off
|
||||
set -g @shell_mode 'vi'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible' # Fixes some tmux configuration quirks
|
||||
set -g @plugin 'tmux-plugins/vim-tmux-navigator'
|
||||
set -g @plugin 'tmux-plugins/tmux-copycat'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
# Temporary fix while window seperators are still broken
|
||||
set -g @plugin 'mklbravo/catppuccin-tmux#feat/window-specific-separator-config'
|
||||
set -g @plugin 'tmux-plugins/tmux-battery'
|
||||
set -g @catppuccin_custom_plugin_dir "~/.config/tmux/plugins/custom"
|
||||
|
||||
set -g @catppuccin_window_left_separator ""
|
||||
@@ -60,22 +55,13 @@ set -g @catppuccin_window_middle_separator " █"
|
||||
set -g @catppuccin_window_default_middle_separator " █"
|
||||
set -g @catppuccin_window_current_middle_separator " "
|
||||
set -g @catppuccin_window_number_position "right"
|
||||
|
||||
set -g @catppuccin_window_default_fill "number"
|
||||
set -g @catppuccin_window_default_text "#W"
|
||||
|
||||
set -g @catppuccin_window_current_fill "all"
|
||||
set -g @catppuccin_window_current_text "#W"
|
||||
|
||||
set -g @catppuccin_status_modules_right "directory battery application session"
|
||||
|
||||
# set -g @catppuccin_status_left_separator " "
|
||||
# set -g @catppuccin_status_right_separator ""
|
||||
#set -g @catppuccin_status_left_separator ""#""
|
||||
#set -g @catppuccin_status_right_separator ""# " "
|
||||
set -g @catppuccin_status_fill "icon"
|
||||
set -g @catppuccin_status_connect_separator "yes"
|
||||
|
||||
set -g @catppuccin_directory_text "#{pane_current_path}"
|
||||
set -g @catppuccin_directory_icon " "
|
||||
set -g status-interval 1
|
||||
|
||||
+19
-1
@@ -4,6 +4,8 @@
|
||||
"~/src",
|
||||
"~/.config",
|
||||
"~/.local",
|
||||
"~/Documents",
|
||||
"~/Documents/uni",
|
||||
"~"
|
||||
],
|
||||
"resolve": [
|
||||
@@ -14,6 +16,10 @@
|
||||
{
|
||||
"path": "~/src/spotatui",
|
||||
"template": "spotatui"
|
||||
},
|
||||
{
|
||||
"path": "~/agdsn",
|
||||
"template": "agdsn"
|
||||
}
|
||||
],
|
||||
"envs": {
|
||||
@@ -56,13 +62,25 @@
|
||||
},
|
||||
"agdsn": {
|
||||
"group": "agdsn",
|
||||
"path": "~",
|
||||
"path": "~/agdsn",
|
||||
"focused": 0,
|
||||
"windows": [
|
||||
{
|
||||
"name": "proxy",
|
||||
"path": ".",
|
||||
"command_run": "proxy-dijkstra"
|
||||
},
|
||||
{
|
||||
"name": "documents",
|
||||
"h_split": [
|
||||
{
|
||||
"path": "~/src/documents",
|
||||
"command_run": "nvim"
|
||||
},
|
||||
{
|
||||
"path": "~/src/documents"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user