]> Sergey Matveev's repositories - dotfiles.git/commitdiff
I do not use select-command-output at all
authorSergey Matveev <stargrave@stargrave.org>
Sat, 5 Nov 2022 09:00:58 +0000 (12:00 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 5 Nov 2022 09:00:58 +0000 (12:00 +0300)
tmux/.tmux.conf
tmux/.tmux/rc/select-command-output [deleted file]
zsh/.zsh/rc/015prompt.zsh

index 9a76eeefc02a0e6e28314d82344b3d5075bb61b6..f73cf92e5b609739ed109760f32d993c7bb1bb5b 100644 (file)
@@ -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 (file)
index 14534aa..0000000
+++ /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
-    }
-}
index 194cdd5e838cbad190036bc9f4b6e31ba83fe2c3..febf80c5ce462bbdb405e06af0ac67d325366f19 100644 (file)
@@ -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