Commit graph

465 commits

Author SHA1 Message Date
Huy Duong
c4b325fa4b Fix magit-clone error
magit-clone function has changed signature to work with transient.
So using the new magit-clone-regular instead.

Signed-off-by: Huy Duong <huy.duong@employmenthero.com>
2019-06-03 16:59:03 +07:00
Siddharth Shekar
aa64cf9426 Replace kill-this-buffer with kill-current-buffer
As per the documentation for kill-this-buffer, it should only be invoked
from the menu and behaves unpredictably when invoked programmatically.
2019-05-30 18:54:58 -07:00
Henrik Lissner
ef9f5b3bdf
Merge pull request #1201 from kot-behemoth/patch-1
Document +ein-hydra
2019-05-30 13:23:17 -04:00
Henrik Lissner
9ad8d97f93
Correct map! example 2019-05-30 13:21:19 -04:00
Brice Waegeneire
66b74c63b7 magit-todos 1.2 removed magit-todos-require-colon
3c59aa03b2 (12)
2019-05-30 16:33:37 +02:00
Henrik Lissner
2214c3175e
Minor tweaks across the board 2019-05-21 00:34:32 -04:00
Henrik Lissner
10cef7a887
tools/flyspell: add +prog flag #1418
Enables flyspell-prog-mode on prog-mode-hook.
2019-05-19 02:18:25 -04:00
Henrik Lissner
c3cb7c5000
:tools password-store -> :tools pass
A simpler name and matches the prefix of its module.
2019-05-19 02:18:25 -04:00
Henrik Lissner
8c65a63b1c
Move eshell, term & vterm modules to :term 2019-05-19 02:17:59 -04:00
Henrik Lissner
42ba2a22b8
Prevent ~/.emacs.d/transient from being created 2019-05-19 02:17:59 -04:00
Henrik Lissner
571e7bd527
Fix +lookup/in-docsets & docsets lookup backend
They were throwing 'cannot find docset' errors.

- Adds new +lookup/in-all-docsets command.
- If a prefix arg is passed to +lookup/in-docsets, it will search all
  docsets in dash-docs-common-docsets.
