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

core keybindings taking precedence #16

Open
jots opened this issue Sep 14, 2014 · 5 comments
Open

core keybindings taking precedence #16

jots opened this issue Sep 14, 2014 · 5 comments

Comments

@jots
Copy link

jots commented Sep 14, 2014

I installed this package and created ~/.atom/init.coffee with
atom.packages.enablePackage('emacs-mode').activateNow()
in it.
I restarted atom.io

I attempt to go to beginning of line with ctrl-a and the editor selects all.
I hit ctrl-. to see what is happening and it shows core:select-all as first with the emacs keybinding under it.

How can I get these emacs bindings to take precedence?
I also tried cut and pasting them into my keymap.cson but still the "core" is taking precedence.

this is on version 0.128.0 on linux.

also, how to unmap ctrl-x in atom.io so that if next key not typed fast enough it doesn't "cut"
and if I wanted to map escape (then let key up) and then "w" to copy, is it possible?

@fuqcool
Copy link
Owner

fuqcool commented Sep 15, 2014

For your first issue, I have the exact same init.coffee on my mac, and it works fine. I will try it later today on ubuntu 12.
Second issue, the way I can think of is to overwrite ctrl-x as a dummy function. I think it's worth doing in this repo. Again, I don't have this issue coz I'm using a mac :(

Thank you @jots !

@fuqcool
Copy link
Owner

fuqcool commented Sep 16, 2014

Could not setup linux env. But pushed two commits, which I think will fix the issue.

Release pulished. Can you please verify it ? @jots

@jordan0day
Copy link

Can confirm that at least some of the keybindings are still not working, atom 0.128.0, emacs-mode 0.0.29, on Ubuntu 14.04. ctrl-a and ctrl-e are both not working (ctrl-a selects all, ctrl-e brings up the "find in current buffer" tool).

My init.coffee only contains one line:
atom.packages.activatePackage 'emacs-mode'

@otavio
Copy link

otavio commented Dec 31, 2014

I am having same issue; ctrl-e brings find, instead of going to the end of file.

@johnjelinek
Copy link

ctrl+e still not working.

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

5 participants