Tmux plugin: tmux-picker
From wikinotes
Setup
diff --git a/tmux-picker.tmux b/tmux-picker.tmux index 27bd587..f475aa3 100755 --- a/tmux-picker.tmux +++ b/tmux-picker.tmux @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# << CUSTOM_PATCHED >> # # HELPERS @@ -27,7 +28,7 @@ function array_join() { # # Every pattern have be of form ((A)B) where: -# - A is part that will not be highlighted (e.g. escape sequence, whitespace) +# - A is part that will not be highlighted (e.g. escape sequence, whitespace) # - B is part will be highlighted (can contain subgroups) # # Valid examples: @@ -75,7 +76,7 @@ BLACKLIST=( # "-n M-f" for Alt-F without prefix # "f" for prefix-F -PICKER_KEY="-n M-f" +PICKER_KEY="-n M-d" set_tmux_env PICKER_PATTERNS1 $(array_join "|" "${PATTERNS_LIST1[@]}") set_tmux_env PICKER_PATTERNS2 $(array_join "|" "${PATTERNS_LIST2[@]}") @@ -85,7 +86,7 @@ set_tmux_env PICKER_COPY_COMMAND "xclip -f -in -sel primary | xclip -in -sel cli set_tmux_env PICKER_COPY_COMMAND_UPPERCASE "bash -c 'arg=\$(cat -); tmux split-window -h -c \"#{pane_current_path}\" vim \"\$arg\"'" #set_tmux_env PICKER_HINT_FORMAT $(process_format "#[fg=color0,bg=color202,dim,bold]%s") -set_tmux_env PICKER_HINT_FORMAT $(process_format "#[fg=black,bg=red,bold]%s") +set_tmux_env PICKER_HINT_FORMAT $(process_format "#[fg=black,bg=cyan,bold]%s") set_tmux_env PICKER_HINT_FORMAT_NOCOLOR "%s" #set_tmux_env PICKER_HIGHLIGHT_FORMAT $(process_format "#[fg=black,bg=color227,normal]%s")