2019-05-17 21:02:24 -04:00
Henrik Lissner
31ed6fdf2b
tools/eval: fix eval-and-replace not first clearing selection 2019-05-17 16:01:46 -04:00
Henrik Lissner
ec240d0bfa
tools/eval: fix window-live-p error on eval-and-replace
Caused because the quickrun window adjustment hooks assume quickrun will
always spawn a results buffer, but in the case of eval-and-replace, it
doesn't.
2019-05-17 15:59:49 -04:00
Henrik Lissner
87899124ab
Disable lsp-ui-doc by default
In the interest of performance and simplicity. lsp-ui-doc is redundant
with +lookup/documentation and eldoc (which are less imposing than
lsp-ui-doc's childframe).

Also sets lsp-groovy-server-install-dir.
2019-05-17 02:05:33 -04:00
Henrik Lissner
3240238a18
tools/vterm: improve UI/UX
- Don't prompt about processes when killing buffer
- Hide modeline in vterm buffers (doesn't do anything useful and would
  be consistent with settings for eshell and term modules).
- Refactor +vterm/open & +vterm/open-popup
- Add Emacs window redraw hack to force vterm to redraw, fixing
  artefacting in some edge cases.
- Fix ansi-color-names-vector when solaire-mode is present, otherwise
  you get a mismatched background in vterm (and other terms).
2019-05-17 01:58:42 -04:00
Henrik Lissner
ae8aa26c33
tools/lookup: add prefix arg to lookup commands
The prefix arg causes +lookup/{definition,references,documentation} to
prompt you for which lookup backend to use.
2019-05-16 00:37:27 -04:00
Henrik Lissner
1f88efeb82
tools/lookup: fix missing +lookup-symbol-or-region error 2019-05-16 00:10:56 -04:00
Henrik Lissner
4002313e79
tools/lookup: declare gnutls-algorithm-priority early
Otherwise, gnutls-algorithm-priority won't be in scope for
`dash-docs-read-json-from-url`.
2019-05-15 23:59:03 -04:00
Henrik Lissner
bc501ef28e
doom*dash-docs-read-json-from-url -> +lookup*fix-gnutls-error
Conform to naming conventions.
2019-05-15 23:50:29 -04:00
Henrik Lissner
0c243e6d5c
tools/lookup: fix dash-docs-install-docset
Addresses a integer-or-marker-p error emitted from the
`url-retrieve-synchronously' call in `dash-docs-read-json-from-url'.
This is apparently a systemic issue in Emacs 26's networking library.
See https://github.com/magit/ghub/issues/81
2019-05-15 23:40:27 -04:00
Henrik Lissner
a6d4341a95
tools/vterm: update README 2019-05-14 22:56:01 -04:00
Henrik Lissner
fb8b7c38d2
Make lookup handlers easier to debug
If debug-mode is on, errors in lookup handlers will not emit a full
backtrace.
2019-05-14 22:26:21 -04:00
Henrik Lissner
b58199ca61
tools/vterm: install vterm from MELPA 2019-05-14 22:02:11 -04:00
Henrik Lissner
9cfbe53d37
Fix "selected dead buffer" errors on gD
Because the popup manager was auto-killing the *xref* buffer (that
ivy-xref closes immediately).
2019-05-14 21:35:30 -04:00
Henrik Lissner
3d53aa5dad
Fix google images url for +lookup/online 2019-05-14 15:18:17 -04:00
Henrik Lissner
10f60e7918
tools/magit: add -t/--tags action to magit-fetch 2019-05-13 00:20:06 -04:00
Henrik Lissner
8ec44959c5
tools/lookup: update to reflect changes upstream
counsel-dash no longer depends on helm
2019-05-12 01:45:48 -04:00
Henrik Lissner
f3d2038931
Merge pull request #1377 from pcasaretto/docker-docs
Add a draft for docker module documentation
2019-05-12 00:33:03 -04:00
Henrik Lissner
f97b5b70e3
tools/flyspell: reduce english-centric defaults
Falls back to system defaults, which are a little more reliable.
2019-05-06 19:39:35 -04:00
Paulo Casaretto
37f799c4e5 Make plugins a simple list 2019-05-05 19:17:02 -03:00
Paulo Casaretto
48b1276ee6 Add TODO tag to Features heading 2019-05-05 19:03:11 -03:00
Henrik Lissner
051f792205
tools/magit: remove +magit-display-popup-buffer
Because magit uses transient now, and other plugins that use magit-popup
don't seem to need it anymore.

And update docstring+comments.
2019-05-04 19:13:26 -04:00
Henrik Lissner
927dcb274d
tools/lookup: log handler errors
Silences them unless debug mode is on
2019-05-03 20:45:11 -04:00
Henrik Lissner
d481fc1dd4
tools/lookup: update README & docstrings
And minor reformatting of config.el
2019-05-03 20:44:49 -04:00
Henrik Lissner
96ca04d488
Set lsp lookup handlers rather than remapping them
Now that the lookup module has beter deferred handler support.
2019-05-03 20:03:32 -04:00
Henrik Lissner
d17764366e
Rewrite lookup handling
- Rewrite documentation for set-lookup-handlers!
- Remove opening lookup targets in other-window; sorry, but there is no
  consistent, stable way to do this, when many jump handlers are
  asynchronous. If you want to open a jump target in another window,
  create a split beforehand.
- Add support for jump handlers returning 'fail or 'deferred
- Fix xref backends when using async UIs like ivy or helm
- Conditionalize creating a better-jump jump point, and create it in the
  spot we jumped *from*, not where we jumped *to*.
2019-05-02 17:53:59 -04:00
Henrik Lissner
0f21e2b44a
Fix lookup handlers not being used #1378 2019-05-02 17:51:51 -04:00
Henrik Lissner
6d314c2795
Revise and update docstrings and comments 2019-05-01 21:02:28 -04:00
Henrik Lissner
4aa65aa019
Move avy, ace-link & ace-window out of core
They don't belong there, and ace-window is no longer a core dependency
anyhow.
2019-05-01 21:02:28 -04:00
Henrik Lissner
adc8fc0ad1
tools/lookup: autoload +lookup-online-backend #1375 2019-04-30 20:22:28 -04:00
Paulo Casaretto
b39188406d Add a draft for docker module documentation 2019-04-30 17:34:40 -03:00
Henrik Lissner
ed5d27eee7
tools/lookup: stop prompting for TAGS file 2019-04-30 15:11:23 -04:00
Henrik Lissner
6b21e31df6
tools/lookup: update dumb-jump backend
dumb-jump-go no longer returns a plist, but a file path, on successful
jump.
2019-04-30 15:10:43 -04:00
Henrik Lissner
a4c5396558
Add better-jumper
Replaces evil's jumplist; makes its functionality available for non evil
users.
2019-04-24 18:16:04 -04:00
Henrik Lissner
b189254050
Don't kill magit on ESC (for evil users)
q is enough. An ESC could be accidental (e.g. when ESCing from visual
mode in magit).
2019-04-24 18:16:04 -04:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
Henrik Lissner
d811f58ed2
+lookup/documentation -> lsp-describe-thing-at-point
More reliable in lsp-mode
2019-04-19 20:55:44 -04:00
Henrik Lissner
e7e1383b08
tools/lsp: replace lookup commands w/ lsp-ui-peek 2019-04-16 20:56:52 -04:00
Henrik Lissner
da34862e56
Fix TAB in magit-diff-mode 2019-04-10 18:51:20 -04:00
Henrik Lissner
f9b6f6746f
General, minor refactor/reformatting 2019-04-08 23:03:19 -04:00