The current implementation of x-select-enable-clipboard calls x-select-text for all cursor movement with a selection. This is not the behavior when using non-evil mode. Basically, emacs takes over my clipboard history unless the below patch is done. I'm on a Mac and use Alfred clipboard history.

My change below in bold seems to fix this issue. 

1. Is this the right thing to do?
2. Is there a contributions info page that explains how to contribute to this project. I'm familiar with github forks and pull requests.

Thanks,

Justin


(setq x-select-enable-clipboard nil)
(defun evil-visual-update-x-selection (&optional buffer)
  "Update the X selection with the current visual region."
  (let ((buf (or buffer (current-buffer))))
    (when (buffer-live-p buf)
      (with-current-buffer buf
        (when (and (evil-visual-state-p)
                   (fboundp 'x-select-text)
                   (or (not (boundp 'ns-initialized))
                       (with-no-warnings ns-initialized))
                   (not (eq evil-visual-selection 'block)))
          ;; CHANGE
          ;; ONLY call x-select-text if x-select-enable-clipboard is true
          (if x-select-enable-clipboard
              (x-select-text (buffer-substring-no-properties
                              evil-visual-beginning
                              evil-visual-end))))))))



-- 
Justin Gordon | 808-877-6461 | m: 808-281-7272
www.railsonmaui.com | twitter: @railsonmaui | sugarranchmaui.com | Sugar Ranch Blog
Web Bug from https://app.yesware.com/t/01f8a3b0f626a666c63298de8542e8c14f180be4/03ec772d874609c379e5b77c4a04944e/spacer.gifWeb Bug from http://app.yesware.com/t/01f8a3b0f626a666c63298de8542e8c14f180be4/03ec772d874609c379e5b77c4a04944e/spacer.gif