From: Sergey Matveev <stargrave@stargrave.org>
Date: Sat, 5 Nov 2022 09:00:58 +0000 (+0300)
Subject: I do not use select-command-output at all
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e990807d26dff573aa46378e1d9485c720a175e5;p=dotfiles.git

I do not use select-command-output at all
---

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