Commit Graph

10658 Commits

Author SHA1 Message Date
Henrik Lissner
1b3dd6c40d
Merge pull request #1932 from nobv/add-go-gen-test
lang/go: add go-gen-test package
2019-10-22 12:36:10 -04:00
Henrik Lissner
63ee940a7e
lang/go: move go-gen-test keybinds onto t prefix 2019-10-22 12:35:12 -04:00
nobv
5de62574bc Add support for go-gen-test 2019-10-23 01:06:46 +09:00
Henrik Lissner
0ccf31635d
emacs/dired: fix icons interfering w/ wdired #1929 2019-10-22 01:58:17 -04:00
Henrik Lissner
e31f51e0ba
lang/emacs-lisp: recreate output popup on eval
If we don't, the popup doesn't resize itself if the contents shrink or
grow.
2019-10-22 00:34:16 -04:00
Henrik Lissner
cba645be00
tools/lsp: defer server shutdown
To give theu ser a chance to open othe rproject files before the server
is auto-killed.
2019-10-21 19:01:57 -04:00
Henrik Lissner
c034bfdc87
tools/lsp: minor refactor & comment variables
Also moves lsp-fsharp-server-install-dir to
~/.emacs.d/.local/etc/lsp-fsharp
2019-10-21 19:01:06 -04:00
Henrik Lissner
8dfc4b3033
tools/lsp: prompt for project if one can't be guessed #1928
And don't recognize $HOME as a valid project root.
2019-10-21 18:29:11 -04:00
Henrik Lissner
0cca037448
tools/lsp: log project root when starting lsp #1928 2019-10-21 18:28:45 -04:00
Henrik Lissner
4c2f718557
config/default: alias 'SPC p {f,F}' to SPC p {/,.} 2019-10-21 16:46:10 -04:00
Henrik Lissner
5f9a630c2f
term/term: fix void-function tramp-tramp-file-p error
multi-term uses tramp functions before tramp is loaded.

Remove this once manateelazycat/multi-term#2 is merged.
2019-10-21 16:23:44 -04:00
Henrik Lissner
aa35695444
term/term: fix wrong-type-arg stringp error on +term/here
Caused by a change upstream to the multi-term function's return value.
2019-10-21 15:54:53 -04:00
Henrik Lissner
badff31ee2
lang/org: fix off-by-one coloring in eldoc breadcrumbs 2019-10-21 14:45:43 -04:00
Henrik Lissner
a7a3e0e0e9
term/eshell: remove company integration
pcomplete simply provides better completion (but with a terrible UI).
There must be a way to integrate it into company...
2019-10-21 09:57:48 -04:00
Henrik Lissner
25f6d5fec0
term/eshell: remove esh-autosuggest, improve company integration
esh-autosuggest only provides history completion, which isn't very
useful, especially when we already have history search (via ivy/helm)
available on 'C-s' in eshell.

The active company-backends have been rearranged so that company-capf is
the main completer, but will fall back to company-files (since capf
doesn't complete files, only directories and commands).

I wish there were something more robust, however. Perhaps a way to
integrate pcomplete into company?
2019-10-21 09:42:14 -04:00
Henrik Lissner
af7f75089f
lang/data: sync tab-width with mode indent vars 2019-10-21 09:39:54 -04:00
Henrik Lissner
8eb9cf5b30
lang/coq: setup company ourselves + minor refactor
company-coq imposes its own value for company-idle-delay, potentially
overriding the user's customizations, so we set up company ourselves.
2019-10-21 09:01:49 -04:00
Henrik Lissner
573675b6e8
Merge pull request #1921 from flatwhatson/info-binds
config/default: add {apropos,Info}-mode keybinds
2019-10-21 06:28:47 -04:00
Henrik Lissner
4238638839
Merge pull request #1924 from flatwhatson/save-buffer
config/default: restore 'SPC f s' keybind; add 'SPC f S'
2019-10-21 06:28:06 -04:00
Henrik Lissner
5aa8972e1d
config/default: rethink 'SPC b {s,S}' keys
Relevant to #1923
2019-10-21 06:26:57 -04:00
Henrik Lissner
65dcd901a0
Move common evil-collection-key-blacklist entries to editor/evil 2019-10-21 06:26:57 -04:00
Henrik Lissner
74cad2632b
ui/popup: use old alist use-case for set-popup-rule!
This paradigm has been long since abandoned.
2019-10-21 06:26:57 -04:00
Henrik Lissner
b3a0fb9fc7
ui/popup: correct docstring of set-popup-rule!
Predicate functions take two arguments.
2019-10-21 06:26:57 -04:00
Henrik Lissner
c55e86a54b
config/defaut: bind 'SPC p s' to projectile-save-project-buffers 2019-10-21 06:26:57 -04:00
Henrik Lissner
9f332c0201
lang/python: lsp-python-ms-python-executable-cmd = python-shell-interpreter 2019-10-21 06:26:57 -04:00
Henrik Lissner
88857b34ed
lang/haskell: prevent 'kill the whole session' prompts
When closing the haskell-interactive-mode popup.
2019-10-21 06:26:57 -04:00
Andrew Whatson
0bed9d1312 Restore save file binding on SPC f s
Put `save-buffer` back on `SPC f s` to save without prompt, and add
`write-file` as `SPC f S` for saving with prompt for filename.

Fixes #1923
2019-10-21 19:29:25 +10:00
Andrew Whatson
ecf6a3875e Add some bindings for apropos and info-mode 2019-10-21 14:30:34 +10:00
Bart Brouns
c56f0513fa Add some bindings to mu4e-compose-mode (#1918)
email/mu4e: add mu4e-compose-mode localleader keybinds
2019-10-20 20:01:37 -04:00
Henrik Lissner
06be259b6d
Merge pull request #1919 from aidangilmore/pragmata-pro-update
ui/pretty-code: update PragmataPro Ligatures
2019-10-20 19:59:58 -04:00
Henrik Lissner
993e14b2e8
Merge pull request #1920 from rgrinberg/coq-disable-electric-terminators
lang/coq: proof-electric-terminator-enable = nil
2019-10-20 19:59:20 -04:00
Henrik Lissner
2b43558445
tools/flycheck: display popups a little faster 2019-10-20 19:57:46 -04:00
Henrik Lissner
9402a0e09d
Bind 'SPC i u' to 'insert unicode character'
With a counsel remapping. We need a helm one too.
2019-10-20 19:57:28 -04:00
Henrik Lissner
6fab07a2e7
tools/editorconfig: detect elisp & js shell scripts
(And sort +editorconfig-mode-alist alphabetically)
2019-10-20 19:57:28 -04:00
Henrik Lissner
1694641636
lang/org: minor refactor of contrib submodules 2019-10-20 19:57:28 -04:00
Henrik Lissner
c5464f1798
lang/org: replace ox-reveal w/ org-re-reveal
ox-reveal is no longer maintained, and has been replaced with
org-re-reveal; a fork.
2019-10-20 19:57:27 -04:00
Henrik Lissner
45a17c86ba
Add +ivy/jump-list & bind 'SPC b j' to it
Falls back to evil-show-jumps for non-evil users.
2019-10-20 19:57:27 -04:00
Henrik Lissner
e7f492c400
ui/popup: fix "back to top level" issue
The popup manager (by default) auto-kills most popup buffers after
~5s (controlled by the :ttl property). However, when backtrace buffers
are killed, it calls `top-level`. When the popup manager kills the
buffer, this causes janky cursor movement and the message "Back to top
level" to be displayed in the minibuffer.
2019-10-20 19:57:27 -04:00
Henrik Lissner
00849c5e1b
config/default: don't consult authinfo for local sudo TRAMP buffers 2019-10-20 19:57:27 -04:00
Henrik Lissner
9634a3860e
config/default: invoke magit-todos-list on SPC p t
Before falling back to +ivy/tasks and helm/tasks (not implemented yet).
2019-10-20 19:57:27 -04:00
Henrik Lissner
0218985b3e
lang/ess: use run-ess-julia for ess-julia-mode REPL 2019-10-20 19:57:27 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
Henrik Lissner
8b18604b63
lang/sh: remove /bin/* fallback mode assocation
Now that doom-guess-mode-h exists (which will set the major mode when
you save a file in fundamental-mode), this association isn't needed
anymore (because doom-guess-mode-h will deduce the mode from the
shebang line).
2019-10-20 15:14:38 -04:00
Henrik Lissner
7e3849be67
lang/org: remove unnecessary toc-org advice
It was initially written to avoid the cursor hopping about the buffer
when regenerating the table of contents. This isn't really an issue
anymore. Although, I would like to prevent emacs from adding adding an
undo step when it is regenerated...
2019-10-20 15:14:38 -04:00
Henrik Lissner
29f6db6ead
lang/org: org-clock-in-resume = t, org-clock-out-remove-zero-time-clocks = t 2019-10-20 15:14:38 -04:00
Henrik Lissner
043205b515
lang/org: org-html-validation-link = nil
Don't include "Validate" link in html exports.
2019-10-20 15:14:38 -04:00
Henrik Lissner
a8cc68e00b
Add doom/homepage command
Not that the site exists yet, but I'm tired of having all these tidbits
of uncommitted code laying about. It'll exist eventually!
2019-10-20 15:14:37 -04:00
Henrik Lissner
6e0a93233d
Add emacs/ibuffer module
And bind 'SPC b i' to ibuffer
2019-10-20 15:14:26 -04:00
Henrik Lissner
5215b79f7a
config/default: move SPC f {S,X} and SPC g D keys
- Moved doom/sudo-find-file from 'SPC f S' to 'SPC f u'
- Moved doom/delete-this-file from 'SPC f X' to 'SPC f D'
- Replaced save-buffer on 'SPC f s' with write-file ('SPC b s' is still
  bound to save-buffer)
- Moved magit-file-delete from 'SPC g x' to 'SPC g D' (for consistency
  with the above, and to reduce accidental key presses)
2019-10-20 11:01:29 -04:00
Henrik Lissner
09d58ba65e
config/default: bind SPC / / to swiper 2019-10-20 10:59:34 -04:00