fuqcool / atom-emacs-mode

MIT License
19 stars 9 forks source link

core keybindings taking precedence #16

Open jots opened 10 years ago

jots commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 9 years ago

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

johnjelinek commented 9 years ago

ctrl+e still not working.