practicalli

https://practicalli.github.io/ http://yt.vu/+practicalli (youtube)
2020-12-04T20:02:24.200500Z

Many thanks for making this. I’ve been watching bits of it today in between re:Clojure talks. I’ve already learned a few things (and I’ve been using Spacemacs for a while now). One thing that I’m struggling with is key bindings. I’m using the emacs key bindings (I never learned vi/vim). I assumed that the key bindings for Spacemacs things would be the same, with <space> replaced by meta-m but there were a few things that you do in the video that I can’t figure out. I guess the question is, how do I actually look up the key bindings for stuff like cider and clojure-mode in Spacemacs? I guess I can do C-h b and then search through a really long list of things. Is that the best way?

practicalli-john 2020-12-04T21:38:07.202300Z

@cdpjenkins SPC SPC is the same as M-x and in fact I am sure M-x is the usual Emacs command. Using that and typing a pattern will fuzzy match on names. If you do that in the relevant major mode it will show the key bindings next to the commands it lists (assuming they have key bindings). A command may only have a key binding in a particular major mode. TAB in the list of commands will show the docs for the command under the cursor without having to select the command

practicalli-john 2020-12-04T21:48:52.212400Z

When developing Clojure, use M-RET or M-m m in Emacs state to select the major mode menu (this is the same as when I use , in Evil normal state). This major mode will give you access to all the Cider related commands. When you see me do , e f to evaluate an expression you would do M-RET e f or M-m m e f

practicalli-john 2020-12-04T21:52:13.214400Z

SPC h d is a menu with key bindings for describing all sorts of Emacs things... commands, variables, faces, etc.

practicalli-john 2020-12-04T21:53:09.215700Z

If there is anything that’s not clear, just share the time index on the video and happy to elaborate