+Keybind, and a context field

+<C-x h> for marking whole buffer
+Context field for easier grepping
This commit is contained in:
oreodave
2019-08-17 03:33:04 +01:00
parent ac04d7f3a6
commit 09487af73a

View File

@@ -7,14 +7,15 @@ This is my [[https://github.com/hlissner/doom-emacs][Doom Emacs]] configuration,
possibe. It is currently my main C# and Python editor but hopefully it will
become my C one soon!
* Keybinds and tricks
|-------------+-----------------------------------------------------------------------------------------------------------------------------------|
| Bind | Use |
|-------------+-----------------------------------------------------------------------------------------------------------------------------------|
| *<C-c '>* | to edit a src block in org |
| *<C-c C-o>* | when in a counsel buffer to read the buffer results into another buffer, so you can read it and do normal vim stuff with it |
| *<C-c C-p>* | when in a results buffer to edit results buffer. You can edit specific items or the entire thing using a regex. Incredibly useful |
| *<C-o>* | When you've gone to some line or definiton, go back to previous place |
|-------------+-----------------------------------------------------------------------------------------------------------------------------------|
|-------------+----------------------------------------------------------------------------------------------------------+-----------------|
| Bind | Use | Context |
|-------------+----------------------------------------------------------------------------------------------------------+-----------------|
| *<C-c '>* | To edit a src block | Org |
| *<C-c C-o>* | To read the buffer results into a traversible buffer, so you can read it and do normal vim stuff with it | Counsel |
| *<C-c C-p>* | To edit results buffer. You can edit specific items or the entire thing using a regex. Incredibly useful | Counsel results |
| *<C-o>* | When you've gone to some line or definiton, go back to previous place | Normal |
| *<C-x h>* | Mark whole buffer for copying | Normal |
|-------------+----------------------------------------------------------------------------------------------------------+-----------------|
* Global variables
#+BEGIN_SRC emacs-lisp
(setq doom-localleader-key ",")