Commit Graph

246 Commits

Author SHA1 Message Date
67f9aa1ffe Move whitespace config to core-ui
Introduces new doom|show-whitespace-maybe hook to replace
doom|editorconfig-whitespace-mode-maybe
2018-05-09 00:20:01 +02:00
8d936f2d0b Move editorconfig out of core into tools/editorconfig 2018-05-08 19:59:08 +02:00
99ca62c106 Remove smart-forward package 2018-05-08 19:56:31 +02:00
cecff39a7e Refactor doom|check-large-file 2018-05-07 19:26:31 +02:00
65245bfc21 recentf-auto-cleanup = 60
Cleanup would cause tremendous slowdowns on startup if files in its list
didn't exist.
2018-05-07 19:26:31 +02:00
9e315c93da Revert sp-autowrap-region to default
Fixes wrapping regions for non-evil users
2018-05-02 15:53:54 +02:00
856dd96636 Whitespace should preferably respect the fill-column variable
Let whitespace dynamically set `whitespace-line-column` depending on the current
state of the variable `fill-column`. Changing the value to `nil` does exactly that.
2018-03-26 18:17:59 +02:00
51b5fb0f44 Add missing modes to editorconfig-indentation-alist 2018-03-21 05:19:01 -04:00
1352ac4553 Exclude images and remote files from recentf 2018-03-14 18:28:48 -04:00
00a9a08afb Automatically add execute permission to files with a shebang line 2018-03-12 13:32:02 -04:00
5726da8be2 Fix unbalanced-parenthesis error in some helpful-variable buffers 2018-03-12 13:32:00 -04:00
11e5140b98 Fix editorconfig file ext 'guesser' in org-edit-src buffers
Fixes editorconfig not correctly guessing style settings in org-edit-src
buffers.
2018-02-13 19:42:39 -05:00
bae2287d51 Recenter screen after save-place successfully loads point 2018-02-02 20:47:32 -05:00
03a03853e4 core-editor: reset expand-region on doom/escape #317 2018-02-01 19:58:44 -05:00
c5b72566ea Remove help-fns+, add helpful plugin #363 2018-01-21 21:37:15 -05:00
45c2221316 General update for docstrings and comments & minor refactor 2018-01-15 00:43:28 -05:00
5ee50c6b53 Move wgrep config from core-editor to completion/{ivy,helm} 2018-01-14 02:04:34 -05:00
25619908a2 Narrow down the purpose of init & post-init hooks
Essential hooks should be added to doom-init-hook. Non-essential and
extra hooks should be added to doom-psot-init-hook.
2018-01-07 00:15:58 -05:00
392f04446f General refactor (use map.el more)
+ map-delete is shorter and faster than assq-delete-all
+ map-put is simpler than the delete-then-set workflow
+ map-merge is great for merging default and user settings
2018-01-07 00:15:58 -05:00
69385fac1a Major rewrite of core-ui
Phases out dependence on the doom-kill-buffer workflow, which ensured
the user would always land on a real buffer (or the fallback buffer)
after killing a buffer. This required all quit-window, kill-this-buffer
and various buffer-killing commands be advised or remapped. There was no
need, kill-buffer-query-functions is better.

Also introduces a new hook: doom-init-theme-hook. doom-init-ui-hook
still exists, but is used for UI initialization (surprise), while theme
hooks should be moved over.
2018-01-04 03:01:35 -05:00
92e52fafd1 Fix expand-region misplacing cursor on cancel/C-g #317 2018-01-02 13:50:43 -05:00
fd11f958f9 Move doom*quit-window to core-editor 2018-01-01 16:30:22 -05:00
eef6ed3d11 Minor, general refactor & comment updates 2018-01-01 13:21:52 -05:00
8b1f8acc0d Rearrange core config, epa & authinfo bits (fix after! error) 2017-12-27 22:48:05 -05:00
f9e5ef2b51 Fix recentf not excluding doom-local-dir 2017-12-23 16:15:29 -05:00
9d661ff71e Move ac-php-tags-path & recentf-save-file to doom-cache-dir 2017-12-23 14:30:36 -05:00
883c12f860 recentf: use file-truename on all entries + update recentf-exclude 2017-12-22 16:26:08 -05:00
e168118243 Revert a8f4d85d; back to help-fns+
Helpful, while sometime useful, tended to be slow when invoked.
2017-12-10 11:49:02 -05:00
a8f4d85da3 core-editor: remove help-fns+ & add helpful 2017-12-09 16:21:42 -05:00
2ef38b73a7 Remove doom*delete-trailing-whitespace advice (unneeded) 2017-12-08 23:14:12 -05:00
f8e8dbad8f General minor refactor 2017-12-08 23:14:12 -05:00
f063a08891 Remove :editorconfig setting 2017-12-08 23:14:11 -05:00
9d81bc5a8b Major refactor: use-package-always-defer = nil & use :hook
Possibly breaking change: packages are no longer deferred by default.

Addresses #286
2017-12-08 23:14:11 -05:00
9408062f60 Move some plugins' storage to doom-etc-dir 2017-11-05 01:16:36 +01:00
611d8fe6bc core-editor: minor refactor; associate LICENSE w/ text-mode 2017-10-23 20:08:18 +02:00
e319a5eaa1 Merge branch 'UndeadKernel-window_select' into develop
* UndeadKernel-window_select:
  Module to visually select windows with either ace-window or switch-window
2017-10-18 17:01:20 +02:00
9d1d0974d5 Fix editorconfig in (most) extension-less files 2017-10-18 16:52:00 +02:00
f9321b1b3b Module to visually select windows with either ace-window or switch-window
Modularize ace-window and add switch-window as a replacement: Issue #218
2017-10-08 23:34:25 +02:00
259503bb75 Separate editorconfig-conf-mode config 2017-10-02 19:57:46 +02:00
47b6465bc3 Remove abbreviate-file-name from recentf-filename-handlers #86 2017-09-25 23:24:21 +02:00
68aeaebff4 Move imenu plugins from core to tools/imenu 2017-09-24 17:10:47 +02:00
673b466285 Fix spelling mistake: 'hisstory' => 'history'
Emacs will happily assign a value to a not yet existent variable,
which is why this fails silently.
2017-09-13 15:24:37 +02:00
bb5907cadb Rethink smartparens config #181
+ Parts of my smartparens config that were personal preference have been
  moved to my private module.
+ The css-mode config was redundant and was removed
+ Moved lang-specific config to their respective modules
+ Markdown config was redundant with native electric support, and thus
  removed.
2017-09-02 16:11:21 +02:00
dd947b5eae Refactor core-editor 2017-07-26 18:49:14 +02:00
f93fb61f33 Refactor core.el
+ Load Doom core in doom! macro
+ Move automatic minor modes to core-editor
+ Move doom*set-indirect-buffer-filename to core-editor
2017-07-13 00:05:30 +02:00
e906b20400 Revert 8edba655: disable undo persistence
It doesn't fix the undo corruption bug.
2017-07-11 00:40:29 +02:00
8edba65504 Possibly restore undo persistence 2017-07-05 18:18:24 +02:00
e3eadf596d Disable persistent-undo; causes undo corruption
A known issue with undo-tree causes an "unrecognized entry in undo list
undo-tree-canary" error, which can result in the loss of work.
2017-06-24 02:25:15 +02:00
8f00b3d07a Minor general refactor 2017-06-20 16:32:50 +02:00
3762d877b1 Appease almighty byte-compiler sama 2017-06-19 12:41:30 +02:00