Commit graph

140 commits

Author SHA1 Message Date
Henrik Lissner
a9bf0b8985
Add cmd!, cmd!!, cmds! convenience macros
It's kind of silly that our command lambda macros (λ! and λ!!) need a
snippet, special key sequence or copy-paste to insert, so in the spirit
of fn! -- and to make sure they take up less space than `lambda!` --
I've added `cmd!` and `cmd!!` aliases. `lambda!` and `lambda!!` are now
deprecated. λ! and λ!! will remain.

I've also added `cmds!` as a convenience wrapper around
general-predicate-dispatch.
2020-05-27 18:29:35 -04:00
Henrik Lissner
830e1289aa
Bind SPC g G -> magit-status-here
And recenter after invoking it.
2020-05-24 16:32:19 -04:00
Undead Kernel
7fc7c35051 bindings: update bindings / add remote bindings 2020-05-18 22:14:59 +02:00
Henrik Lissner
220916ae17
Merge pull request #3093 from sei40kr/taskrunner
Add tools/taskrunner module
2020-05-18 03:41:02 -04:00
Seong Yong-ju
3f21d8267a Add tools/taskrunner module
Co-authored-by: chrunchyjesus <chrunchyjesus@users.noreply.github.com>
2020-05-18 16:26:32 +09:00
Steven vanZyl
ce8feda2ca Minimap Module fixes
First round of fixes suggested by @gagbo, including moving some keybinds
to be alphabetical, fixing some paths, and pinning the package version.
2020-05-16 18:24:45 -04:00
Steven vanZyl
112b43fe9a Initial Minimap Module
Created a new Minimap module based on minimap.el from ELPA
the module sets some DOOM-specific config, and better defaults.
Also added keybindings for it.
2020-05-16 17:25:12 -04:00
Edmund Miller
f586ae7663
Add open email bindings 2020-05-11 11:21:27 -05:00
James Ravn
300bc65918
Use lsp-format-region-or-buffer if available
Currently the user has to select `SPC c F` for lsp format. But if
lsp-mode is enabled, the user will always want to use the LSP formatter.
So this changes the default `SPC c f` to use lsp formatter if available.
This simplifies the interface a bit so the user doesn't have to worry
about selecting the "right" format, just like how other commands get
auto bound to LSP functions.
2020-05-05 09:52:44 +01:00
Henrik Lissner
35591cfc4c
Correct map! indentation
...now that we have proper property-list indentation (thanks to
03ecfed1a).
2020-05-04 16:53:26 -04:00
James Ravn
fb3c6f9d78
Merge branch 'develop' of https://github.com/hlissner/doom-emacs into add-lsp-command-map 2020-05-04 10:04:23 +01:00
Henrik Lissner
db10149637
Merge pull request #3027 from n-clark/fix-emacs-bindings
Fix emacs bindings to use :checkers
2020-05-03 15:00:37 -04:00
Nick Clark
cdeb3a9f7f Fix emacs bindings to use :checkers
Replaced :tools flycheck and flyspell with :checkers syntax and
spell.
2020-05-03 14:45:21 -04:00
Henrik Lissner
383bc03f4c
Bump :ui treemacs
Alexander-Miller/treemacs@10c96c9 -> Alexander-Miller/treemacs@5c01829

The new treemacs-add-and-display-current-project command does what the
old +treemacs/toggle did, now we just need +treemacs/toggle to
do-what-I-mean with respect to projects (if not in a project,
treemacs-add-and-display-current-project unhelpfully aborts with an
error).
2020-05-03 13:39:29 -04:00
Henrik Lissner
019e988b8d
org-roam-graph-show -> org-roam-graph
org-roam-graph-show is deprecated

