This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-21
Channels
- # 100-days-of-code (1)
- # announcements (2)
- # beginners (164)
- # cider (23)
- # cljs-dev (30)
- # cljsjs (11)
- # cljsrn (7)
- # clojure (116)
- # clojure-boston (1)
- # clojure-dev (20)
- # clojure-finland (2)
- # clojure-italy (4)
- # clojure-nl (1)
- # clojure-uk (10)
- # clojurescript (39)
- # core-async (19)
- # cursive (43)
- # data-science (2)
- # datomic (24)
- # emacs (10)
- # figwheel-main (20)
- # fulcro (63)
- # hoplon (7)
- # hyperfiddle (7)
- # instaparse (3)
- # kaocha (1)
- # nrepl (3)
- # off-topic (170)
- # onyx (13)
- # other-languages (3)
- # parinfer (13)
- # re-frame (39)
- # reagent (5)
- # reitit (22)
- # ring-swagger (4)
- # shadow-cljs (284)
- # spacemacs (2)
- # sql (27)
- # testing (28)
- # unrepl (2)
Is there an emacs package that interactively suggests more efficient/idiomatic ways of navigating? e.g. you hit M-C-b three times to get to the beginning of the line, and something shows up saying "Save two keystrokes with (back-to-indentation) M-m"
Hmm, like an automated Emacs Golf training 🙂
I personally do not know if that makes much sense. Emacs can't compete with Vim or Kakoune or others when it comes to that. But, if your objective is to reduce the amount of keystrokes without changing to Evil, you can try god-mode (https://melpa.org/#/god-mode) if you haven't.
I really like Emacs defaults honestly, abusing moving by sexps and lists when editing code and by paragraphs and sentences when editing text. Making seldom use of avy (https://melpa.org/#/god-mode) to jump to words or lines when things are really distant.
I couldn't find it, but ever since I read Mickey Petersen (of https://masteringemacs.org/ fame) mention that he used and abused isearch (I believe it was him at least :thinking_face:), I realized it is extremely powerful and have used and abused to move around as well. I even use it to select regions by setting a mark and doing a search. It's awesome and very fast.
Add to that the stuff bound to M-s
, imenu
and helm-occur
and I don't miss a thing when it comes to moving with clarity and good speed, even if its not exactly saving me keystrokes.
Possibly relevant: https://masteringemacs.org/article/discoverel-discover-emacs-context-menus and https://masteringemacs.org/article/searching-buffers-occur-mode
I realize this wasn't an answer to your question (the answer is probably that such package doesn't exist, but the things closer to aiding you in discoverability are probably good old tutorials, guides and tricks), but hope it may help somehow.
One last tip: I believe the most important thing when optimizing your editing flow is to do it slowly for a long time, taking the time to consider what you're actually trying to achieve. Emacs has a lot of stuff going on as you know, and it takes time to actually value and integrate its working logic with ours. By the time you are confident enough to go fast, you will be moving in a very efficient way and using the right tools for each operation.
And I personally used it for years before I consciously decreased my speed in order to reflect on what I was trying to achieve, so even if you have a lot of time of Emacs, you may not have given that possibility a serious try.
This is good advice. It's hard to slow down when you're on the clock. I find that when I sit down in my own time, and use it with no goals in mind I end up learning the most.
don't think so, but emacs gives you a suggestion when you run a function with M-x, when that function is bound to keys, it will tell you that you can run it with a keysequence. You can get a package that autocompletes keysequences, you write C-c and you get a list of keysequences. But I recommend asking here for finding more efficient ways to do things.