diff --git a/.bashrc b/.bashrc index 528d9f8..06376d4 100644 --- a/.bashrc +++ b/.bashrc @@ -80,7 +80,7 @@ if [ "$color_prompt" = yes ]; then prompt_symbol=πŸ’€ fi PROMPT_COMMAND='if [[ $? != 0 && $? != 130 ]];then echo -e "⚠️\a";else echo -e "\a";fi' - PS1="$chrome_colorβ”Œβ”€β”€"'${debian_chroot:+('${path_color}'$debian_chroot'${chrome_color}')─}${VIRTUAL_ENV:+('${path_color}'$(realpath $VIRTUAL_ENV --relative-to $PWD --relative-base /home)'${chrome_color}')─}'"[${context_color}\u${chrome_color}${prompt_symbol}${context_color}\h${chrome_color}]─(${path_color}\w${chrome_color})\n${chrome_color}β””${context_color}${prompt}${color_off} \e[1 q" + PS1="$chrome_colorβ”Œβ”€β”€"'${debian_chroot:+('${path_color}'$debian_chroot'${chrome_color}')─}${VIRTUAL_ENV:+('${path_color}'$(realpath $VIRTUAL_ENV --relative-to $PWD --relative-base /home)'${chrome_color}')─}'"[${context_color}\u${chrome_color}${prompt_symbol}${context_color}\h${chrome_color}]─(${path_color}\w${chrome_color})\n${chrome_color}β””${context_color}${prompt}${color_off} " PS2="$chrome_colorβ””>$color_off " export VIRTUAL_ENV_DISABLE_PROMPT=1 diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 61199ad..31b3653 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,6 +1,3 @@ -# Allow cursor passthrough -set -g allow-passthrough on - # Custom Prefix set -g prefix C-space bind-key C-space send-prefix @@ -68,10 +65,10 @@ set -g @open-S 'https://search.brave.com/search?q=' # Integrate with nvim navigation set -g @plugin 'christoomey/vim-tmux-navigator' -set -g @vim_navigator_mapping_left "C-Left" # C-h" -set -g @vim_navigator_mapping_right "C-Right" # C-l" -set -g @vim_navigator_mapping_up "C-Up" # C-k" -set -g @vim_navigator_mapping_down "C-Down" # C-j" +set -g @vim_navigator_mapping_left "C-Left C-h" +set -g @vim_navigator_mapping_right "C-Right C-l" +set -g @vim_navigator_mapping_up "C-Up C-k" +set -g @vim_navigator_mapping_down "C-Down C-j" # Load Plugins run '~/.tmux/plugins/tpm/tpm' diff --git a/.zshrc b/.zshrc index a51ea3c..9251aa9 100644 --- a/.zshrc +++ b/.zshrc @@ -7,41 +7,6 @@ unsetopt beep bindkey -v # End of lines configured by zsh-newuser-install -# Configure cursor -function zle-keymap-select { - #RPS1="${${KEYMAP/vicmd/-- NORMAL --}/(main|viins)/-- INSERT --}" - #RPS2=$RPS1 - zle reset-prompt - - case $KEYMAP in - vicmd) - # vim Normal mode - echo -ne '\e[1 q' - ;; - viins) - # vim Insert mode - echo -ne '\e[3 q' - ;; - *) - # Default mode - echo -ne '\e[3 q' - ;; - esac -} -zle -N zle-keymap-select - -function zle-line-init { - # New prompt. Reset cursor to underline - echo -ne '\e[3 q' -} -zle -N zle-line-init - -function zle-line-finish { - # Prompt complete. Reset cursor to underline - echo -ne '\e[3 q' -} -zle -N zle-line-finish - # SSH completion zstyle ':completion:*:(ssh|scp|ftp|sftp|rsync):*' hosts $hosts