aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stow/tmux/.tmux.conf15
-rw-r--r--templates/alternative.yaml16
-rw-r--r--templates/dashboard.yaml10
-rw-r--r--templates/databases.yaml11
-rw-r--r--templates/local.yaml11
-rw-r--r--templates/template.yaml16
6 files changed, 9 insertions, 70 deletions
diff --git a/stow/tmux/.tmux.conf b/stow/tmux/.tmux.conf
index 5f22b01..e491eae 100644
--- a/stow/tmux/.tmux.conf
+++ b/stow/tmux/.tmux.conf
@@ -19,13 +19,12 @@ bind J resize-pane -D 3
bind K resize-pane -U 3
bind L resize-pane -R 3
# Rollodex commands
-bind n run-shell "bash $HOME/.tmux/scripts/rolodex.sh next"
-bind p run-shell "bash $HOME/.tmux/scripts/rolodex.sh prev"
-# Url Searching
-bind C-u run-shell "bash $HOME/.tmux/scripts/url_search.sh"
+bind n run-shell "rolodex next"
+bind p run-shell "rolodex prev"
+bind C-m run-shell "rolodex toggle"
+bind C-e run-shell "rolodex new"
# Bind the last window/pane command
bind C-b last-pane
-bind C-f run-shell "bash $HOME/.tmux/scripts/path_search.sh"
# Faster window switching
bind C-n next-window
bind C-p previous-window
@@ -43,6 +42,11 @@ bind -Tcopy-mode-vi y send -X copy-pipe-and-cancel "tmux save-buffer - | xp"
# Hitting enter will copy text but not leave vi mode
unbind -T copy-mode-vi Enter
bind -Tcopy-mode-vi Enter send -X copy-pipe "tmux save-buffer - | xp"
+# clock mode is over written by sessionist
+bind C-t clock-mode
+# Use fzf for switching sessions
+unbind s
+bind s run-shell 'tmux_session_fzf_wrapper'
#####################################
# Settings
@@ -83,7 +87,6 @@ set-option -g status-right "#{?window_bigger,[#{window_offset_x}#,#{window_offse
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
-set -g @plugin 'thornycrackers/tmux-drawer'
set -g @plugin 'Thornycrackers-Forks/tmux-sessionist'
set -g @plugin 'Thornycrackers-Forks/tmux-open'
set -g @plugin 'Thornycrackers-Forks/tmux-fingers'
diff --git a/templates/alternative.yaml b/templates/alternative.yaml
deleted file mode 100644
index 8261900..0000000
--- a/templates/alternative.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-session_name: "${PROJECT}"
-start_directory: "${DIR}"
-windows:
- - window_name: code
- layout: even-vertical
- focus: true
- panes:
- - shell_command:
- focus: true
- - window_name: misc
- layout: tiled
- panes:
- - pane
- - pane
- - pane
- - pane
diff --git a/templates/dashboard.yaml b/templates/dashboard.yaml
deleted file mode 100644
index 3b8d867..0000000
--- a/templates/dashboard.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-session_name: dashboard
-start_directory: ~/
-windows:
- - window_name: live
- layout: tiled
- panes:
- - htop
- - ctop
- -
- -
diff --git a/templates/databases.yaml b/templates/databases.yaml
deleted file mode 100644
index b4786b4..0000000
--- a/templates/databases.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-session_name: databases
-windows:
- - window_name: postgres
- focus: true
- panes:
- - cd ~/Work/mine/postgres-docker/code; clear
- - cd ~/Work/mine/postgres-docker/code; clear
- - window_name: mysql
- panes:
- - cd ~/Work/mine/mysql-docker/code; clear
- - cd ~/Work/mine/mysql-docker/code; clear
diff --git a/templates/local.yaml b/templates/local.yaml
deleted file mode 100644
index 8c164d7..0000000
--- a/templates/local.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-session_name: local
-start_directory: ~/
-windows:
- - window_name: tasks
- layout: tiled
- panes:
- - task sync; clear; task -home
- -
- -
- -
- focus: true
diff --git a/templates/template.yaml b/templates/template.yaml
deleted file mode 100644
index 44a1c44..0000000
--- a/templates/template.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-session_name: "${PROJECT}"
-start_directory: "${DIR}"
-windows:
- - window_name: code
- layout: even-vertical
- focus: true
- panes:
- - shell_command:
- - nvim
- focus: true
- - window_name: docker
- layout: even-vertical
- panes:
- - pane
- - pane
- - pane