This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # admin-announcements (296)
- # beginners (19)
- # boot (40)
- # cider (77)
- # clojure (139)
- # clojure-australia (2)
- # clojure-bangladesh (6)
- # clojure-dev (19)
- # clojure-japan (25)
- # clojure-russia (23)
- # clojure-sg (1)
- # clojure-uk (4)
- # clojurescript (131)
- # datomic (41)
- # editors (42)
- # ldnclj (35)
- # off-topic (11)
- # reagent (10)
pretty much all the Lisp modes use
C-c C-e/`C-x C-e` and we have to respect this tradition
But it's not extremely common. The only major mode I can think of that uses it org mode. But I don't think there's any reason not to use it (other than the fact that some people use C-j/m instead of RET).
@bozhidar: I'd really appreciate not using
Super for emacs modes by default. As many users do, I've bound
Super for all window manager related things because that's the only left modifier key on my keyboard which surely won't clash with any emacs key.
@bozhidar: If you're really running out of keys, then an option would be to use Magit's popup dispatch functionality. With the new Magit 2.1.0 release, that has been pulled out into its own package magit-popup to be used by others.
I quite like the magit-popup, since it helps with discoverability while not being in my way - if I know the keybindings, I can press them really fast and not be bothered by the popups
I don't really see how they would help with the vanishing of keyboard realestate, but they are fantastic for discoverability
btw, here’s one important change for ClojureScript users https://github.com/clojure-emacs/cider/pull/1195#issuecomment-120888507
hydras should also serve the same benefit, and might be more lightweight (and perhaps easier to setup) than magit's popups
(defcustom clojure-defun-style-default-indent nil "When non-nil, use default indenting for functions and macros. Otherwise check `define-clojure-indent' and `put-clojure-indent'." :type 'boolean :group 'clojure :safe 'booleanp)
I think its kind of ironic to try to be common with emacs when that makes you uncommon with 99% of the rest of the tools of the world hehe
(not being an ass here I just really believe that we should release a common emacs with keybindings everyone else uses)
> (not being an ass here I just really believe that we should release a common emacs with keybindings everyone else uses) I think there are several of those out there
Anyway, keybinds are the easiest thing to move around. I'm 100% in favor of having an option or a mode that switches Cider's keybinds to care less about Emacs and more about what other IDE's do
I'd even write it myself if someone just gave me a table listing
cider commands with
key used by other IDEs
@malabarba: I’m fine with having some ide-style keymap if enough people are really into this
I don't really have the time to go and find out the keylist of other editors and then figure out which operations correspond to cider commands. But if someone gives be a list of keys with corresponding cider commands, I can transform it to code in 15 min.
The big ones I instinctively do now and then are: CMD-Enter to Execute CMD-D to duplicate CMD+<arrow keys> to move text around
I'd want ctrl+s for save, ctrl+c for copy, ctrl+v for paste hehe yes I know of the terminology of yank, kill, and whatever M-w is called ?whack?
Is there any way to re-run a test when I'm in a different namespace? I often want run a test, see that it fails, switch to the implementation and make my changes and would love to be able to just re-run the last test from that buffer, rather than having to switch back to the test namespace to run it.
@voxdolo not as simple as
run-last-test, but it seems like you should just be able to run