summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/fish/conf.d/taskwarrior.fish9
-rw-r--r--dotfiles/tmux/tmux.conf6
2 files changed, 13 insertions, 2 deletions
diff --git a/dotfiles/fish/conf.d/taskwarrior.fish b/dotfiles/fish/conf.d/taskwarrior.fish
index 5f6d5e8..9ae3ba7 100644
--- a/dotfiles/fish/conf.d/taskwarrior.fish
+++ b/dotfiles/fish/conf.d/taskwarrior.fish
@@ -113,6 +113,13 @@ function taskwarrior::db::prune
yes | task +random status:completed delete
end
+function taskwarrior::invoke
+ if test -f ~/scripts/taskwarriorfeeder.rb
+ ruby ~/scripts/taskwarriorfeeder.rb
+ end
+ tasksamurai
+end
+
abbr -a t task
abbr -a L 'task add +log'
abbr -a tlog 'task add +log'
@@ -125,7 +132,7 @@ abbr -a track 'taskwarrior::add::track'
abbr -a tra 'taskwarrior::add::track'
abbr -a trat 'timr track'
abbr -a tfind 'taskwarrior::fuzzy::find'
-abbr -a ts tasksamurai
+abbr -a ts 'tasksamurai::invoke'
# Virtual standup abbrs
abbr -a V 'taskwarrior::add::standup'
diff --git a/dotfiles/tmux/tmux.conf b/dotfiles/tmux/tmux.conf
index 42c5386..1b54b40 100644
--- a/dotfiles/tmux/tmux.conf
+++ b/dotfiles/tmux/tmux.conf
@@ -17,7 +17,11 @@ bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key L resize-pane -R 5
-bind-key b break-pane -d
+bind-key g popup -E -w 95% -h 95% -d '#{pane_current_path}' lazygit
+bind-key f popup -E -w 95% -h 95% -d '#{pane_current_path}' ranger
+bind-key e popup -E -w 95% -h 95% -d '#{pane_current_path}' hx
+bind-key N popup -E -w 95% -h 95% hx ~/Notes
+# bind-key b break-pane -d
bind-key c new-window -c '#{pane_current_path}'
bind-key F new-window -n "session-switcher" "tmux list-sessions | fzf | cut -d: -f1 | xargs tmux switch-client -t"
bind-key p setw synchronize-panes off