Skip to content
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

feature request - mark with mouse optional #185

Open
olenm opened this issue Aug 23, 2018 · 3 comments
Open

feature request - mark with mouse optional #185

olenm opened this issue Aug 23, 2018 · 3 comments

Comments

@olenm
Copy link

olenm commented Aug 23, 2018

I would like to make this feature optional, from the README:

If you use the mouse to make a selection, it will set the mark at the beginning of your selection point will be at the end, thus your emacs region and selection will be the same.

(I am currently using this on a Mac)

The reason is when I mark a selection with the mouse and copy with Command+C, the selection unselects after the copy (and I find this terribly frustrating) - maybe this is a bug?

@olenm
Copy link
Author

olenm commented Aug 23, 2018

made a local-workaround:

file: jove.py
line: 127
if cmd == 'drag_select' and settings_helper.get("disable_mouse_drag_set_mark", False) == False:

@canoeberry
Copy link
Collaborator

Hi,

I was away on holiday. I cannot see why the selection is erased after a copy. I should probably try to fix that.

Meanwhile, how does your work-around help this problem?

Also do you use CMD-W to copy the selection or CMD-C? CMD-C means capitalise word, unless you are not using the super bindings ...

@olenm
Copy link
Author

olenm commented Nov 7, 2018

The work around does not really work; I was tinkering with it some time ago (on mac and windows) and did not have any great success.
I believe I removed the work around, as alt-tabbing into a document twice (or clicking in it several times) caused the selection-creating mode to lock on, it was less fun.

I've cheated and disabled a handful of re-keybindings (sadly I've remembered OS level default copy-paste shortcuts).
My initial use-case for this plugin was the splitting of windows and navigating through them (which is better than subl out of box) - I'm always opening the same file in multiple locations in a side-panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants