update
This commit is contained in:
Submodule config/shared/nvim updated: 9f37a379ea...6b4008ca38
@@ -10,6 +10,7 @@ bind C-Space send-prefix
|
||||
set -s escape-time 10
|
||||
set -s focus-events on
|
||||
set -s set-clipboard on
|
||||
set -g allow-passthrough on
|
||||
|
||||
# set -g default-command "${SHELL}"
|
||||
set -g base-index 1 # window index
|
||||
@@ -28,7 +29,8 @@ set -gw pane-base-index 1 # pane index
|
||||
set -g status-style fg=black,bg=default
|
||||
set -g window-status-current-style fg=blue,bold
|
||||
set -g message-style fg=blue,bg=default
|
||||
set -g status-left "#[fg=blue,bold][#{s/^dev-//:#{session_name}}] "
|
||||
# set -g status-left "#[fg=blue,bold][#{s/^dev-//:#{session_name}}] "
|
||||
set -g status-left "#[fg=blue,bold][#{s/^(dev-)?[0-9][0-9]_//:#{session_name}}] "
|
||||
set -g status-right " #{?DF_IMAGE,#{DF_IMAGE} | ,}#{?DF_NAMESPACE,#{DF_NAMESPACE},#H}@#{?DF_PLATFORM,#{DF_PLATFORM},local}"
|
||||
set -g status-left-length 50
|
||||
set -g status-right-length 50
|
||||
@@ -53,6 +55,8 @@ bind -n M-l resize-pane -R 5
|
||||
# Last window instead of session
|
||||
bind ';' last-window
|
||||
|
||||
# Open session
|
||||
|
||||
unbind '"'
|
||||
unbind "%"
|
||||
unbind s
|
||||
@@ -62,8 +66,13 @@ unbind x
|
||||
|
||||
bind s split-window -v -c "#{pane_current_path}"
|
||||
bind v split-window -h -c "#{pane_current_path}"
|
||||
bind o choose-session
|
||||
bind n new-window
|
||||
|
||||
# For some reason, choose-session is what I had before and it was working; however,
|
||||
# it does not appear in man page and does not allow customization
|
||||
# bind o choose-session
|
||||
bind o choose-tree -s -O name
|
||||
bind N new-window
|
||||
bind n new-window -c "#{pane_current_path}"
|
||||
bind c confirm-before -p "kill-pane \#P? (y/n)" kill-pane
|
||||
|
||||
##### Misc #####
|
||||
|
||||
@@ -80,3 +80,6 @@ alias gd='git diff --patience --color-moved=dimmed-zebra --word-diff=plain --fun
|
||||
alias glg='git log --oneline --graph --decorate --all'
|
||||
|
||||
alias k='kubectl'
|
||||
|
||||
# opencode
|
||||
export PATH=/home/tomas/.opencode/bin:$PATH
|
||||
|
||||
Reference in New Issue
Block a user