Commit graph

414 commits

Author SHA1 Message Date
Seong Yong-ju
d8c6030a14 tools/lsp: Use general implementation lookup handler 2020-06-24 01:56:26 +09:00
Seong Yong-ju
6798966f78 editor/format: Use eglot LSP formatter 2020-06-24 01:56:26 +09:00
Seong Yong-ju
d3b1664081 config/default: Fix evil LSP key bindings 2020-06-24 01:56:26 +09:00
Raj Krishnan
0e9bb3e6eb Wording 2020-06-21 18:57:36 +05:30
Raj Krishnan
e0c3ffba0c Add keybinding for org-roam-insert-immediate 2020-06-21 18:47:11 +05:30
Andrew Whatson
6ff3b7aa1e Bind a link-hinting key for geiser-doc-mode 2020-06-19 14:45:31 +10:00
Henrik Lissner
9cc98c73d4
Remove redundant condition 2020-06-07 02:31:12 -04:00
Marcus Ramberg
a217a935fd updates for macos module
Add support for keychain
Add README.
Add shortcut for open in iTerm.
2020-06-06 09:02:36 +02:00
Henrik Lissner
7a8bf22e41
Change gzu to delete cursors in visual selection
Will still undo last cursor in normal mode.
2020-06-05 00:33:57 -04:00
Henrik Lissner
51ffacb4d9
Fix gzz not toggling evil-mc cursors in normal mode 2020-06-05 00:12:26 -04:00
Gerry Agbobada
3e5b7cce3f
[eglot] Add support for eglot lsp client in emacs
- Update README
- Add eglot-specifics to cc, rs, py, hs
  removing unused lsp-mode packages when eglot is active
- Add eglot-specific bindings
- Add doctor warnings for debugger +lsp and +peek
- Add eglot-backed lookup-handlers
- Add flycheck checker using eglot for :checkers
  syntax users (using flycheck/flycheck#1676 and
  flycheck/flycheck#1592 discussion).
  This implementation is based on @marsam code, and uses recent
  Flycheck development in order to make the code smaller and
  easier to maintain.
2020-05-28 09:34:10 +02:00
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
Felix Clark
07d3d1d46f using dedicated minimap flag 2020-05-18 07:29:50 -04: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
Henrik Lissner
4e28b48a3a
Fix C-j/C-k for evil-collection-minibuffer users 2020-05-15 01:34:07 -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
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
2deaafd03a
Fix #2990: C-j/C-k in minibuffer w/ evil-collection 2020-04-29 00:20:01 -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
01ab30adeb
Flip C-f/C-b and M-f/M-b back to their defaults
To stay consistent with Emacs' keybinds.
2020-04-27 01:51:18 -04:00
Henrik Lissner
64f15bfe3c
Fix getting started link in readme 2020-04-27 01:47:20 -04:00
Henrik Lissner
a21b6d35a4
Make C-` & C-~ available outside of normal mode 2020-04-26 19:21:51 -04:00
Henrik Lissner
fad164bc01
Merge pull request #2970 from ineu/fix-typo
Fix typo in key bindings
2020-04-26 04:23:42 -04:00
Henrik Lissner
077b6f00d4
Swap C-j/C-k history keys in evil-ex
Typo reported by @howsiwei in hlissner/doom-emacs@77542bc
2020-04-26 04:09:46 -04:00
Henrik Lissner
77542bcccc
Bind C-j/C-k to next/prev history in evil-ex 2020-04-25 14:04:09 -04:00
Eugene Diachkin
ade60c9265 Fix typo in key bindings 2020-04-25 16:53:06 +03:00
Henrik Lissner
06d5d5e6c0
General refactors, reformatting & comment revision 2020-04-23 23:56:17 -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
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
bce0cc2152
Change how evil-easymotion is lazy loaded
Fixes an issue where gs wouldn't work after an operator.
2020-04-14 15:41:54 -04:00
Henrik Lissner
a00dc055ba
Fix C-j/C-k for some helm commands 2020-04-12 20:07:20 -04:00
Henrik Lissner
b78fc4eb76
Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
Henrik Lissner
23b3b8211a
Fix #2811: expose more org-roam commands 2020-04-01 17:30:29 -04:00
Henrik Lissner
b8a3cad295
Fix #2798: remove overzealous TAB keybind
Evidently, most users do not understand/like how these dispatchers work
and file a bug report about it. It's too much hassle to support so I'll
move this to my private config.
2020-03-31 02:06:55 -04:00
Kelvin Porter
ad70b82009 org-roam-show-graph -> org-roam-graph-show
org-roam-show-graph marked obsolete by org-roam commit 22b9d4b, see https://github.com/jethrokuan/org-roam/pull/363
2020-03-30 03:14:01 -04:00
Henrik Lissner
f28a304abd
Add +roam submodule to lang/org
Closes #2764, #2759
2020-03-29 19:02:09 -04:00
Henrik Lissner
064603f6e6
Only bind C-s in minibuffer if ivy/helm are available 2020-03-28 20:08:53 -04:00