From bb579c7d3ddcfb4ea5139768ad824f349cdd468d Mon Sep 17 00:00:00 2001 From: Will Richardson Date: Wed, 28 Feb 2024 08:44:50 +0000 Subject: [PATCH] Shortcuts --- git/jjconfig.toml | 1 + tmux/tmux.conf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/git/jjconfig.toml b/git/jjconfig.toml index 972c42b..4608b1a 100644 --- a/git/jjconfig.toml +++ b/git/jjconfig.toml @@ -17,3 +17,4 @@ setmain = ["branch", "set", "main", "-r", "@-"] sync = ['git', 'fetch', '--all-remotes'] evolve = ['rebase', '-d', 'main'] push = ['git', 'push', '--all'] +ig = ['git', 'init', '--git-repo=.'] diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 1c905fb..2aa6ed9 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -24,8 +24,8 @@ set -g focus-events on set -g allow-rename on # SHORTCUTS -bind c new-window -c '#{pane_current_path}' -bind -n M-c new-window -c '#{pane_current_path}' +bind c new-window -c '#{pane_current_path}' -a -t '{next}' +bind -n M-c new-window -c '#{pane_current_path}' -a -t '{next}' bind -n M-z resize-pane -Z bind x confirm-before -p "kill-pane #P? (y/n)" kill-pane