Also "psp" binding which should point to `spacemacs/helm-projectile-pt`
Switch from using `helm-projectile-ack` to
`spacemacs/helm-projectile-ack` to take advantage of `helm-ag`.
As this includes 4 levels of headings, the tag that needs to be used is
:TOC@4:. Now every time one saves this file, the TOC is automatically
generated. There is an interesting feature from toc-org that enables
users to use org links or GitHub enabled
[links](https://github.com/snosov1/toc-org#use)
we should discuss how to use it because on one hand, having org links
makes it easier to read in emacs, while having GitHub links makes it
easier to read online.
- Use `~` marker to represent key bindings. The `~` and `=` markers are
equivalent in Emacs: `=` uses `org-verbatim verbatim` faces, while `~`
uses `org-code verbatim)`, but both `org-verbatim` and `org-code` is
inherited from `shadow` face. So we can use `~` marker for this purpose.
`~` marker is also displayed properly on Github, since it's part of
standard Emacs, so no web functionality is broken.
- Add org-kbd face for displaying key bindings.
- Update CHANGELOG.org: use the proper `~` marker for key bindings.
- Update VIMUSERS.org: use the proper `~` marker for key bindings.
Using the prefix argument does not work nicely with evil since it is
already used to paste several times. Instead we use the universal
argument. To make it work with the evil functions we have to do some
trick to hide the universal argument temporarily (see around advice).
I found myself in <kbd>SPC : customize</kbd> without knowing how to switch out of it again when I was done, there was no menubar, and I couldn't turn it on either because the <kbd>SPC</kbd> keybindings or the Vim ones just didn't work at all.
Reading the documentation again I gave <kbd>fd</kbd> a try, and it brought the keybindings back, so I think it'd be helpful to mention that <kbd>fd</kbd> is also useful as an escape when the usual keybindings don't work.
Also wouldn't hurt if a message was displayed to use <kbd>fd</kbd> when trying to use <kbd>SPC</kbd> and it doesn't work.
- Replace `SPC h h` and `SPC h H` for `SPC h i` and `SPC h I`
- Replace `SPC r` prefix for `SPC x`
- Replace `SPC x SPC` for `SPC x r`
- Sort key bindings alphabetically
This function is making asynchronous commands fail because it tries to
add string literal to spacemacs-useful-buffers-regexp while add-to-list
only works when first argument is a symbol and the second is an
element. Otherwise, it throws this error and stop all async commands to
do any further work at this point:
if: Wrong type argument: symbolp
This commit fixes the following issues:
- Don't add spacemacs//mark-repl-as-useful to
buffer-list-update-hook. We only need this function to switch to next
or previous buffer. So, better check when and only when those commands
are actually used.
- As a result, we remove the function since it's unneeded anymore.
- Do the checking in of comint-mode in spacemacs-useful-buffer-p
function. Better do it in one place than scatter the logic in a hook
and this function.
- Change useless-buffer-p to accept an actual buffer object and check
for buffer name inside.