Commit Graph

8970 Commits

Author SHA1 Message Date
Henrik Lissner
0f8baf3f3e
Minor comment tweaks 2019-04-17 11:19:37 -04:00
Henrik Lissner
6cd30c926b
Persist scratch buffer across sessions
- Adds doom/open-project-scratch-buffer (persistent project scratch
  buffers)
- Prefix arg = open scratch buffer in current window, for both
  doom/open-scratch-buffer and doom/open-project-scratch-buffer.
- Rename doom/delete-scratch-files ->
  doom/delete-persistent-scratch-file
- Remove doom-scratch-buffer-display-fn
- Rename doom-scratch-files-dir -> doom-scratch-dir
- Add SPC p s keybind to open project scratch buffer
2019-04-17 11:15:56 -04:00
Henrik Lissner
20a63a35ab
Reformat doctor output & add DOOMDIR check
- Will now warn you if both .doom.d and .config/doom exists.
- Include branch and last commit date in doctor/info, next to Doom
  version.
- Issues in Doom core are now indented.
2019-04-16 20:57:03 -04:00
Henrik Lissner
f37b1342a2
Don't show hostname in doom info or doctor output
It doesn't help me, and some folks may not want it publicized.
2019-04-16 20:57:03 -04:00
Henrik Lissner
8a5af077a6
feature/lookup: refactor lookup commands
And move online-lookup commands to separate file
2019-04-16 20:57:03 -04:00
Henrik Lissner
e7e1383b08
tools/lsp: replace lookup commands w/ lsp-ui-peek 2019-04-16 20:56:52 -04:00
Henrik Lissner
0ea0486d5f
Merge pull request #1331 from flatwhatson/swiper-isearch-flx
Disable fuzzy-matching for swiper-isearch
2019-04-16 15:04:44 -04:00
Henrik Lissner
068a324fd1
Fix which-key labels for alt leader key #1332
Also mentioned in #1240
2019-04-16 10:56:26 -04:00
Henrik Lissner
12161e1b67
Merge pull request #1333 from flatwhatson/project-search-cwd
Fix wrong-number-of-args in project-search-from-cwd
2019-04-16 10:56:08 -04:00
Andrew Whatson
ee11262aca Fix wrong-number-of-args in project-search-from-cwd 2019-04-17 00:32:35 +10:00
Andrew Whatson
e3cd82016e Disable fuzzy-matching for swiper-isearch 2019-04-16 11:07:06 +10:00
Henrik Lissner
4a7b821934
Don't auto-kill scratch buffer popups 2019-04-15 14:16:45 -04:00
Henrik Lissner
e9f788cf67
Remove redundant project-modeline hook
Added upstream recently
2019-04-15 04:09:39 -04:00
Henrik Lissner
54d180b376
Ensure user-emacs-directory in doctor
Also allow it to be customized with EMACSDIR envvar
2019-04-15 03:47:24 -04:00
Henrik Lissner
7885cbb4f7
Merge sly db/inspector popup rule into others 2019-04-14 13:39:57 -04:00
Henrik Lissner
b6611d215f
Fix wrong-num-of-args error on SPC *
Adds QUERY and DIRECTORY args to +{ivy,helm}/project-search
2019-04-14 13:39:30 -04:00
Henrik Lissner
94a2bc77ef
Unbind C-h in help-map
It interferes with which-key help/paging for the SPC h prefix.
2019-04-12 16:13:51 -04:00
Henrik Lissner
a1df75aa43
feature/evil: mention cl/cc in readme 2019-04-11 19:22:34 -04:00
Henrik Lissner
18a4f949c1
feature/evil: update Ex commands listing in README 2019-04-11 19:20:20 -04:00
Henrik Lissner
c1bc899e34
config/default: add & change SPC p keybinds
- Moved SPC p x to SPC p i (invalidate cache)
- Add SPC x prefix for opening terminals/ielm at project root
- Add SPC a and SPC d for adding/removing known projects
- Add SPC f for finding a file in other projects
- Add SPC b for switching project buffer (TODO improve ivy/helm support)
- Add SPC k for killing project buffers
2019-04-11 18:29:26 -04:00
Henrik Lissner
4724d0a109
Fix #1323: void-variable projectile-project-root 2019-04-11 18:29:26 -04:00
Henrik Lissner
83cba583a7
with-eval-after-load -> after!
So :desc is ignored if which-key is disabled.
2019-04-11 18:29:23 -04:00
Henrik Lissner
da39d2b004
Merge pull request #1289 from filalex77/lang/kotlin
Add Kotlin module
2019-04-11 04:16:53 -04:00
Oleksii Filonenko
76fb819dfb
Rename non-interactive function +kotlin-locate-gradlew-file 2019-04-11 10:16:53 +03:00
Oleksii Filonenko
0c0aff60a1
[lang/kotlin] Use warn! macro in doctor.el 2019-04-11 10:16:10 +03:00
Henrik Lissner
3c01de8876
Fix #1320: generalize SPC *
Was formerly using ripgrep, and only ripgrep.
2019-04-10 20:14:50 -04:00
Henrik Lissner
3f751c1179
Correctly regexp-quote symbol on SPC * 2019-04-10 20:11:41 -04:00
Henrik Lissner
500878c882
Enlargen command-log window slightly 2019-04-10 19:25:21 -04:00
Henrik Lissner
3ef2abfb22
Improve ivy-switch-buffer transformer
- Highlights remote/tramp files with ivy-remote face
- Highlights non-file-visiting buffers with ivy-subdir face
- Highlight modified buffers with ivy-modified-buffer face
- Disable built-in ivy-switch-buffer transformer (redundant with our own
  transformer)
