Commit graph

3930 commits

Author SHA1 Message Date
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
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
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
Henrik Lissner
6d1db77fae
Refactor lang/clojure & fix clojure handlers
Ensure repl/eval/lookup handlers are set soon enough to take effect in
first buffer.
2018-08-19 01:12:24 +02:00
Henrik Lissner
3d4b03a8ea
lang/emacs-lisp: replace xref with elisp-def
Possibly better goto-definition behavior than xref; needs more testing.
2018-08-19 00:13:18 +02:00
Henrik Lissner
743e43add1
lang/racket: redo keybinds
+ Improve verbal mneumonics and enforce localleader conventions (e.g. h
  = help, g = goto)
+ Remove keybinds that other features replace (like smartparens or
  lookup handlers).
+ Alphabetize keybinds for easier skimming.
2018-08-19 00:09:04 +02:00
Henrik Lissner
99815f8b98
lang/racket: more sensible lookup handlers
definition: racket-visit-definition
documentation: racket-describe
2018-08-19 00:08:32 +02:00
Henrik Lissner
81c3f3f024
lang/racket: remove redundant localleader keybinds
These already exist on TAB (for all users) and gc/= for evil users (or
M-;/C-M-\ for non-evil users).
2018-08-18 23:51:58 +02:00
Henrik Lissner
a3c0985aa0
lang/racket: remove keybind :desc properties #814 2018-08-18 23:50:28 +02:00
Henrik Lissner
491088de4d
Merge pull request #804 from patrl/coq
DONE: add coq module
2018-08-18 23:48:34 +02:00
Henrik Lissner
48c531e76c
lang/coq: move config.el to autoload.el
The auto-mode-alist entry for coq-mode and friends are already added by proof-general's autoloads file, and neither coq-mode nor company-coq-mode belong to proof-site specifically, so they shouldn't be treated like they are (this could cause autoloading errors).

The `def-package!` block altogether is unnecessary. The only thing we need is to enable `company-coq-mode` on coq-mode-hook. However, having a one-line config.el is a tad excessive, so we put it in autoload.el instead.
2018-08-18 23:45:36 +02:00
Patrick Elliott
6393ebe16b
Removed redundant config 2018-08-18 14:51:21 +02:00
Henrik Lissner
33e0f9f11c
Merge pull request #811 from chengyi/fix-c-mode-tab-width-error
delete redundant comma
2018-08-17 19:09:33 +02:00
Henrik Lissner
f38e04bf83
Restore default mu4e non-fancy marks #810 2018-08-17 12:40:47 +02:00
wanghao
b867afff1f delete redundant comma
this cause wrong tab width in c mode
2018-08-17 10:48:14 +08:00
Henrik Lissner
6ab9cf6460
Switch org-agenda-list for org-agenda on dashboard 2018-08-17 04:10:11 +02:00
Henrik Lissner
1a6519aa45
Display search command & directory in helm header
Displays the full command (minus formatting options) and target
directory rather than the unhelpful "The Silver Searcher", even if we're
using ripgrep or pt.
2018-08-17 03:56:45 +02:00
Henrik Lissner
7a578eb242
Move counsel+helpful integration to ivy module 2018-08-17 03:37:07 +02:00
Henrik Lissner
8a0d12d4f0
Enable line numbers in restclient-mode 2018-08-16 22:02:30 +02:00
Henrik Lissner
ffccb3a31a
Sharp-quote keybind commands 2018-08-16 20:39:16 +02:00
Henrik Lissner
957ba3ee67
lang/rest: :n RET = run request at point 2018-08-16 17:37:13 +02:00
Henrik Lissner
772febedb7
lang/rest: fix za, zm & zr fold keys 2018-08-16 17:37:13 +02:00
Henrik Lissner
d60296111e
lang/rest: prompt for self-signed/invalid certs 2018-08-16 16:42:01 +02:00
Henrik Lissner
7c82cb6002
org-capture: remove window-system frame parameter
Hopefully, `make-frame` can figure out which window-system to use.
2018-08-16 12:32:13 +02:00
Henrik Lissner
7be7a8b046
Rebind SPC o a -> org-agenda 2018-08-16 11:35:11 +02:00
Henrik Lissner
3cddbd1949
Fix void-variable string #809 2018-08-16 02:18:44 +02:00
Henrik Lissner
6a582d4f5f
Fix SPC / d
Use new +(ivy|helm)/project-search-from-cwd command
2018-08-15 23:35:12 +02:00
Henrik Lissner
c27ab26fd9
Refactor +helm-file-search & show prompt 2018-08-15 23:34:22 +02:00
Henrik Lissner
c69543fecc
Fix helm not cooperating with other popups
Like the compilation window
2018-08-15 23:32:53 +02:00
Henrik Lissner
7d1246888b
Only set display function for counsel-ag
counsel-rg and counsel-pt both identify themselves as counsel-ag, so
these extra specifications were unnecessary.
2018-08-15 21:19:59 +02:00
Henrik Lissner
40a900f533
lang/web: fix Emacs<26 incompatibility #806
The regexp argument for string-trim-right was introduced in 26.1.
2018-08-15 21:19:59 +02:00
Henrik Lissner
11b8ee55a1
Use helm-do-ag instead of helm-ag #805
Fixes project search matching against the leading file name.

And ensures modeline remains disabled.
2018-08-15 21:19:59 +02:00
Henrik Lissner
104e01f588
Improve set-repl-handler!'s docstring 2018-08-15 21:19:59 +02:00
Henrik Lissner
9584dd6005
Ensure file-template snippets are loaded
In case :feature snippets is disabled.
2018-08-15 21:19:59 +02:00
Henrik Lissner
486d4a12e7
Fix wrong-type-argument error opening new files
Caused when either your snippets library is empty or a file-template
doesn't exist when expanded.
2018-08-15 21:19:56 +02:00
Patrick Elliott
55b5c7711b
Updated readme 2018-08-15 08:34:21 +02:00