-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy/paste slowness with osx configuration layer in terminal #2049
Comments
This is slow right from the start or does it become slow after some time ? |
Hi @syl20bnr, Emacs: 24.5.1 (installed via I tried to remove as much as possible from my
|
@fedragon, I've had this problem and the solution for me was to use Add
After this you can use regular VIM key-bindings for pasting ( |
thank you @env0der I will try this as soon as I can! |
Uhm I get |
@fedragon did you add it to list of packages in Take a look at https://github.com/env0der/dotemacs/blob/spacemacs/env0der/packages.el#L27 |
@env0der I figured out the issue, there is a small typo in your example: Besides this, it works like a charm! Maybe you could fix your code examples above, in case anybody else needs this :) Thank you very much again! |
@fedragon, good catch, thanks! |
Can't reproduce it even with copying buffer that contains 24337 lines. Copies instantly, pastes instantly. iTerm2, Terminal.app. But El Capitan. |
@d12frosted thanks for taking a look! I haven't upgraded to El Capitan yet but I do update spacemacs on a regular basis and I still have this issue... not sure how to give you more context. |
@fedragon so pbcopy doesn't work for you as good as osx-clipboard, huh? Looks like @syl20bnr have you considered using |
@d12frosted looking at the osx-clipboard source code, I would think that it uses pbcopy under the hood:
|
@d12frosted no problem, actually thanks for explaining! |
@fedragon @d12frosted Any changes on this. If I use |
@codedmart I'm not using Spacemacs on a daily basis these days so I cannot confirm it unfortunately |
@codedmart never use I know that habits are hard to change, but using |
I've had the |
this is a bit anecdotal but fwiw.. when i have the osx layer enabled, pasting takes as long as it would take to start a new shell. i.e. if i put something silly in my .zshenv that takes 3 minutes, then pasting in emacs will take 3 minutes. |
This just started happening to me. Like today. All of a sudden, out of nowhere, both copy and paste in spacemacs in OSX take forever. And I haven't changed any major configuration---seriously the only thing I can think of that I've done is move some environment variables around. And for me, it happens in GUI, and happens both with standard osx control-v keybindings and with vim keybindings. After commenting out the osx layer and restarting the problem resolves. |
@paultopia The environment variables may be it. My issue was the same as @hooleyhoop described, my shell was talking awhile to start. I've dramatically reduced my startup time and now copying and pasting is working fine for me. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Hi,
I recently installed Spacemacs and I'm very happy with it but I have some issues with the
osx
configuration layer, when running from terminal: if I enable it, any copy/paste operation becomes very slow (2-3 seconds). On the other hand, withoutosx
layer,clipboard-kill-region
orclipboard-yank
execute instantly.I'm running Spacemacs in Yosemite from iTerm2, inside or outside
tmux
(it does not seem to make a difference on this regard). As I mentioned, I don't have this issue with the GUI app.@syl20bnr Thank you for creating Spacemacs by the way, it's amazing!
The text was updated successfully, but these errors were encountered: