update
This commit is contained in:
parent
4798d67557
commit
8afc702d08
2 changed files with 21 additions and 30 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
LC_ALL=C GIT_COMMITTER_DATE="$(date --date='07:00 today')" git rebase --exec "git commit --amend --no-edit --date '$(date --date="07:00 today")'"
|
||||
LC_ALL=C GIT_COMMITTER_DATE="$(date --date='07:00 today')" git rebase $1 --exec "git commit --amend --no-edit --date '$(date --date="07:00 today")'"
|
||||
|
|
|
|||
49
tmux.conf
49
tmux.conf
|
|
@ -1,41 +1,32 @@
|
|||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'Nybkox/tmux-kanagawa'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'Morantron/tmux-fingers'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
setw -g mouse on
|
||||
setw -g mode-keys vi
|
||||
|
||||
set -s set-clipboard on
|
||||
set -sg escape-time 5
|
||||
set -sa terminal-features ',xterm-256color:RGB'
|
||||
set -g destroy-unattached on
|
||||
set -g lock-after-time 600
|
||||
set -g lock-command "cmatrix -abs"
|
||||
set -g @kanagawa-show-powerline true
|
||||
set -g @kanagawa-cpu-display-load true
|
||||
set -g @kanagawa-plugins "cpu-usage gpu-usage ram-usage time"
|
||||
set -g @fingers-pattern-filelc '(([.\w\-~\$@]+)?(/[.\w\-@]+)+/?(\:\d+){0,2})'
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
bind C-k clear-history
|
||||
|
||||
setw -g mouse on
|
||||
set -s set-clipboard on
|
||||
set -sg escape-time 5
|
||||
set -g @yank_action 'copy-pipe'
|
||||
set -g @yank_with_mouse off
|
||||
set-option -sa terminal-features ',xterm-256color:RGB'
|
||||
|
||||
unbind [
|
||||
bind-key -n M-x copy-mode
|
||||
|
||||
set -g @kanagawa-show-powerline true
|
||||
set -g @kanagawa-cpu-display-load true
|
||||
set -g @kanagawa-plugins "cpu-usage gpu-usage ram-usage time"
|
||||
|
||||
set -g lock-after-time 600
|
||||
set -g lock-command "cmatrix -abs"
|
||||
|
||||
set -g @fingers-pattern-filelc '(([.\w\-~\$@]+)?(/[.\w\-@]+)+/?(\:\d+){0,2})'
|
||||
|
||||
bind -n C-k send-keys -R \; clear-history
|
||||
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection-no-clear -x
|
||||
bind -n M-f run -b "#{@fingers-cli} start #{pane_id} --patterns filelc --main-action 'xargs nvim_remote'"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
|
||||
set-option -g destroy-unattached on
|
||||
unbind -n MouseDown3Pane
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'Nybkox/tmux-kanagawa'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'Morantron/tmux-fingers'
|
||||
run -b '~/.tmux/plugins/tpm/tpm'
|
||||
|
|
|
|||
Loading…
Reference in a new issue