From e990807d26dff573aa46378e1d9485c720a175e5 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 5 Nov 2022 12:00:58 +0300 Subject: [PATCH] I do not use select-command-output at all --- tmux/.tmux.conf | 1 - tmux/.tmux/rc/select-command-output | 30 ----------------------------- zsh/.zsh/rc/015prompt.zsh | 2 +- 3 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 tmux/.tmux/rc/select-command-output diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 9a76eee..f73cf92 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -41,4 +41,3 @@ source-file ~/.tmux/rc/urlview source-file ~/.tmux/rc/capture source-file ~/.tmux/rc/menu-various source-file ~/.tmux/rc/menu-fzf -source-file ~/.tmux/rc/select-command-output diff --git a/tmux/.tmux/rc/select-command-output b/tmux/.tmux/rc/select-command-output deleted file mode 100644 index 14534aa..0000000 --- a/tmux/.tmux/rc/select-command-output +++ /dev/null @@ -1,30 +0,0 @@ -bind-key H { - copy-mode - send -X clear-selection - send -X start-of-line - send -X start-of-line - send -X cursor-up - send -X start-of-line - send -X start-of-line - - if -F "#{m:*%\u00A0*,#{copy_cursor_line}}" { - send -X search-forward-text "%\u00A0" - send -X stop-selection - send -X -N 2 cursor-right - send -X begin-selection - send -X end-of-line - send -X end-of-line - if "#{m:*%\u00A0?*,#{copy_cursor_line}}" { - send -X cursor-left - } - } { - send -X end-of-line - send -X end-of-line - send -X begin-selection - send -X search-backward-text "%\u00A0" - send -X end-of-line - send -X end-of-line - send -X cursor-right - send -X stop-selection - } -} diff --git a/zsh/.zsh/rc/015prompt.zsh b/zsh/.zsh/rc/015prompt.zsh index 194cdd5..febf80c 100644 --- a/zsh/.zsh/rc/015prompt.zsh +++ b/zsh/.zsh/rc/015prompt.zsh @@ -9,7 +9,7 @@ PROMPT+="%(1j.%j.)%b" PROMPT+='%U${vcs_info_msg_0_}%u' PROMPT+="%(?.. %S%?%s)" PROMPT+='%(1S. %B${SECONDS}%b.)' -PROMPT+='%B%F{magenta}%#%f%b ' +PROMPT+='%B%F{magenta}%#%f%b ' function zle-line-init zle-keymap-select { local ccolour=red -- 2.44.0