Skip to content

Commit

Permalink
tmux: add new characters to word separator list
Browse files Browse the repository at this point in the history
Added '()' to the list. It's annoying when grepping for functions in
code.

Signed-off-by: Nuno Sá <[email protected]>
  • Loading branch information
nunojsa committed Feb 2, 2023
1 parent 3eb6cd9 commit ae4de5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bind p paste-buffer
set-option -g prefix C-x
bind-key C-x send-prefix

setw -g word-separators ' ,;'
setw -g word-separators ' ,;()'
# This allows for middle mouse paste (from other apps) without having to press shift.
bind -n MouseDown2Pane run "tmux set-buffer -b primary_selection -- \"$(xsel -o)\"; \
tmux paste-buffer -b primary_selection; tmux delete-buffer -b primary_selection"
Expand Down

0 comments on commit ae4de5d

Please sign in to comment.