git-link is no longer maintained and browse-at-remote has support for
more remotes.
- Bind '<leader> g o h' to open homepage in browser
- Rebind '<leader> g o o' to open file or region (omits the #L<N> suffix
if no selection is active).
- Bind 'gsh' to goto-visible command in org-mode
- Bind '<localleader> g v' to goto-visible
- Bind '<localleader> r v' to refile-to-visible
- Add avy package to lang/org module
Powered by avy.
'SPC n c' -> Toggle last org clock
'SPC n C' -> Cancel current org clock
'SPC n n' -> org-capture
'SPC n S' -> Search org-directory headings
Closes#2043
- For consistency with out find-file commands in other prefixes
- 'SPC n n' -> 'SPC n f'
- 'SPC n N' -> 'SPC n F'
- New keybinds
- 'SPC n n' = +default/org-notes-headlings (search headings in
org-agenda-files)
- 'SPC n o' = org-clock-goto
The former no longer works, since ghub's API has changed. Meanwhile, the
magit-clone command has grown in features to match (and surpass)
+magit/clone, so we'll just use that instead.
And remap load-theme to counsel-load-theme.
This replaces the keybind for help-with-tutorial, but `load-theme` is
useful enough to warrant a keybind. `help-with-tutorial` is not.
/ is harder to reach than s, more so on certain keyboard layouts, so
'SPC /' has been moved to 'SPC s'. Similar has been done to other / and
. leader keybinds. Whats more, 'SPC s' for snippets is seldomly used and
available through other means, so it was removed.
Summary:
- 'SPC /' moved to 'SPC s'
- 'SPC f .' and 'SPC f /' moved to 'SPC f f' and 'SPC f F', respectively
- 'SPC p /' removed (already on 'SPC p f')
- 'SPC p ?' moved to 'SPC p F' (doom/find-file-in-other-projects)
- 'SPC n /' moved to 'SPC n s' (+default/org-notes-search)
- 'SPC n .' removed (already on 'SPC n N')
- Remove 'SPC s' prefix for snippets. Was seldomly used and most of its
commands are available on other keys or through `M-x`, which is
enough.
This can be used to extract paths from evil-ex style paths. e.g. the
following inserts the stdout into the current buffer (assuming we're in
~/some/project/filename.c):
:R!echo %:P ~/some/project
:R!echo %:t filename.c
:R!echo %:e c
:R!echo %:r filename
:R!echo ~/another/project/%:t:r.h
~/another/project/filename.h
:R % contents of current file
http://vimdoc.sourceforge.net/htmldoc/cmdline.html#filename-modifiers
has a full list of vim filename modifiers. Doom doesn't support all of
them, but it does support most of them.
Keybinds that correct behavior or provide or extend vim functionality
were moved to their respective modules, or to the :editor evil module.
Keybinds in the global space, that are particularly opinionated but
potentially harmful or imposing as a default, or likely for users to
change (like leader keys), are kept in config/default.