Commit Graph

343 Commits

Author SHA1 Message Date
b49c40bbb3 Minor refactors & comment revision 2020-11-29 14:37:32 -05:00
03fe396eea Move +default/{find-in,browse}-emacsd to core lib
Renamed them to:

+ doom/find-file-in-emacsd
+ doom/browse-in-emacsd
2020-11-19 00:44:16 -05:00
d6ef43a563 C-s = company-filter-candidates in company-active-map
Incrementally filter the candidates list, rather than restart it.
2020-11-15 22:00:56 -05:00
86722ee67e Minor refactors & reformatting 2020-11-03 16:16:12 -05:00
e408c04548 Rebind rotate-text to ]r / [r
Because using ! shadows evil's default shell operator.
2020-10-29 01:42:04 -04:00
d1cef4ac94 Bind SPC b {c,C} to clone buffer indirectly 2020-10-26 04:04:05 -04:00
9929883bf9 Merge pull request #4001 from akirabaruah/emojify
ui/emojis: New module for inserting/displaying emojis
2020-10-19 01:25:47 -04:00
813804066d ui/emojis: New module for inserting emojis
Uses the emojify package to enable displaying and inserting emojis. Also
adds a new binding "SPC i e" to insert an Emoji. Includes basic docs.
2020-10-11 20:37:19 -07:00
729e8d8f39 Fix #4035: fill-column toggle 2020-10-06 14:19:36 -04:00
3f28411f64 Use delegate function
As suggested by Henrik I changed it to use a delegate function, which reduces
code duplication and makes things cleaner
2020-10-05 10:14:54 -04:00
f96b2310df Add keybinding to toggle fill column indicator
Added a keybinding to the Toggles menu to toggle the fill column indicator if
the `fill-column` module is enabled. The keybind is `SPC t c`.

Suggested by lunik1 on Discord
2020-10-05 10:14:54 -04:00
b94b481f6f Merge pull request #4003 from ctjhoa/develop
Add SPC / in evil-bindings
2020-10-04 20:08:48 -04:00
4165d4ff34 Merge pull request #3934 from theutz/add-org-journal-scheduled-entry-binding
Add `org-journal-new-scheduled-entry` Keybindings
2020-10-04 17:05:05 -04:00
ef1e6dd65c Add SPC / in evil-bindings
Add SPC / alias for "Search project" (SPC s p)

- Searching is one recurring action by developers

- Spacemacs has the same keybinding,
  so it close one gap between Spacemacs and Doom keybindings (#2542)

- It's consistent with SPC * "Search for symbol in projet"
  as it's Vim "*" and "/" equivalent but project-wide
2020-10-01 15:57:31 +02:00
04d08bdf5d Disable non-compatible binding 2020-09-23 00:43:48 +02:00
5b13c913eb Add scheduled entry evil binding
For `org-journal-new-scheduled-entry`.
2020-09-13 22:52:42 +03:00
841eacc77d tools/lsp: lazy load <leader> c l keybind
Fixes a issue where folks would try to rebind <leader> c, only to get a
non-prefix key error about <leader> c l.
2020-08-27 17:44:58 -04:00
76eae7bc46 Bind SPC s S -> swiper-isearch-thing-at-point #3656 2020-08-25 21:12:50 -04:00
2564bbce0d Use flyspell-mode for SPC t s if +flyspell present
Also corresponding bindigs fix for +emacs-bindigs.el
2020-08-24 20:36:16 +02:00
ff9c1ace22 checkers/spell: replace flyspell with spell-fu
Spell-fu is significantly faster, but does produce more false
positives (more faces must be added to spell-fu-faces-exclude to reduce
these).

Unfortunately, there is no fancy "correction" interface for spell-fu
yet, so we'll have to resort to ispell-word (on z=) for now.
2020-08-21 18:57:10 -04:00
0f1ff5f411 Update +evil-bindings.el 2020-08-20 09:07:50 -07:00
2e6902f7ae Unbind TAB in comint buffers
They usually handle their own completion keybinding on TAB.
2020-08-09 01:50:41 -04:00
4cbc2abb09 Don't invoke company on C-SPC if in minibuffer
In case of evil-collection-setup-minibuffer = t
2020-08-07 20:15:15 -04:00
863eb82efd S-RET -> insert literal newline
A convention on many text editors and applications is to make RET
auto-indent new lines. That has already been done. Another convention is
for S-RET to insert an unindented line; this commit adds this convention
to Doom.

Relevant to #3694
2020-08-05 18:26:06 -04:00
6a4283c9d4 More convenient search buffer 2020-07-31 12:55:49 +07:00
87199113bd SPC f d -> +default/dired
+default/dired will prompt you for a directory to open dired in. If
passed the universal argument, it will prompt you for a known project
instead.
2020-07-26 18:40:42 -04:00
12e414be89 Rename +org/toggle-clock -> +org/toggle-last-clock
And rewrite it to ask for confirmation before clocking in on the item at
point. Without this, it's much harder to see what exactly it's doing.
2020-07-26 15:55:11 -04:00
2a325167f8 Merge pull request #3249 from sei40kr/eglot-improve
tools/lsp: improve eglot support
2020-07-22 20:41:22 -04:00
7e52383273 Resolve a key binding conflict
Fix the key binding for "Find implementations" conflicts with
"Jump to symbol in any workspace".
2020-06-24 02:01:10 +09:00
d8c6030a14 tools/lsp: Use general implementation lookup handler 2020-06-24 01:56:26 +09:00
6798966f78 editor/format: Use eglot LSP formatter 2020-06-24 01:56:26 +09:00
d3b1664081 config/default: Fix evil LSP key bindings 2020-06-24 01:56:26 +09:00
0e9bb3e6eb Wording 2020-06-21 18:57:36 +05:30
e0c3ffba0c Add keybinding for org-roam-insert-immediate 2020-06-21 18:47:11 +05:30
6ff3b7aa1e Bind a link-hinting key for geiser-doc-mode 2020-06-19 14:45:31 +10:00
9cc98c73d4 Remove redundant condition 2020-06-07 02:31:12 -04:00
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
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
51ffacb4d9 Fix gzz not toggling evil-mc cursors in normal mode 2020-06-05 00:12:26 -04:00
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
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
830e1289aa Bind SPC g G -> magit-status-here
And recenter after invoking it.
2020-05-24 16:32:19 -04:00
7fc7c35051 bindings: update bindings / add remote bindings 2020-05-18 22:14:59 +02:00
07d3d1d46f using dedicated minimap flag 2020-05-18 07:29:50 -04:00
220916ae17 Merge pull request #3093 from sei40kr/taskrunner
Add tools/taskrunner module
2020-05-18 03:41:02 -04:00
3f21d8267a Add tools/taskrunner module
Co-authored-by: chrunchyjesus <chrunchyjesus@users.noreply.github.com>
2020-05-18 16:26:32 +09:00
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
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
4e28b48a3a Fix C-j/C-k for evil-collection-minibuffer users 2020-05-15 01:34:07 -04:00
f586ae7663 Add open email bindings 2020-05-11 11:21:27 -05:00