xahlee / xah-fly-keys

the most efficient keybinding for emacs
http://xahlee.info/emacs/misc/xah-fly-keys.html
484 stars 82 forks source link

Separate keymaps and some cleanup (including merging DanLanglois code) #89

Closed wi11dey closed 4 years ago

wi11dey commented 4 years ago

Hi Xah,

Following up on #88, I have finished merging the DanLanglois code and rewritten a large portion of it to a backwards-compatible implementation and which I believe is cleaner.

As you requested, the changes do not break anything for the user. Specifically, all the instructions on your website will continue to work.

The major changes are:

I have also added a couple sections in the readme to show how to customize in the new way (old way continues to work). You can move these sections to your website too if you would like.

This PR resolves a number of old issues:

There is a lot of merging going on in the commits so it is probably best to look at the final code in the "Files changed" tab. The main style of your code is intact so it should be easy to continue developing it. I have also been using this version for the past week and it's been working well

I will be around to help other users, maintain these changes and answer any questions, just ping me at @wi11dey

xahlee commented 4 years ago

hi, could you join my discord for some discussion? (xah lee discord, just search for it) am getting recursive load error. but i eval'd it and it seems works fine except some glitches.

xahlee commented 4 years ago

another problem now is, after exiting isearch, it becomes insert mode, yet the cursor isn't changed to i beam. (sorry am just writing out my stream of conscious now. partly for my own log of things to fix.)

xahlee commented 4 years ago

the recursive load error is due to

(xah-fly-keys-set-layout "dvorak")

in

;; (add-to-list 'load-path "~/git/xah-fly-keys/") ;; (require 'xah-fly-keys) ;; (xah-fly-keys-set-layout "dvorak") ;; (xah-fly-keys 1)

xahlee commented 4 years ago

am working thru the code. Big thank you for the work. I also need to change my page about customization and how the mode works. Will add credit to my main page when done. Thanks.

wi11dey commented 4 years ago

Thanks for merging and fixing the glitches! I've joined your discord too