Commit Graph

627 Commits

Author SHA1 Message Date
Henrik Lissner
914b9b0424
config/default: make ace-link fallback to avy-link-addr
And present avy overlays even if there is only one candidate, as the
alternative is jarringly unpredictable, unless you're expecting it.
2019-12-24 19:21:45 -05:00
Henrik Lissner
5e4cbc2654
Merge pull request #2229 from seanfarley/smf/vanilla-bindings
config/default: add more leader keys for vanilla users
2019-12-24 14:36:54 -05:00
Henrik Lissner
f04af0b8a2
Bind 'SPC b u' to save current file as root 2019-12-24 14:25:08 -05:00
Henrik Lissner
b88ff2a563
Fix s-backspace for non-evil users 2019-12-23 17:21:30 -05:00
Henrik Lissner
d1becfce89
config/default: reorganize autoloads 2019-12-23 17:20:19 -05:00
Henrik Lissner
b144a3862a
Bind 'SPC h d S' to text search; expand ivy/helm file-search API 2019-12-23 01:51:43 -05:00
Sean Farley
d3346fa32f bindings: add search section to vanilla keys 2019-12-21 15:32:24 -08:00
Sean Farley
85d93511f7 bindings: add `org-pomodoro' to org key prefix 2019-12-21 15:20:48 -08:00
Sean Farley
7e75f569d9 bindings: add 'r' for remote functions
`C-c r` isn't taken and makes sense to copy this from the evil bindings.
2019-12-21 14:34:44 -08:00
Henrik Lissner
bbd02c8fca
evil-want-C-w-delete = t & remove C-b/C-f keybinds
M-b and M-f already exist for moving by word, so I'll leave C-b and C-f
to their defaults.
2019-12-21 03:44:44 -05:00
Henrik Lissner
c1879945fd
Replace doom/backward-kill-to-bol-and-indent
WIth new evil-delete-back-to-indentation, with behaves exactly as C-u
does in vim.
2019-12-21 03:30:44 -05:00
Henrik Lissner
27cabea6b6
Fix gs in org-mode #2218
Also makes +evil/easymotion generic; it can now be moved to any key, and
new keys can be added to the <easymotion> event, rather than having to
wait for evilem-map to become available.

Also fixes +org/goto-visible if used before avy is loaded.

Relevant to #1672
2019-12-20 13:40:06 -05:00
Henrik Lissner
ea9126a883
ui/zen: add README.org & 'SPC t z' keybind 2019-12-20 01:09:59 -05:00
Henrik Lissner
322bca710a
General refactors & reformatting 2019-12-20 00:59:52 -05:00
Gerry Agbobada
f5d1081cde Add lsp-ivy and helm-lsp when :tools lsp (#2162)
* Add lsp-ivy and helm-lsp when :tools lsp
* Review

- Move the packages to :tools lsp
- Add bindings to config/+evil-bindings.el (no change to +emacs since
  there was no 'code' prefix)
- Move README section
- Move the packages to :tools lsp
- Add bindings to config/+evil-bindings.el (no change to +emacs since
  there was no 'code' prefix)

* FUp filechange noise
2019-12-19 18:49:27 -05:00
Henrik Lissner
a999a0ddd6
General refactors & comment revision 2019-12-19 14:51:34 -05:00
Henrik Lissner
bb702acfd0
emacs/vc: replace git-link w/ browse-at-remote
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).
2019-12-15 01:55:02 -05:00
Henrik Lissner
fecf68bb2a
Bind 'SPC s L' to ffap-menu 2019-12-13 17:31:11 -05:00
Henrik Lissner
0ec0ff5ecb
Minor refactors; unbind F1 from company active map 2019-12-13 14:25:30 -05:00
Henrik Lissner
c8cfa31a1e
lang/org: add goto-visible & refile-to-visible commands
- 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.
2019-12-06 17:01:58 -05:00
Henrik Lissner
6cf17b1237
config/default: rebind 'SPC n {c,C,n,S}'
'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
2019-12-06 13:38:57 -05:00
Henrik Lissner
0b3895d1e2
Unbind '<help> {/,d /}' 2019-12-06 01:24:25 -05:00
Henrik Lissner
4faa9f7ce2
Rebind '<help> d s'; bind '<help> d x' 2019-12-06 01:22:58 -05:00
Henrik Lissner
6f1665563c
Error if +default/lsp-format-region-or-buffer in non-lsp buffer 2019-12-04 23:32:13 -05:00
Brian Wignall
199a6fab79 Fix typos 2019-12-01 22:31:19 -05:00
Henrik Lissner
12c36187be
Merge pull request #2037 from RBckmnn/KeyBindingsHelpCommands
config/default: add keybinds to display keymaps
2019-12-01 15:43:23 -05:00
Henrik Lissner
5e4e1d7a79
Move SPC n {n,N} to SPC n {f,F}; add SPC n o
- 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
2019-12-01 15:42:04 -05:00
Henrik Lissner
35ce37532b
ui/workspaces: merge +ivy/workspace/switch-to into +workspace/switch-to
Relevant to #2127
Closes #2130
2019-12-01 15:41:28 -05:00
Rudi Grinberg
296d5aed0f Fix typo
Missing + in function name
2019-12-01 17:24:47 +07:00
Rudi Grinberg
7b7cf327ab Use ivy to switch workspaces when user uses ivy 2019-12-01 16:17:33 +07:00
Henrik Lissner
ecb4a7e838
Move 'SPC f m' to 'SPC f R'
'SPC f R' was formerly projectile-recentf, which is already on 'SPC p r'
2019-11-24 16:50:47 -05:00
Henrik Lissner
44e22b7f80
tools/magit: replace +magit/clone w/ magit-clone
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.
2019-11-23 01:21:25 -05:00
Henrik Lissner
d41e4983ec
Bind '<help> t' to load-theme
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.
2019-11-21 14:46:00 -05:00
Henrik Lissner
b63e62ef49
config/literate: allow config.org to be a symlink #2079 2019-11-19 20:37:49 -05:00
Henrik Lissner
088541a32d
Bind 'SPC s S' to swiper-isearch-thing-at-point 2019-11-17 23:41:00 -05:00
Henrik Lissner
8aff949449
config/default: remove unneeded feature gating 2019-11-16 21:33:17 -05:00
Henrik Lissner
bd4755123f
Replace */tasks commands w/ magit-todos-list
If we want ivy/helm interfaces to it, we should use magit-todos as a
backend.
2019-11-15 22:17:31 -05:00
Henrik Lissner
7192a686a2
Use swiper-isearch instead of swiper
Much faster to start up
2019-11-15 22:17:30 -05:00
Henrik Lissner
3d26befd47
Move 'SPC /' to 'SPC s'
/ 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.
2019-11-15 22:17:30 -05:00
Henrik Lissner
21eeb5c1a5
Bind 'SPC i {f,F}' to insert current file name/path 2019-11-15 22:17:30 -05:00
Henrik Lissner
46bea60ad3
Add :Read ex command & 'SPC i p' keybind
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.
2019-11-15 22:17:30 -05:00
Henrik Lissner
64222c69c8
Fix wrong-number-of-arguments on newline-and-indent
And ensure all custom comment-line-break-function functions its
argument requirements.
2019-11-12 15:24:02 -05:00
Ralf Beckmann
f5310fd088 Added keybindings for commands that show keymaps
A new prefix has been added to help-map. That prefix provides access to
various commands that show keybindings/keymaps.
2019-11-09 21:46:25 +01:00
Henrik Lissner
f4e641950c
Minor, general refactors 2019-11-05 18:46:07 -05:00
Henrik Lissner
e47d357e56
Fix regexp quoting in +default/search-notes-for-symbol-at-point 2019-11-05 18:44:19 -05:00
Henrik Lissner
d1f8c88c07
Remove 'SPC b j'
The jump list command isn't buffer-local, and so doesn't belong under
the 'SPC b' prefix. It is also already present on 'SPC / j'.
2019-11-03 16:43:12 -05:00
Clement Busschaert
db59ec823e
[keys] which-key desc also on C-h d and C-h r 2019-11-01 12:21:07 +01:00
Clement Busschaert
ae26ff3282
[keys] which-key desc for window->+maximize map 2019-11-01 12:18:11 +01:00
Henrik Lissner
0b8e7a27b6
Minor refactoring/reformatting across the board 2019-10-31 14:35:07 -04:00
Henrik Lissner
9fa447a83b
Remove SPC DEL binding
Instead, 'ga' (or calling `what-cursor-position`) will trigger
nav-flash, to serve as the "where's my cursor" command from now on.

Closes #1883
2019-10-30 22:09:52 -04:00