mirror of
https://github.com/theniceboy/.config.git
synced 2026-07-16 22:01:21 +08:00
lazygit and tmux config update
This commit is contained in:
parent
59c3621317
commit
8c8864a883
2 changed files with 13 additions and 6 deletions
12
.tmux.conf
12
.tmux.conf
|
|
@ -65,7 +65,7 @@ set -g status-interval 1
|
||||||
bind C-c new-session
|
bind C-c new-session
|
||||||
|
|
||||||
# window management
|
# 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-O break-pane
|
||||||
bind -n M-Q kill-pane
|
bind -n M-Q kill-pane
|
||||||
|
|
||||||
|
|
@ -85,10 +85,10 @@ unbind 0
|
||||||
bind -r C-p previous-window
|
bind -r C-p previous-window
|
||||||
bind -r C-n next-window
|
bind -r C-n next-window
|
||||||
|
|
||||||
bind u split-window -vb
|
bind u split-window -vb -c "#{pane_current_path}"
|
||||||
bind e split-window -v
|
bind e split-window -v -c "#{pane_current_path}"
|
||||||
bind n split-window -hb
|
bind n split-window -hb -c "#{pane_current_path}"
|
||||||
bind i split-window -h
|
bind i split-window -h -c "#{pane_current_path}"
|
||||||
|
|
||||||
bind -n M-1 select-window -t 1
|
bind -n M-1 select-window -t 1
|
||||||
bind -n M-2 select-window -t 2
|
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-option -g status-utf8 on
|
||||||
#set -g status-left '#(rainbarf --battery --remaining --bolt --rgb)'
|
#set -g status-left '#(rainbarf --battery --remaining --bolt --rgb)'
|
||||||
|
|
||||||
|
set-option default-path "$PWD"
|
||||||
|
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
# bind_with_sys_clipboard() {
|
# bind_with_sys_clipboard() {
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,13 @@ git:
|
||||||
merging:
|
merging:
|
||||||
manualcommit: false
|
manualcommit: false
|
||||||
skiphookprefix: WIP
|
skiphookprefix: WIP
|
||||||
|
paging:
|
||||||
|
colorArg: always
|
||||||
|
pager: delta --dark --paging=never --24-bit-color=never
|
||||||
gui:
|
gui:
|
||||||
commitlength:
|
commitlength:
|
||||||
show: true
|
show: true
|
||||||
mouseevents: true
|
mouseevents: false
|
||||||
scrollheight: 2
|
scrollheight: 2
|
||||||
scrollpastbottom: true
|
scrollpastbottom: true
|
||||||
theme:
|
theme:
|
||||||
|
|
@ -37,6 +40,8 @@ keybinding:
|
||||||
scrollDownMain-alt1: 'E'
|
scrollDownMain-alt1: 'E'
|
||||||
scrollUpMain-alt2: '<c-u>'
|
scrollUpMain-alt2: '<c-u>'
|
||||||
scrollDownMain-alt2: '<c-e>'
|
scrollDownMain-alt2: '<c-e>'
|
||||||
|
undo: '<c-z>'
|
||||||
|
redo: '<c-r>'
|
||||||
files:
|
files:
|
||||||
ignoreFile: 'I'
|
ignoreFile: 'I'
|
||||||
commits:
|
commits:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue