Commit Graph

827 Commits

Author SHA1 Message Date
Henrik Lissner
8284f1035b
Fix fill-column toggle for vanilla users 2020-10-06 14:28:48 -04:00
Henrik Lissner
729e8d8f39
Fix #4035: fill-column toggle 2020-10-06 14:19:36 -04:00
Steven vanZyl
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
Steven vanZyl
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
Henrik Lissner
b94b481f6f
Merge pull request #4003 from ctjhoa/develop
Add SPC / in evil-bindings
2020-10-04 20:08:48 -04:00
Henrik Lissner
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
Henrik Lissner
87b6a1fa46
Merge pull request #3966 from gagbo/fix/bepo-evil-enhancements
:input layout bepo enhancements
2020-10-04 16:36:46 -04:00
Camille TJHOA
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
Gerry Agbobada
04d08bdf5d
Disable non-compatible binding 2020-09-23 00:43:48 +02:00
Henrik Lissner
a6dc6275f8
Fix #3960: make prefix arg consistent in +default/search-project
Is documented to include ignored/hidden files in the search result, but
would prompt for another project instead.
2020-09-19 14:40:11 -04:00
Michael Utz
5b13c913eb Add scheduled entry evil binding
For `org-journal-new-scheduled-entry`.
2020-09-13 22:52:42 +03:00
Michael Utz
f460a461d8 Add scheduled entry keybinding
For `org-journal-new-scheduled-entry` in normal emacs bindings.
2020-09-13 22:52:42 +03:00
Henrik Lissner
4dc888d104
Tangle org files on save if in same dir as config.org 2020-08-28 04:33:56 -04:00
Mike Chen
f22f2e28b8
Modifying wrong variable judgment logic 2020-08-28 15:57:58 +08:00
Mike Chen
5c9e21814e
Fix non evil environment (void variable evil this operator) 2020-08-28 15:40:08 +08:00
Henrik Lissner
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
Henrik Lissner
362f101227
config/literate: fix hanging paren
Whoopsidoodlepopsicolanumptywombatbiscuitmuffin.
2020-08-27 17:30:43 -04:00
Henrik Lissner
666ea63591
config/literate: make default tangle target DOOMDIR/config.el
Rather than ./config.el, which means it will end up in the wrong place
if the user moves their config.org out of $DOOMDIR or into a
subdirectory.
2020-08-27 17:19:52 -04:00
Henrik Lissner
76eae7bc46
Bind SPC s S -> swiper-isearch-thing-at-point #3656 2020-08-25 21:12:50 -04:00
Henrik Lissner
63a03848a3
Fix literate tangling on 'doom sync'
Relevant to #3746
2020-08-25 06:01:35 -04:00
Henrik Lissner
5c6dca2e1a
Merge pull request #3819 from gagbo/fix/bepo-helm-maps
[Fix] be lazier for minibuffer maps in :layout bepo
2020-08-24 22:26:21 -04:00
Jakub Darul
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
Gerry Agbobada
e164f3714f
Set helm-rg-map in the default +default-minibuffer-maps
It seems like a typo
2020-08-24 11:03:46 +02:00
Henrik Lissner
a8b7c00426
config/literate: don't add save hook more than once
Hinders the user's ability to disable tangle-on-save behavior.
2020-08-22 17:40:25 -04:00
Henrik Lissner
f83e6fe1cc
Fix #3804: rename TANGLE -> __TANGLE
So 'doom env' will naturally exclude it.
2020-08-22 03:37:14 -04:00
Henrik Lissner
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
Krzysztof Baranowski
8916f442f1
Update +emacs-bindings.el 2020-08-20 09:12:45 -07:00
Krzysztof Baranowski
0f1ff5f411
Update +evil-bindings.el 2020-08-20 09:07:50 -07:00
Henrik Lissner
bb1e2247dd
Fix #3781: command not found
Due to overzealous quoting.
2020-08-19 12:45:23 -04:00
Henrik Lissner
9b991fc29f
Fix #3781: revert 55b87b3a9 2020-08-19 12:10:14 -04:00
Henrik Lissner
55b87b3a94
bin/doom: source postscript instead
This way the postscript can refer to the doom script via "$0" and its
arguments via "$@" (making it easier for cli commands to rerun the last
command).
2020-08-18 20:32:34 -04:00
Henrik Lissner
cbebbd5278
Fix #3746: bin/doom hangs after tangling config
Because +literate-tangle-h wasn't returning non-nil in interactive
sessions.
2020-08-14 00:00:36 -04:00
Henrik Lissner
f5ba3d9498
config/literate: revise readme 2020-08-12 02:52:45 -04:00
Henrik Lissner
64dfc709bf
Fix #3729: config.org not getting tangled
Because the wrong file is being inserted into the temporary org buffer,
org never finds anything to tangle!
2020-08-11 14:00:33 -04:00
Henrik Lissner
eb9cb0c6e9
Fix org version conflicts due to literate config #3649
Tangling would load org libraries. If org hasn't been installed yet,
this means the older version is loaded, later interfering with the
installation and byte-compilation of the new package, causing down the
road.
2020-08-09 01:50:42 -04:00
Henrik Lissner
2e6902f7ae
Unbind TAB in comint buffers
They usually handle their own completion keybinding on TAB.
2020-08-09 01:50:41 -04:00
Henrik Lissner
d8908a0c32
Fix +default/newline indenting after newline
This was intended to be newline minus indent, since newline itself is
remapped to newline-and-indent.
2020-08-08 03:02:37 -04:00
Henrik Lissner
d2bc2ff44b
config/literate: improve tangling algorithm
- Tangling no longer adds temp files to recentf (#3685)
- If :tangle yes is used, the result is no longer tangled to
  /tmp/config.org.*.el
- In interactive sessions the org buffer is no longer interfered with
  when tangling (by scrolling up to the top of the page, or undoing
  overlays/markers).
- Tangling no longer triggers formatters (or any save/write hooks).
- Appease byte-compiler sama, complaining about free variables.
2020-08-08 02:57:04 -04:00
Henrik Lissner
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
Henrik Lissner
2c0cbec7c8
Fix universal {C,s}-RET keybinds in tty Emacs
And reformat all X-RET keybinds.
2020-08-05 18:26:07 -04:00
Henrik Lissner
c6766c293d
C-down-mouse-2 -> reset text-scale
Make this universal. Also removes redundant C-mouse-{4,5} mouse
bindings, they're already bound by mouse-wheel-mode.
2020-08-05 18:26:07 -04:00
Henrik Lissner
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
Henrik Lissner
00a8f750ed
Fix wrong-type-arg: stringp when tangling config.org 2020-08-05 03:32:21 -04:00
Henrik Lissner
01c5c35686
Fix #3688: failure tangling config.org 2020-08-04 18:04:15 -04:00
Henrik Lissner
f641bf4554
Fix 'void-variable: backup' error
Fixes my fix for #3685
2020-08-04 13:58:40 -04:00
Henrik Lissner
8580b53e8e
Fix #3685: don't mutate org buffer when tangling
If the buffer doesn't change, the cursor won't move.
2020-08-04 13:43:14 -04:00
Henrik Lissner
f82775fead
Fix 'Wrong type argument: commandp, +default/search-project'
Regression from #3656
2020-07-31 02:42:35 -04:00
Nham Le
6a4283c9d4 More convenient search buffer 2020-07-31 12:55:49 +07:00
Henrik Lissner
6a64f37435
Minor refactors & revision across the board 2020-07-31 01:39:24 -04:00
Henrik Lissner
9c96feba56
Fix wrong-type-arg stringp error on +default/dired
When selecting a directory.
2020-07-27 18:09:57 -04:00