From 8c8864a883ddbf4412dd24d7f10396b3aca1ba18 Mon Sep 17 00:00:00 2001 From: David Chen Date: Thu, 26 Mar 2020 12:01:18 -0700 Subject: [PATCH] lazygit and tmux config update --- .tmux.conf | 12 +++++++----- jesseduffield/lazygit/config.yml | 7 ++++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 110a531..935a6b0 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -65,7 +65,7 @@ set -g status-interval 1 bind C-c new-session # window management -bind -n M-o new-window +bind -n M-o new-window -c "#{pane_current_path}" bind -n M-O break-pane bind -n M-Q kill-pane @@ -85,10 +85,10 @@ unbind 0 bind -r C-p previous-window bind -r C-n next-window -bind u split-window -vb -bind e split-window -v -bind n split-window -hb -bind i split-window -h +bind u split-window -vb -c "#{pane_current_path}" +bind e split-window -v -c "#{pane_current_path}" +bind n split-window -hb -c "#{pane_current_path}" +bind i split-window -h -c "#{pane_current_path}" bind -n M-1 select-window -t 1 bind -n M-2 select-window -t 2 @@ -211,6 +211,8 @@ run-shell ~/.config/tmux/extrakto/extrakto.tmux #set-option -g status-utf8 on #set -g status-left '#(rainbarf --battery --remaining --bolt --rgb)' +set-option default-path "$PWD" + # EOF # bind_with_sys_clipboard() { diff --git a/jesseduffield/lazygit/config.yml b/jesseduffield/lazygit/config.yml index 177fde0..621fcdd 100644 --- a/jesseduffield/lazygit/config.yml +++ b/jesseduffield/lazygit/config.yml @@ -4,10 +4,13 @@ git: merging: manualcommit: false skiphookprefix: WIP + paging: + colorArg: always + pager: delta --dark --paging=never --24-bit-color=never gui: commitlength: show: true - mouseevents: true + mouseevents: false scrollheight: 2 scrollpastbottom: true theme: @@ -37,6 +40,8 @@ keybinding: scrollDownMain-alt1: 'E' scrollUpMain-alt2: '' scrollDownMain-alt2: '' + undo: '' + redo: '' files: ignoreFile: 'I' commits: