spudlyo / clipetty

Manipulate the system (clip)board with (e)macs from a (tty)
GNU General Public License v3.0
167 stars 13 forks source link

How to enable Clipetty in Doom Emacs? #19

Closed whjiang closed 4 years ago

whjiang commented 4 years ago

I am not familiar with elisp. Can you tell me how to configure Doom Emacs to make Clipetty work?

Thanks a lot!

spudlyo commented 4 years ago

Hi there,

There is a good chance that Clipetty will be added to Doom Emacs shortly, and you won't have to make any manual customizations to make it work. Keep an eye on hlissner/doom-emacs/issues/2671 for more details.

whjiang commented 4 years ago

Thanks a lot for the update.

Sent from my iPhone

在 2020年4月1日,上午12:26,Mike Hamrick notifications@github.com 写道:



Hi there,

There is a good chance that Clipetty will be added to Doom Emacs shortly, and you won't have to make any manual customizations to make it work. Keep an eye on hlissner/doom-emacs/issues/2671https://github.com/hlissner/doom-emacs/issues/2671 for more details.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/spudlyo/clipetty/issues/19#issuecomment-606733745, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHMOAKYSDMVECJG6GACTPTRKIKTXANCNFSM4LXGGDLQ.

hlissner commented 4 years ago

hlissner/doom-emacs#2671 was merged a short while ago and is now enabled in tty Emacs by default. No extra steps required, so you may consider this issue resolved.

whjiang commented 4 years ago

I updated to newest Doom and following code (not sure it is necessary or not)

(after! clipetty
    (when (not (display-graphic-p))
      (global-clipetty-mode)
      )
    )

I use ITerm2 and ssh to a machine, the copy function in terminal Emacs works perfectly.

hlissner commented 4 years ago

@whjiang It isn't necessary. Doom activates it for you.

whjiang commented 4 years ago

@whjiang It isn't necessary. Doom activates it for you.

Thanks a lot for the clarification.