Commit Graph

6719 Commits

Author SHA1 Message Date
6f1665563c Error if +default/lsp-format-region-or-buffer in non-lsp buffer 2019-12-04 23:32:13 -05:00
6bb597564b ui/doom: swap bg for doom-tomorrow-day
Fix hlissner/emacs-doom-themes#362
2019-12-04 21:51:59 -05:00
7f5f23bdc5 completion/ivy: update keybinds in readme 2019-12-03 22:56:59 -05:00
a8fd59a054 Merge pull request #2143 from rgrinberg/popup-ignore-more
ui/popup: add more default rules
2019-12-03 22:56:33 -05:00
894c4e1855 Fix popup ignore rules
* Process Lis is without a space
* Escape trailing star
* Combine all rules
2019-12-04 09:46:27 +07:00
907669041a Merge pull request #2055 from jhacksworth/org-agenda-spc
lang/org: bind org-agenda-show-and-scroll-up to C-SPC
2019-12-03 20:51:32 -05:00
2c79ab354a Add evil-numbers inc commands to evil-mc-custom-known-commands 2019-12-03 20:42:57 -05:00
5213a0b4f1 tools/flycheck: fix error list popup rule 2019-12-03 20:42:39 -05:00
e28b4215ec lang/rust: fix wrong-number-of-args: delete error
Reported in hlissner/doom-emacs@9775939
2019-12-03 20:41:17 -05:00
bcdb9f583a Require origin argument
If it doesn't satisfy windowp, it'll cause errors.
2019-12-03 20:00:38 -05:00
79faa02d6b Record origin window earlier
The selected window could change in between +popup--maybe-select-window calls.
2019-12-03 19:59:27 -05:00
359ae77250 ui/popup: extract +popup--maybe-select-window helper function 2019-12-04 08:32:27 +08:00
ca63b0bbfc ui/popup: respect :select nil when reusing a window
- before this change: when reusing a window, select option would get ignored
- after this change: when reusing a window, select option would be used
  just as a new popup
2019-12-04 08:20:17 +08:00
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
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
1655524836 emacs/dired: don't enable dired-hide-details-mode by default 2019-12-03 03:54:29 -05:00
7eb4e6348a lang/factor: lazy load set-{eval,repl}-handler! calls 2019-12-02 22:05:40 -05:00
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
7cec80e9f1 lang/org: fix #2117 regression 2019-12-02 20:28:55 -05:00
3c90c6994b lang/clojure: set large-file-size threshold to 0.5mb 2019-12-02 20:22:01 -05:00
ef4e9b31be lang/org: org-babel-lisp-eval-fn = sly-eval 2019-12-02 20:22:00 -05:00
9775939f9d lang/rust: fix #2132
Prevents rust-mode from taking over *.rs files.
2019-12-02 20:22:00 -05:00
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
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
199a6fab79 Fix typos 2019-12-01 22:31:19 -05:00
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
12c36187be Merge pull request #2037 from RBckmnn/KeyBindingsHelpCommands
config/default: add keybinds to display keymaps
2019-12-01 15:43:23 -05:00
2326379d68 ui/doom: swap bg for doom-{snazzy,spacegrey,tomorrow-night} 2019-12-01 15:42:05 -05:00
3743bc70ab tools/direnv: fix async-shell-command 2019-12-01 15:42:05 -05:00
c7a6cf8403 lang/haskell: change default to +dante #2121 2019-12-01 15:42:05 -05:00
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
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
bf0efe81ae editor/evil: add :l[ine]diff ex command
Relevant to #2126
2019-12-01 15:41:14 -05:00
46d190e0db Merge pull request #2124 from dsdshcym/fix-mu4e-refile
email/mu4e: fix refile target
2019-12-01 15:10:10 -05:00
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
296d5aed0f Fix typo
Missing + in function name
2019-12-01 17:24:47 +07:00
6dbf8510c2 Merge pull request #2127 from rgrinberg/create-workspaces-switch
ui/workspaces: auto-create named workspace
2019-12-01 05:06:39 -05:00
7b7cf327ab Use ivy to switch workspaces when user uses ivy 2019-12-01 16:17:33 +07:00
4b77b413c5 Add ivy command for workspace switching 2019-12-01 16:13:40 +07:00
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
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
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
4126d3be81 email/mu4e: delete other windows when opening mu4e 2019-12-01 09:30:03 +08:00
5baa1eb631 lang/org: fix non-prefix-key SPC errors on org-agenda 2019-11-30 14:45:41 -05:00
b0734aa61c lang/org: fix 'void-function t' error running shell links 2019-11-30 14:06:54 -05:00
19e4c42adc lang/org: org-tags-column = 0 2019-11-30 14:06:53 -05:00
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
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
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
50cab52766 Merge pull request #2122 from juliandemille/patch-1
lang/kotlin: add +lsp flag
2019-11-28 22:04:34 -05:00