mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +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
|
||||
|
||||
# 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() {
|
||||
|
|
|
|||
|
|
@ -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: '<c-u>'
|
||||
scrollDownMain-alt2: '<c-e>'
|
||||
undo: '<c-z>'
|
||||
redo: '<c-r>'
|
||||
files:
|
||||
ignoreFile: 'I'
|
||||
commits:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue