Commit graph

4264 commits

Author SHA1 Message Date
Henrik Lissner
469cc7fbc1
Remove up/down keybinds in helm 2018-08-24 19:28:03 +02:00
Henrik Lissner
d59f36eee1
Eval compile-command in :make
In case it is a set to a lisp form by a file local variable.
2018-08-24 17:53:21 +02:00
Henrik Lissner
6a39b98f67
Trigger +javascript-npm-mode in json-mode too 2018-08-24 16:56:24 +02:00
Henrik Lissner
62b9166871
Change :make to reuse last command
Unless given a command.
2018-08-24 12:36:16 +02:00
Henrik Lissner
9eee22e3fc
completion/helm: redesign keybindings
A more vim-friendly (and spacemacs-friendly) keybinding scheme.

May address #829
2018-08-24 01:47:44 +02:00
Henrik Lissner
6b91039283
Fix helm persistent action with *Org Links* window
Fixes #829. Helm's persistent action would try to operate on the *Org
Links* window, which is dedicated, causing a "Cannot split side window
or parent of side window" error.

This fix gets rid of this unhelpful popup altogether when helm is
enabled.
2018-08-24 01:09:53 +02:00
Henrik Lissner
619ac43017
completion/helm: unbind <left>/<right> #829
Disables special behavior on <left>/<right> and <M-left>/<M-right>,
which are strange.
2018-08-24 01:08:39 +02:00
Henrik Lissner
627aae436d
completion/helm: add helm-ff-fuzzy-matching
Also resorts the fuzzy-match variable list.
2018-08-24 01:07:55 +02:00
Henrik Lissner
e3f412abb7
Add +evil-want-o/O-to-continue-comments
Controls whether o/O continue commented lines. Since this is the default
behavior of vim, it is enabled by default.
2018-08-23 18:42:09 +02:00
Henrik Lissner
ed8a08226c
ui/modeline: install shrink-path 2018-08-23 17:27:31 +02:00
Henrik Lissner
bfa6fce15f
+popup/buffer: hide buffer being popped up #825 2018-08-23 17:12:49 +02:00
Henrik Lissner
641cef9848
Refresh vc when magit refreshes #826
Magit does not inform vc that changes have occurred to open buffers.
This fixes that (and indirectly fixes branch display in the modeline).
2018-08-23 17:09:59 +02:00
Henrik Lissner
c7abe743d1
lang/ruby: show messages when robe throws errors 2018-08-23 16:55:02 +02:00
Henrik Lissner
f23960b919
lang/ruby: don't enable global-rbenv-mode
To be consistent with pyenv/virtualenvs; rbenv should be managed
manually, rather than trying to guess what the user wants.
2018-08-23 16:54:02 +02:00
Henrik Lissner
e003c2aa6a
Remove :load-path
Accidentally snuck into a commit!
2018-08-22 22:44:22 +02:00
Henrik Lissner
dc9841b192
ui/modeline: refactor path builder & add other styles
This brings +doom-modeline-buffer-file-name styles to the new modeline
module, controlled by the +modeline-buffer-path-function variable.

The available functions are:

* +modeline-file-path-with-project: project/src/lib/file.c
* +modeline-file-path-from-project: src/lib/file.c
* +modeline-file-path-truncated-with-project: project/s/l/file.c
* +modeline-file-path-truncated-upto-project: ~/w/project/src/lib/file.c
* +modeline-file-path-truncated-upto-project-root: ~/w/p/s/lib/file.c
* +modeline-file-path-truncated: ~/w/p/s/l/file.c
* +modeline-file-name: file.c

The default is file-path-with-project.
2018-08-22 22:36:44 +02:00
Henrik Lissner
6282526743
ui/modeline: fontify project root separately
And add new doom-modeline-buffer-project-root face.
2018-08-22 22:28:53 +02:00
Henrik Lissner
4dfb84211b
feature/lookup: minor refactor 2018-08-22 20:38:16 +02:00
Henrik Lissner
8e7a7c1878
Fix void-function format-all-resolve-system error
This function is only defined at compile time for the format-all
package, so we must extract it into a new function.
2018-08-22 20:38:16 +02:00
Henrik Lissner
34fcaec678
config/default: add SPC c f for formatting code
Powered by the new :editor format module.
2018-08-22 20:38:13 +02:00
Henrik Lissner
f6dbc00bc4
Fix agda-mode executable typo 2018-08-22 03:53:19 +02:00
Henrik Lissner
06262fef17
Lazy-load agda2; more robust +agda-dir resolution 2018-08-22 03:52:53 +02:00
Henrik Lissner
742f9d23a2
Merge pull request #823 from patrl/moreCoq
Put company-coq behind conditional
2018-08-22 03:35:34 +02:00
Henrik Lissner
c5334f61a3
Add lookup-handlers for idris-mode 2018-08-22 03:34:51 +02:00
Henrik Lissner
f80b9bb8c5
Defer loading of idris-mode package 2018-08-22 03:33:12 +02:00
Henrik Lissner
2694a42fdb
lang/ledger: polish keybindings
Fixes #818
2018-08-22 02:35:55 +02:00
Henrik Lissner
ecb01dbdfc
lang/javascript: attempt more fontification 2018-08-22 02:20:25 +02:00
Henrik Lissner
f51f2948af
New :editor format module
Centralized code formatting with built-in support for a variety of
languages. Provides the set-formatter! function for defining your own.

Still experimental and needs more testing!
2018-08-22 02:20:11 +02:00
Henrik Lissner
c7e6cb981b
lang/cc: simplify add-hook! call 2018-08-21 23:15:54 +02:00
Henrik Lissner
17abb990e4
tools/magit: don't make new windows too tall
Some popups (like logs or revisions) completely consume the current
window.
2018-08-21 22:45:42 +02:00
Henrik Lissner
18a0b059d0
lang/ledger: fix S P C key sequence #818
Forgot to run doom-leader-key through kbd
2018-08-21 21:36:56 +02:00
hackeryarn
2c6ae455f9 updated readme to use set-popup-rules! 2018-08-21 07:21:25 -05:00
Patrick Elliott
dbca4eef12
Put company features behind conditional 2018-08-21 13:44:11 +02:00
Patrick Elliott
a2c1a62cd6
Add basic idris support 2018-08-21 13:35:58 +02:00
Patrick Elliott
b3a83daf5f
Added basic agda support. 2018-08-21 12:46:29 +02:00
Henrik Lissner
ee73d6c9af
Minor reformatting & comment tweaks 2018-08-21 03:34:39 +02:00
Henrik Lissner
a7da9a4738
💥 Rewrite line numbers system for Emacs 25
This removes the various doom-line-number* variables and replaces it
with the Emacs 26 display-line-numbers API, which I've ported to Emacs
25.x (however, it uses nlinum under the hood, and not all of
display-line-numbers options are supported).
2018-08-21 03:34:39 +02:00
Henrik Lissner
64a88385cb
lang/org: make shiftab respect org-cycle-separator-lines #800 2018-08-21 02:56:54 +02:00
Henrik Lissner
aa9b0a8b94
lang/org: set org-cycle-separator-lines to default
Relevant to #800
2018-08-21 02:56:54 +02:00
Henrik Lissner
154b3c331b
helm: remap find-library -> helm-locate-library
Is superior to find-library
2018-08-21 02:56:54 +02:00
Henrik Lissner
4acb3f29ab
lang/emacs-lisp: reformat & autoload functions 2018-08-21 02:56:53 +02:00
Henrik Lissner
1cb31d7cb5
lang/emacs-lisp: optimize symbol fontification
By ignoring symbols in comments and strings.
2018-08-20 23:47:31 +02:00
Henrik Lissner
97bc69b9e5
lang/emacs-lisp: recenter window after elisp-def 2018-08-20 23:47:16 +02:00
Henrik Lissner
9a792f3401
lang/ledger: tie evil-ledger to evil's +everywhere
And move it down. Core plugins should be closer to the top.
2018-08-20 23:34:39 +02:00
Henrik Lissner
a6f575ab1d
lang/ledger: don't error if ledger isn't installed 2018-08-20 23:34:39 +02:00
Henrik Lissner
ce4891ea0d
lang/ledger: fix leader key in reports #818 2018-08-20 23:34:34 +02:00
Henrik Lissner
ecf9c14229
Enable rainbow-delimiters-mode in sh-mode 2018-08-20 12:43:48 +02:00
Henrik Lissner
40eda029ab
Fix "Select a root directory" prompts
Occurs when :feature snippets is disabled, but :feature file-templates
is enabled.
2018-08-20 12:43:26 +02:00
hackeryarn
765a078685 Merge branch 'develop' of https://github.com/hlissner/doom-emacs into develop 2018-08-19 14:29:21 -05:00
Henrik Lissner
9e0e586dd8
tools/magit: use current window instead of fullcol
Full column is a bit tempermental. This also removes the need to restore
the window config after quitting magit.

Why the switch from full-frame magit to current-buffer? It is the least
intrusive policy; it doesn't rearrange the user's workspace.
2018-08-19 01:15:22 +02:00