diff --git a/.config/oh-my-posh/config.yaml b/.config/oh-my-posh/config.yaml index ece6a4b..c73a2fb 100644 --- a/.config/oh-my-posh/config.yaml +++ b/.config/oh-my-posh/config.yaml @@ -3,6 +3,7 @@ version: 2 final_space: true pwd: osc7 disable_cursor_positioning: true +shell_integration: true blocks: - type: prompt alignment: left diff --git a/.tmux.conf b/.tmux.conf index b890397..17d82ee 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -31,8 +31,12 @@ bind -n M-h select-pane -L bind -n M-l select-pane -R bind -n M-Left select-pane -L bind -n M-Right select-pane -R -bind -n M-j select-pane -U -bind -n M-k select-pane -D +# bind -n M-j select-pane -U +# bind -n M-k select-pane -D +bind -T copy-mode-vi M-k send-keys -X cursor-up \; send-keys -X previous-prompt -o \; send-keys -X cursor-up +bind -T copy-mode-vi M-j send-keys -X cursor-down \; send-keys -X next-prompt -o \; send-keys -X cursor-up +bind -n M-k copy-mode \; send-keys -X previous-prompt -o \; send-keys -X cursor-up +bind -n M-j copy-mode \; send-keys -X previous-prompt -o \; send-keys -X cursor-up bind -n M-Up select-pane -U bind -n M-Down select-pane -D bind -n M-1 select-window -t nvim