Closes #2987
2020-04-27 13:33:00 -04:00
Henrik Lissner
fe5e6fff9a
Remove redundant yasnippet keybinds 2020-04-26 02:33:06 -04:00
James Ravn
c56afcfe01
Add lsp-command-map to SPC-c-l
The default lsp-mode bindings are bound to `s-l` which is impractical
for anyone using keybindings in their window manager. It also conflicts
w/ the doom approach of using leader keys. This change makes
all the default lsp bindings (see
https://github.com/emacs-lsp/lsp-mode#commands) available on SPC-c-l.

So for example, restarting the lsp server can be done with `SPC c l s r`.
2020-04-21 22:22:14 +01:00
Henrik Lissner
763932a55c
Merge pull request #2884 from brianmcgillion/biblio
Add org-noter package
2020-04-17 19:16:06 -04:00
Henrik Lissner
5502013906
Bump :lang org
fuxialexander/org-pdftools@4156b67 -> fuxialexander/org-pdftools@67964a5
integral-dw/org-superstar-mode@4897c33 -> integral-dw/org-superstar-mode@09ddc28
jethrokuan/org-roam@e33c144 -> jethrokuan/org-roam@6175739
magit/orgit@0242088 -> magit/orgit@7d6afa5
2020-04-17 15:47:04 -04:00
Brian McGillion
317beed13c Add missing Notes bindings to evil and emacs 2020-04-17 16:45:26 +04:00
Brian McGillion
2dd84b8e2f Add org-noter package
This package allows the creation of notes on a document (pdf, EPub,
etc.) which will be kept in sync with the document. Providing context
sensitive annotations that are managed in plaintext.
2020-04-17 16:39:51 +04:00
Brian McGillion
3cf6e56e3e Align emacs-bindings and evil-bindings 2020-04-16 07:02:38 +04:00
Henrik Lissner
dad93db56e
Merge pull request #2861 from bdarcus/biblio-module
adding new biblio module
2020-04-15 14:28:40 -04:00
Bruce D'Arcus
0c2cebadca adding new biblio module 2020-04-15 12:06:22 -04:00
Henrik Lissner
1d6f0b3e44
Move undo-fu keybinds to :emacs undo module 2020-04-13 18:50:29 -04:00
Brian McGillion
a1f6b75e95 Add KB for searching for symbol in project
Add a reasonable binding to search a project for the symbol at point.
2020-04-10 17:24:06 +04:00
Henrik Lissner
8d77518710
Add default undo-fu keybinds for vanilla users 2020-04-08 04:15:16 -04:00
Henrik Lissner
a25dea91d8
Bump :emacs vc
rmuslimov/browse-at-remote@aeee6bf -> rmuslimov/browse-at-remote@771a307

Closes #2680
2020-03-08 13:07:50 -04:00
Henrik Lissner
25b9cd1a1c
Fix #2616: old keybind to defunct command
It was replaced in 524985e
2020-02-26 17:43:54 -05:00
Henrik Lissner
b30f38ac06
Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
Undead Kernel
925ff39337 bindings: correct description type-o 2020-02-18 15:17:31 +01:00
Undead Kernel
91665df40b bindings: default emacs up to the state of the art
Added `toggle` (C-c t), `code` (C-c c), `open` (C-c o) and `insert` (C-c i) bindings.
Moved org bindings from the `C-c o` to the `C-c n` prefix.
Updated the `file` (C-c f) and `quit` (C-c q) bindings.
Removed the `terminal` bindings, now under `open` (C-c o).
Removed standalone bindings for the REPL (now under `open` (C-c o)).
2020-01-02 18:32:20 +01:00
Henrik Lissner
a947f64ff2
Replace ace-link with link-hint
Better link support, easier to extend, and maintained more actively.
2019-12-31 00:00:10 -05:00
Henrik Lissner
a488c308bb
config/default: fix switch-buffer keys for vanilla users
Closes #2256
2019-12-26 14:47:53 -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
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
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
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
cf21cdc68c
completion/ivy: minor refactor 2019-10-25 20:25:21 -04:00
Foivos Zakkak
449238cdbe
Fixes comments for M and I in +emacs-bindings.el 2019-10-11 02:32:09 +03:00
Henrik Lissner
a5d9079c43
Merge branch 'develop' into fix/add-add-featurep-condition-to-global-bindings 2019-10-03 14:57:19 -04:00
UndeadKernel
56d8e1e0f8 bindings: fix emacs bindings and add more 2019-09-07 00:32:34 +02:00
Jakub Darul
ba69c9efe4 added featurep codition to keybindings
includes popup, flycheck, flyspell, org +present, indent-guides
2019-08-29 20:38:56 +02:00
Emil Petersen
8f29901f4d Add magit-commit-fixup shortcut 2019-08-21 14:49:23 -04:00
Henrik Lissner
43a82c7e92
non-evil users: C-c C-S-z = open repl in same window 2019-07-14 05:34:28 +02:00
Henrik Lissner
bc6c4b3e37
Add +workspace/other #1480
- Rename +workspace/switch-to-last to +workspace/switch-to-final, to
  avoid ambiguity.
- Add +workspace/switch-to-N commands
2019-06-11 16:12:06 +02:00
Henrik Lissner
4fec3eb698
Revise term/vterm/eshell commands & keybinds
The semantics of SPC o t and SPC o T (or SPC o e and SPC o E in eshell's
case) have been reversed.

The lowercase keybind toggles the popup (and the prefix arg forciby
recreates the popup), and the uppercase keybind switches to that
terminal in the current buffer (whose prefix arg will open the terminal
in default-directory, rather than the project root).

- +{term,vterm,eshell}/open have been replaced with +X/here commands and
  are bound to SPC o T (and SPC o E in eshell's case).
- +{term,vterm,eshell}/popup* have been replaced with +x/toggle commands
  and are bound to SPC o t (and SPC o e in eshell's case).

The "toggle" behavior will do as the name implies, except will select
the popup if it is visible but unfocused.
2019-06-11 07:53:50 +02:00
UndeadKernel
2f910fb91f objed: add a manual actiation flag
Setting the flag `+manual` of the `objed` module makes the user
responsible for calling `objed-activate` when needed. The binding
`M-SPC` is set in the default Emacs bindings.
2019-06-01 13:30:18 +02:00