Commit Graph

14 Commits

Author SHA1 Message Date
f1460ff592 editor/format: don't move cursor on save 2018-08-26 17:26:54 +02:00
6515a1c539 editor/format: fix +onsave 2018-08-25 01:10:47 +02:00
171c87aa2c editor/format: general fix & refactor
+ Fixes function/command formatters (like #'gofmt)
+ Fixes formatting by region
+ Adds default keybindings:
  + gQ evil operator
  + SPC c f (normal mode) to format buffer
  + SPC c f (visual mode) to format selection
2018-08-25 00:06:12 +02:00
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
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
8d26879f99 Add :editor multiple-cursors module
Moves evil-mc/evil-multiedit out of feature/evil.
2018-08-06 00:31:23 +02:00
5531d7115a Fix indentation for many autodef setters 2018-06-22 01:49:21 +02:00
3a3eb92087 Move :tools rotate-text to :editor rotate-text
This change was a long time coming.
2018-06-22 01:49:20 +02:00
b0f1804799 Unbind double-quote in lisp-mode
Causes double-double-quoting. smartparens will handle it.
2018-06-20 22:58:05 +02:00
6426da3533 Fix :hook modes for parinfer-mode 2018-06-13 16:53:44 +02:00
63552338ec Conform editor/parinfer to Doom conventions
+ Use evil +everywhere flag for universal evil integration,
+ Use :hook instead of `add-hook!` and implicit lambda,
+ Fix path in header.
2018-06-12 21:34:47 +02:00
db45248adf Add yasnippet back to parinfer 2018-06-11 21:55:34 +10:00
3fec00a534 Swap from emacs-lisp-mode-map to parinfer-mode-map 2018-06-11 10:10:34 +10:00
d178d78b2b Move +parinfer to :editor parinfer 2018-06-11 10:09:37 +10:00