Skip to content

Commit 653d82c

Browse files
committed
add @ as a file path char
common in node development
1 parent b74491f commit 653d82c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.tmux.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bind -n C-M-k copy-mode
4242
# TODO some broken aspects of this plugin https://github.com/tmux-plugins/tmux-copycat/issues/57#issuecomment-1556043057
4343
# other ideas: https://github.com/tmux-plugins/tmux-copycat/issues/57
4444
# this search below allows for more strict file matching
45-
set -g @copycat_search_C-f '[a-zA-Z0-9_./-]+$'
45+
set -g @copycat_search_C-f '[a-zA-Z0-9_./-@]+$'
4646

4747
# push fastcopy into macos clipboard
4848
set-option -g @fastcopy-action pbcopy
@@ -83,7 +83,7 @@ set -g default-terminal "xterm-256color"
8383
set-option -ga terminal-overrides ",xterm-256color:Tc"
8484

8585
# modify file regex to include line and column numbers
86-
set-option -g @fastcopy-regex-path "(?:[\\w\\-\\.]+|~)?(?:/[\\w\\-\\.]+){2,}(?:\\:\\d+)?(?:\\:\\d+)?\\b"
86+
set-option -g @fastcopy-regex-path "(?:[\\w\\-\\.]+|~)?(?:/[\\w\\-\\.@]+){2,}(?:\\:\\d+)?(?:\\:\\d+)?\\b"
8787
set-option -g @fastcopy-shift-action '/Users/mike/.open-file-path.sh {}'
8888

8989
# easily jump to prompt starts

0 commit comments

Comments
 (0)