Commit graph

6756 commits

Author SHA1 Message Date
J Hacksworth
cf02fe5c2e lang/org: Bind org-agenda-show-and-scroll-up
Default Org binds 'SPC' to `org-agenda-show-and-scroll-up`, which
displays the original location of the Agenda item in another window
without moving focus from the Agenda window.

This is useful to preview items while staying in the Agenda window.
Since we can't use 'SPC', bind it to ‘C-SPC’, Doom's canonical "preview"
key for helm and ivy.

See https://orgmode.org/manual/Agenda-commands.html
2019-12-03 11:47:30 -05:00
Rudi Grinberg
0bd0ac4ab9 Popup rules for more builtin types
process, timer, abbreviations, output, occur buffers are all better
displayed in a maximized fashion. Otherwise, they aren't really useful.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-12-03 23:38:00 +07:00
Henrik Lissner
1655524836
emacs/dired: don't enable dired-hide-details-mode by default 2019-12-03 03:54:29 -05:00
Henrik Lissner
7eb4e6348a
lang/factor: lazy load set-{eval,repl}-handler! calls 2019-12-02 22:05:40 -05:00
Rudi Grinberg
f5910caea8 Add lang/factor module (#2129)
Factor is a stack based programming language with an awesome emacs mode.

* remove extra layer of nesting for keybinds
* use-package!
* lazy load fuel
* fue listener typo
* remove extra space
* Add README
2019-12-02 22:01:16 -05:00
Henrik Lissner
7cec80e9f1
lang/org: fix #2117 regression 2019-12-02 20:28:55 -05:00
Henrik Lissner
3c90c6994b
lang/clojure: set large-file-size threshold to 0.5mb 2019-12-02 20:22:01 -05:00
Henrik Lissner
ef4e9b31be
lang/org: org-babel-lisp-eval-fn = sly-eval 2019-12-02 20:22:00 -05:00
Henrik Lissner
9775939f9d
lang/rust: fix #2132
Prevents rust-mode from taking over *.rs files.
2019-12-02 20:22:00 -05:00
Henrik Lissner
5ad4a018b1
ui/hl-todo: map keywords to faces, not color strings
Future proofs changes the loaded them.
2019-12-02 20:22:00 -05:00
Henrik Lissner
bf0a797a36
lang/rust: rustic-format-on-save -> rustic-format-trigger
The former is deprecated for the latter.
2019-12-02 20:22:00 -05:00
Brian Wignall
199a6fab79 Fix typos 2019-12-01 22:31:19 -05:00
Yiming Chen
f6a10f1268 email/mu4e: avoid delete-other-windows twice
- `+workspace-switch` already does this for us
- see also https://github.com/hlissner/doom-emacs/pull/2123#discussion_r352371828
2019-12-02 08:20:57 +08: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
2326379d68
ui/doom: swap bg for doom-{snazzy,spacegrey,tomorrow-night} 2019-12-01 15:42:05 -05:00
Henrik Lissner
3743bc70ab
tools/direnv: fix async-shell-command 2019-12-01 15:42:05 -05:00
Henrik Lissner
c7a6cf8403
lang/haskell: change default to +dante #2121 2019-12-01 15:42:05 -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
Henrik Lissner
bf0efe81ae
editor/evil: add :l[ine]diff ex command
Relevant to #2126
2019-12-01 15:41:14 -05:00
Henrik Lissner
46d190e0db
Merge pull request #2124 from dsdshcym/fix-mu4e-refile
email/mu4e: fix refile target
2019-12-01 15:10:10 -05:00
Gerry Agbobada
e91dacea2d
Remove envvar setter in golangci-lint checker
This allows users to be responsible for their use of the feature. I definitely misread the documentation about the checker.
2019-12-01 20:45:13 +01:00
Rudi Grinberg
296d5aed0f Fix typo
Missing + in function name
2019-12-01 17:24:47 +07:00
Henrik Lissner
6dbf8510c2
Merge pull request #2127 from rgrinberg/create-workspaces-switch
ui/workspaces: auto-create named workspace
2019-12-01 05:06:39 -05:00
Rudi Grinberg
7b7cf327ab Use ivy to switch workspaces when user uses ivy 2019-12-01 16:17:33 +07:00
Rudi Grinberg
4b77b413c5 Add ivy command for workspace switching 2019-12-01 16:13:40 +07:00
Rudi Grinberg
e16d6a8d7c Add evil-quick-diff
This introduces the `g o d` text object for comparing regions. It works
like evil-exchange. Select two regions in sequence with `g o d` and an
ediff buffer of the selections will pop up.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-12-01 15:44:16 +07:00
Rudi Grinberg
dd004dea79 Easier creation of named workspaces
When a user tries to switch to a named workspace that doesn't exist,
creat it, instead of just failing.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-12-01 15:10:51 +07:00
Yiming Chen
a7eef56b9d email/mu4e: restore window config when mu4e quit
- see https://github.com/hlissner/doom-emacs/pull/2123#issuecomment-560010891
2019-12-01 09:30:33 +08:00
Yiming Chen
4126d3be81 email/mu4e: delete other windows when opening mu4e 2019-12-01 09:30:03 +08:00
Henrik Lissner
5baa1eb631
lang/org: fix non-prefix-key SPC errors on org-agenda 2019-11-30 14:45:41 -05:00
Henrik Lissner
b0734aa61c
lang/org: fix 'void-function t' error running shell links 2019-11-30 14:06:54 -05:00
Henrik Lissner
19e4c42adc
lang/org: org-tags-column = 0 2019-11-30 14:06:53 -05:00
Henrik Lissner
ae5a18c364
lang/org: respect org-agenda-sticky
And remove remappings of org-agenda-{q,Q}uit to org-agenda-exit
2019-11-30 14:06:53 -05:00
Yiming Chen
93205d4401 email/mu4e: fix refile target
- before this change: refile would use mu4e-trash-folder as the target
- after this change: refile would use mu4e-refile-folder as expected
2019-11-30 22:26:27 +08:00
Yiming Chen
ba2e7836ab email/mu4e: add featurep check for workspaces
- if module workspaces is not used, an error would be raised when calling =mu4e
  `=mu4e: Symbol’s function definition is void: +workspace-switch`
- if module workspaces is not used, an error would be raised when quiting mu4e
  `=mu4e: Symbol’s function definition is void: +workspace/delete`
2019-11-30 22:02:32 +08:00
Henrik Lissner
50cab52766
Merge pull request #2122 from juliandemille/patch-1
lang/kotlin: add +lsp flag
2019-11-28 22:04:34 -05:00
Julian DeMille
3fb52110a4
Add LSP check to kotlin/doctor.el 2019-11-28 21:53:46 -05:00
Henrik Lissner
e799022a1e
lang/org: fix 'wrong-number-of-arguments quote 3' error 2019-11-28 21:53:12 -05:00
Julian DeMille
591d8d8e56
Fix location of lsp hook in kotlin/config.el 2019-11-28 21:52:58 -05:00
Julian DeMille
c69a85c803
Add LSP support to Kotlin
`lsp-mode` has built in support for Kotlin. This makes it automatically used if you use the `+lsp` flag.
2019-11-28 21:48:26 -05:00
Henrik Lissner
9bd8904838
lang/org: fix #2119 2019-11-27 23:52:37 -05:00
Henrik Lissner
b33630057d
lang/org: load contrib/journal if +journal 2019-11-27 22:09:55 -05:00
Henrik Lissner
b6a9fcb12b
lang/org: fix #2117 2019-11-27 22:06:19 -05:00
Henrik Lissner
439fac65d7
editor/evil: evil-respect-visual-line-mode = nil
To match vim's behavior.
2019-11-25 20:43:48 -05:00
Gerry Agbobada
46d3d8d85c Fix dap-debug-template-conf.. void-variable
The variable changed name in
emacs-lsp/dap-mode@7768e145be
2019-11-26 00:54:51 +01:00
Henrik Lissner
9a93aa1df9
tools/debugger: fix invalid-function "..." error
...when invoking debugger, due to minibuffer-history being evaluated for
some reason.
2019-11-25 18:39:51 -05:00
Henrik Lissner
811dbc4e68
app/write: conform hooks to conventions 2019-11-25 16:20:53 -05:00
Henrik Lissner
6232f12dfd
editor/evil: update hacks section in README 2019-11-25 14:02:34 -05:00
Henrik Lissner
a0e9981210
ui/popup: update configuration section in README 2019-11-25 13:51:23 -05:00