Fork me on GitHub
#emacs
<
2015-09-24
>
jonschoning02:09:53

Alt-w and crtl-y was hard to get used to.. just installed evil-mode instead

jonschoning02:09:29

Do folks really use those keybindings?

jcsims02:09:02

The default emacs key bindings tend to work all over the place in OSX, so they've become muscle memory for me.

jonschoning02:09:14

ah, that must help, yes

asolovyov06:09:14

hey all! So I'm learning cider-repl mode, and M-r (which is prev-matching-input) is overshadowed by M-r from paredit. I wonder if there is an easy way to bring cider's binding on top?

redbeardymcgee14:09:14

@asolovyov: it occurs to me that the most convenient option is to make your own keymap

redbeardymcgee14:09:52

makes for an easy way to toggle back and forth as well

asolovyov14:09:57

yeah, I guess that's easiest workaround

redbeardymcgee14:09:34

@asolovyov: if you just want to do this for clojure-mode, you can toss a lambda to rebind it into the clojure-mode-hook

redbeardymcgee14:09:42

without the whole keymap

redbeardymcgee14:09:25

i'm not sure if you can just unbind it from paredit's keymap and then cider's keymap will be left

redbeardymcgee14:09:34

but could be worth a try

asolovyov14:09:40

redbeardymcgee: ah, I guess I can!

asolovyov14:09:53

never used that keybinding

asolovyov14:09:00

M-<uparrow> does the same though

asolovyov14:09:49

that's different functions (paredit-splice-sexp-killing-backward and paredit-raise-sexp), but I don't see any difference

redbeardymcgee14:09:30

(add-hook 'clojure-mode-hook (lambda () (define-key paredit-mode-map (kbd "M-r") nil)))

redbeardymcgee14:09:24

i don't use paredit so i don't know the keymap name