@@ 60,9 60,9 @@ bind m set -g mouse \; display 'Mouse #{?mouse,enabled,disabled}'
set -g mode-keys vi
set -g status-keys emacs
bind -T copy-mode-vi v send -X begin-selection
-bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
-if-shell "uname -a | grep -qEi '(Microsoft|WSL)'" " \
- bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'win32yank.exe -i'"
+bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -selection clipboard'
+if-shell "uname -a | grep -qEi '(Microsoft|WSL)'" \
+ "bind -T copy-mode-vi y send -X copy-pipe-and-cancel 'win32yank.exe -i'"
# Create session and window
bind c new-window -ac "#{pane_current_path}"