Commit Graph

6064 Commits

Author SHA1 Message Date
209b281dc6 Move popup mode keymaps to autoload.el 2018-06-02 16:58:56 +02:00
428f1e1d07 Refactor def-setting!/set! implementation
The `doom-settings` variable has been removed. Setting checks are done
with fboundp now, which is simpler.
2018-06-02 16:26:59 +02:00
385cb476ba Fix redundant minor mode entries in elisp imenu 2018-06-02 15:22:41 +02:00
7f00221551 Refactor ivy project-search functionality
To prepare for Helm counterpart
2018-06-02 14:34:12 +02:00
8aa21517a2 Remap swiper => helm-swoop for helm users #644
Plus remove redundant remappings
2018-06-02 14:01:31 +02:00
e5a4415d58 General, minor reformatting/refactor 2018-06-02 13:58:04 +02:00
ae7ead6e87 Refactor doom//upgrade 2018-06-02 13:56:39 +02:00
d20ffca78d tools/magit: minor refactor/reformatting 2018-06-02 10:56:04 +02:00
1dd4076f8d Handle magit windows w/ fullframe-status-v1
This new default was chosen to keep magit consistent with fullscreen
:app workflows (which work very similarly). It is also more predictable
than the default method.
2018-06-02 10:54:30 +02:00
1ffdf616e8 Hide mode-line in magit windows (experimental) 2018-06-02 10:54:12 +02:00
6d218fc5a0 Consider magit buffers real
So they can be switched to if buried
2018-06-02 10:53:51 +02:00
e66abfb9e8 Use newline-based alignment technique on dashboard
Fixes #645, because Emacs' mouse events don't appear to compensate for
variable-width whitespace.
2018-06-02 10:48:55 +02:00
08a453bd5e bin/doom: show usage info if no command is entered 2018-06-02 02:56:18 +02:00
6fdd6cb14c bin/doom: respond to -h/--help
In case people try that before `help`
2018-06-02 02:55:52 +02:00
c747bc46e3 Optimize lang/qt #642 2018-06-02 02:53:54 +02:00
9e62a7aac3 Merge pull request #642 from nealot/develop
Add basic qt support
2018-06-02 02:49:53 +02:00
92fd24ff0f config/default: refactor evil key fixes
Also fixes #643, which is caused because evil is disabled and these
fixes clumsily use evil-define-key* (which won't exist).
2018-06-02 02:39:31 +02:00
a0bec84997 Don't complain if no private packages.el 2018-06-02 01:08:23 +02:00
83232ac9aa Add basic qt support 2018-06-01 18:23:35 -04:00
3b1f7c02cc Fix C-S-j/C-S-k keybinds in ivy/minibuffer 2018-06-01 21:12:18 +02:00
cb4b94cc12 Conditionally install anaconda-mode dependencies 2018-06-01 17:14:17 +02:00
1938a0d253 Enforce encrypted authinfo & store in doom-etc-dir
Plaintext authinfo should not be the default.
2018-06-01 17:10:30 +02:00
48ee4ff71e lang/markdown: markdown-enable-math = nil
Not a common necessity when writing markdown, and slows down modes with
markdown submode regions (like magithub, when initializing issue/PR
bodies).

This is easily toggled with markdown-toggle-math anyway.
2018-06-01 17:08:48 +02:00
b28d3414bb Remove load-prefer-newer letvar around private init
Doesn't actually help and only slows things down.
2018-06-01 17:07:53 +02:00
6480a45f84 Fix reload-package-autoloads outdated detection
The package autoloads generator wouldn't take module packages.el files
into consideration when detecting whether the autoloads file should be
regenerated. Now it does.
2018-06-01 17:06:03 +02:00
c04bccc68b Fix disabled packages not being disabled
By loading the private packages.el in two passes. The first time ensures
later modules will know about disabled packages and the second time
ensures overwritten packages are properly overwritten.

Not the most efficient, but efficiency is low priority in noninteractive
sessions (i.e. during package management), the performance loss is
negligible, and packages.el files (should) have no other side effects
anyway.
2018-06-01 17:03:01 +02:00
6bad6d12f3 Remove doom-psuedo-modules-dir
Not needed with now that doom-private-dir has first class support.
2018-06-01 17:01:39 +02:00
fd95bfee07 Fix rspec-mode activation & localleader keybinds 2018-06-01 16:59:25 +02:00
36c36ca271 Optimize switch buffer/window hooks
Significantly reduces nested triggering of these hooks.
2018-06-01 16:40:39 +02:00
8e38209394 Fix travis.yml (renamed to emacs-26.1-travis)
And removed emacs-25.1-travis. I'll be phasing out support for emacs <=
25.2.
2018-06-01 16:36:33 +02:00
43152d774f Fix commented out :config causing errors
Semicolons, what have you done?
2018-06-01 16:32:38 +02:00
553867bf61 Remove evil-collection-helm hack (it's disabled) 2018-06-01 16:20:11 +02:00
dc2dad0af3 Disable evil-collection-ruby-mode
May indirectly fix broken :localleader keybinds on ruby-mode-map
2018-06-01 16:19:49 +02:00
c8a7005a22 app/twitter: decouple from feature/workspaces 2018-06-01 15:36:14 +02:00
80bd587d87 Move :company-backend setting to autoload.el
This decouples the company module from module load-order.
2018-06-01 14:54:13 +02:00
3a809153f9 Fix scroll-*-command & C-r in minibuffer+ivy
C-u was overwriting backward-kill-sentence & C-r was bound to the
incorrect command for evil users.
2018-06-01 13:58:21 +02:00
bb71e06977 Fix formatting in config/default/+bindings.el 2018-06-01 13:49:40 +02:00
334b6f3adf tools/dired: SPC o - => dired-jump; show symlink targets
Inspired by #625
2018-06-01 13:46:52 +02:00
c5df4e7d2f tools/magit: remove +hub check around magithub package 2018-06-01 13:40:48 +02:00
002f514b22 Minor refactor of evil-mc->smartparens integration 2018-06-01 13:40:48 +02:00
3c967cf3a3 Resume evil-mc upon switching to insert mode #618
I believe this is intuitive, but I've designed it to be easily disabled
with:

  (remove-hook 'evil-insert-state-entry-hook #'+evil-mc|resume-cursors)
2018-06-01 13:40:47 +02:00
5e9030500c Merge pull request #627 from ar1a/helm-posframe
Add posframes to helm in emacs 26+
2018-06-01 13:06:48 +02:00
cc159ed9a9 completion/helm: add-hook! => add-hook
add-hook! is unnecessary for adding 1-to-1 hook.
2018-06-01 13:06:30 +02:00
8f673f52fc Conform helm posframe code to Doom conventions 2018-06-01 13:03:25 +02:00
a3915dfc91 Merge branch 'develop' into helm-posframe 2018-06-01 13:00:23 +02:00
83db654058 Fix anaconda-mode loading late in python-mode #638
This would mean anaconda-mode's config wouldn't work until the second
opened python buffer (or invokation of python-mode).
2018-06-01 12:19:11 +02:00
82f240ffc9 Bind SPC h w to +default/man-or-woman #639
Woman is essentially elisp-only Man; useful for systems without
man (Windows, particularly).
2018-06-01 12:13:56 +02:00
f1bf9d1632 ivy-do-completion-in-region = t #640
Evil ex command completion is now handled by ivy, if it's enabled.
2018-06-01 12:00:57 +02:00
2b052a9563 Ignore untracked files on make upgrade
In case temporary/cache files are saved outside of .local, for example.
2018-06-01 11:25:47 +02:00
bab530ea2e Revert +hub flag, but disable magithub by default
Must be enabled on a per-project basis. You can change this behavior by
setting +magit-hub-enabled-by-default to non-nil (before magit is
loaded).

Magithub has been made opt-in because:

1. Magithub is imposing, asking the user for a token, especially for
   users who don't use github (much or at all), but may occasionally
   have a project with a github remote.
2. magithub is really slow on first load for medium-to-large repos.
3. It's really easy to enable it through the magithub popup (H C e).
   magithub.enabled is saved into the project's .git/config file, so the
   setting will persist.

Also added a docstring to +magit-hub-features
2018-06-01 11:13:37 +02:00