2019-04-10 19:24:17 -04:00
Henrik Lissner
5e8687cd45
Add SPC * for project-searching symbol at point 2019-04-10 18:57:57 -04:00
Henrik Lissner
4aec51525b
config/default: replace SPC c c with #'compile
SPC p c exists for projectile-compile-project
2019-04-10 18:52:34 -04:00
Henrik Lissner
8e18b402ce
lang/rust: run cargo commands from Cargo.toml dir
Instead of the current directory, which breaks file links in the
compilation buffer.
2019-04-10 18:52:08 -04:00
Henrik Lissner
da34862e56
Fix TAB in magit-diff-mode 2019-04-10 18:51:20 -04:00
Henrik Lissner
653161fe2e
lang/org: refactor org config load order
- No longer use org-load-hook; it was unnecessary and there were corner
  cases where org would get loaded before hooks were added to it.
- Update comments
- Remove config that was redundant with org's defaults (wrt org-file-apps)
- Perform persp-mode check before using persp-mode API in
  +org|exclude-agenda-buffers-from-workspace advice.
- Update outdated smartparens config and move it out of
  org-mode-hook (only needs to be run once, not everytime org-mode is
  enabled)
- Autoload mode hooks
2019-04-10 18:47:21 -04:00
Henrik Lissner
3da6c23d75
lang/org: restore org-shifttab on S-TAB
For evil users
2019-04-10 18:09:32 -04:00
Henrik Lissner
138248ed03
Don't auto-kill compilation log buffers #1316 2019-04-09 21:55:46 -04:00
Henrik Lissner
ba23b63f5c
Fix +popup/raise for consecutive popups 2019-04-09 21:20:08 -04:00
Henrik Lissner
2c7f917691
Fix #1315: blank modeline on doom/reload
Default mode-line-format shouldn't be tampered with except at startup.
2019-04-09 14:36:21 -04:00
Henrik Lissner
31eb845f6b
Reset more state on doom/module initialization
Makes `doom/reload` a little more reliable and the side effects of
`doom-initialize`/`doom-initialize-modules` a little more deterministic.
2019-04-09 03:43:13 -04:00
Henrik Lissner
defd60b24b
Fix doom quickstart not installing packages
If the user had no ~/.doom.d/init.el to begin with, and never reads it
after it's been created (by `doom quickstart`), then Doom can't possibly
know what modules to install packages for, therefore no packages get
installed!
2019-04-09 03:31:05 -04:00
Henrik Lissner
d3a12a3914
Refactor projects api
Improves correctness of projectile project state. Namely, prevents
projectile-project-root from poisoning the return value of
doom-project-root or doom-project-p, which may be causing an elusive bug
where doom-project-find-file is searching the wrong directory.
2019-04-09 03:13:18 -04:00
Henrik Lissner
98e5ddc1e1
feature/evil: correct text objects in README 2019-04-09 00:35:31 -04:00
Henrik Lissner
d2afd6928f
ui/doom-dashboard: fix +doom-dashboard-p test 2019-04-08 23:15:22 -04:00
Henrik Lissner
6cf6825a4d
lang/web: fix typo
Pushing to the wrong variable!
2019-04-08 23:07:29 -04:00
Henrik Lissner
f9b6f6746f
General, minor refactor/reformatting 2019-04-08 23:03:19 -04:00
Henrik Lissner
742687a51e
Add delq! and pushnew! macros
And move projectile configs to their respective modules (and out of
package configs).
2019-04-08 23:01:30 -04:00
Henrik Lissner
f934f38627
ui/doom-dashboard: general refactor
Hopefully addresses #1170
2019-04-08 22:58:10 -04:00
Henrik Lissner
5f09c9c634
Fix map! tests wrt 1fab389d 2019-04-08 15:27:20 -04:00
Henrik Lissner
4a2d0bf955
Add :lang org +protocol to init.example.el 2019-04-08 14:34:01 -04:00
Henrik Lissner
3b352143c0
Fix commandp errors on {local,}leader keys
General would read (function ...) forms unevaluated, as a list, rather
than a function symbol.
2019-04-08 14:06:18 -04:00