atom-emacs-mode icon indicating copy to clipboard operation
atom-emacs-mode copied to clipboard

core keybindings taking precedence

Open jots opened this issue 9 years ago • 5 comments

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?

jots avatar Sep 14 '14 00:09 jots

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 avatar Sep 15 '14 16:09 fuqcool

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

Release pulished. Can you please verify it ? @jots

fuqcool avatar Sep 16 '14 20:09 fuqcool

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'

jordan0day avatar Sep 22 '14 19:09 jordan0day

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

otavio avatar Dec 31 '14 18:12 otavio

ctrl+e still not working.

johnjelinek avatar Mar 05 '15 00:03 johnjelinek