Commit Graph

5148 Commits

Author SHA1 Message Date
Henrik Lissner
b2d49c29ca
ui/modeline: minor refactor/reformatting 2019-04-29 18:13:28 -04:00
Henrik Lissner
4aa4802885
ui/modeline: remove indent segment
It's wasted space now that dtrt-indent logs changes to indentation.

Also resolves a performance issue where the tab/space unicode character
would cause long 3-5s delays on startup or first-file load.
2019-04-29 18:03:18 -04:00
Henrik Lissner
8e453462c7
lang/org: evil-org-retain-visual-state-on-shift = t 2019-04-26 17:43:45 -04:00
Henrik Lissner
6b69eaa397
Minor refactors across the board 2019-04-26 17:42:44 -04:00
Henrik Lissner
a03b676297
Move leader which-key labels to core-keybinds 2019-04-26 17:29:54 -04:00
Henrik Lissner
ba94ab09d3
editor/evil: disable C-i keybind for tty users #1367 2019-04-26 17:29:54 -04:00
Henrik Lissner
12a3adab2c
ui/doom-dashboard: fix evil motion keys #1365
Because :feature evil was moved to :editor evil, it is initialized
later, meaning evil map! keybinds prior to that module loading are
ignored. There's no harm in generalizing these remaps, however.
2019-04-26 17:29:54 -04:00
Andrew Whatson
9cdd5b2f99 Fixes for ivy-switch-buffer icons
Corrects the ivy-switch-buffer transformer to use buffer icons (not file
icons), and fixes alignment issues in the icon display.
2019-04-27 00:14:53 +10:00
Henrik Lissner
c79cf3c820
lang/python: use anaconda-mode for non-project files 2019-04-25 22:20:31 -04:00
Henrik Lissner
eb62dde5d3
Fix ui/workspaces autoloads & tests 2019-04-25 22:20:31 -04:00
Henrik Lissner
1911f44e66
completion/ivy: add +icons flag
This replaces +ivy-buffer-icons.

Renders #1362 unnecessary.
2019-04-25 22:20:31 -04:00
chrunchyjesus
feb78e8fa3
fix rustc detection 2019-04-25 18:31:42 +02:00
Henrik Lissner
237e14ae7b
lang/clojure: fix lookup-def handler #1360 2019-04-24 21:32:26 -04:00
Henrik Lissner
4506fb9223
lang/php: update wrt changes upstream #1350
Removes some of the hacks that have long since been resolved upstream,
and install phpactor from MELPA, now that it is available there.
2019-04-24 20:58:06 -04:00
Henrik Lissner
fc511ed701
ui/workspaces: minor refactors 2019-04-24 18:27:40 -04:00
Henrik Lissner
f6f9abd0f8
lang/php: add php-cs-fixer package #1350 2019-04-24 18:16:06 -04:00
Henrik Lissner
40f6a2b6e3
Rewrite vanilla sandbox & report-bug commands
- Renamed doom/open-vanilla-sandbox to doom/sandbox (because it's not
  just for vanilla testing anymore)
- Renamed doom/open-bug-report to doom/report-bug (for consistency with
  `report-emacs-bug`; makes it easier to discover)
- Add SPC h d b for doom/report-bug
- Add SPC h d s for doom/sandbox
2019-04-24 18:16:06 -04:00
Henrik Lissner
fa7f7042b0
Add and expand doom/help* commands
Adds the following commands:

- doom/help (opens the Doom manual)
- doom/help-search (for searching through org headlines in Doom's
  documentation)
- doom/help-faq (for searching the FAQ)
- doom/help-news (for browsing the Doom newsletters)
- doom/help-autodefs (renamed from doom/describe-autodef -- for looking
  up documentation on autodef function/macros, like
  `set-lookup-handler!`)
- doom/help-modules (renamed from doom/describe-module, for jumping to a
  Doom module's documentation)
- doom/help-packages (renamed from doom/describe-package and recently
  fixed -- looks up information about installed packages, including what
  Doom module(s) install it and where it is configured)
- doom/help-package-config (for searching and jumping to any block where
  a package is configured in Doom Emacs)

Also adds the SPC h d (or C-h d) prefix for Doom-specific help commands.
SPC h D will invoke doom/help.

However, the documentation itself hasn't been committed yet, so some of
these commands may be useless atm. Sorry!
2019-04-24 18:16:06 -04:00
Henrik Lissner
5df4a2f18e
do-repeat! -> set-repeater!
Macro was renamed to be consistent with other autodefs

- Make these repeaters buffer-local
- Don't bind repeater if motion failed
- Defer evil-snipe repeaters until evil-snipe is loaded
2019-04-24 18:16:05 -04:00
Henrik Lissner
8399143901
ui/nav-flash: update README 2019-04-24 18:16:05 -04:00
Henrik Lissner
d4ff90219e
lang/cc: remove +irony and +rtags flags from docs
They were removed a while back. Irony and rtags (et co) will be disabled
if +lsp is enabled, or can be disabled through package! declarations:

  ;; in ~/.doom.d/packages.el
  (package! irony :disable t)
  (package! rtags :disable t)
2019-04-24 18:16:05 -04:00
Henrik Lissner
a4f9eb6f6c
Enable read-only-mode for built-in snippets
Because they shouldn't be edited out of ~/.emacs.d/.local -- if a
snippet in ~/.doom.d/snippets has the same name, built-in snippets will
be ignored.
2019-04-24 18:16:05 -04:00
Henrik Lissner
c399c07694
Add :tools lsp checks for +lsp flag
Also:
- Reorganizes some :lang modules' packages.el file.
- Adds setuptools check in lang/python
- Adds javac check in lang/java
- Removes the depends-on! macro
2019-04-24 18:16:05 -04:00
Henrik Lissner
51a28249bd
Update modules/README.org
Add +lsp flags to modules that support it
2019-04-24 18:16:04 -04:00
Henrik Lissner
1fb2178716
Move sp skip-match disabler to config/default
This shouldn't be mandatory.
2019-04-24 18:16:04 -04:00
Henrik Lissner
a4c5396558
Add better-jumper
Replaces evil's jumplist; makes its functionality available for non evil
users.
2019-04-24 18:16:04 -04:00
Henrik Lissner
b189254050
Don't kill magit on ESC (for evil users)
q is enough. An ESC could be accidental (e.g. when ESCing from visual
mode in magit).
2019-04-24 18:16:04 -04:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
Ivan Kryvoruchko
dfad10e843
Set Clojure lookup handlers for specific minor modes to avoid overwriting
Fixes issue #1357 https://github.com/hlissner/doom-emacs/issues/1357
2019-04-24 18:03:56 +03:00
Henrik Lissner
768d6e9c69
Merge pull request #1352 from zenzike/patch-1
Add `agda2-next-goal` and `agda2-previous-goal`
2019-04-23 23:05:53 -04:00
Eric Solomon
040cd18573 Correct Javascript module tide format mapping 2019-04-23 11:17:29 -05:00
Nicolas Wu
4bcaa28681
Add agda2-next-goal and agda2-previous-goal
Add support for commonly used movements (https://agda.readthedocs.io/en/v2.5.4.1/tools/emacs-mode.html)
2019-04-23 00:13:54 +01:00
Alex Ragone
ae0c0f2837 refactor: lazy load and use conventions for hooks 2019-04-22 17:18:20 +12:00
Alex Ragone
4944668dfd feat: added org-habit module
Added a simple way to make the org-habit consistency graphs align to the
right margin as well as being responsive to the width of the window.
2019-04-22 17:18:20 +12:00
Henrik Lissner
cce55db6ed
Remove display-buffer-reuse-window from default actions
This would cause +popup/raise to reuse non-popup windows when raising
popups. If this doesn't work, it may be necessary to write a specialized
display-buffer-reuse-window to only reuse popups, specifically.
2019-04-21 13:32:22 -04:00
Henrik Lissner
b7c02d5c0a
Half-revert ba23b63 #1349 2019-04-21 13:25:33 -04:00
Henrik Lissner
4e0802ee01
Fix windows surviving creation of new workspaces
Particularly windows that resist `delete-window`, like treemacs, when a
new workspace is switched to.

Relevant to #1348
2019-04-21 00:47:34 -04:00
Henrik Lissner
a8c46e3136
Update evil-collection-mode-list
Adds disk-usage, omnisharp and process-menu
2019-04-20 22:28:20 -04:00
Henrik Lissner
fc2e0e3970
Update modules/README.org
And alphabetize treemacs in init.example.el
2019-04-20 19:25:07 -04:00
Henrik Lissner
2c3505df49
Merge pull request #1344 from pedrovanzella/js-docs
Add documentation for JS module keymaps
2019-04-20 19:20:49 -04:00
Henrik Lissner
b0d8a4f548
Merge pull request #1336 from thiagokokada/document-company-tng
Document company +tng flag
2019-04-20 19:20:31 -04:00
Henrik Lissner
7e7d6ae5a2
Fix hydra-ivy keybind on M-o #1342 2019-04-20 02:18:49 -04:00
Henrik Lissner
ee754362a2
Fix SPC f / for non-ivy users
Incorrect function signature for doom-project-find-file
2019-04-20 02:18:48 -04:00
Henrik Lissner
fb0c8186de
Merge pull request #1339 from thiagokokada/cider-map-fixes
Cider map fixes
2019-04-19 21:05:56 -04:00
Henrik Lissner
4798fca121
Merge pull request #1345 from ericsolomon/update-go-readme
Update Go module README
2019-04-19 21:00:21 -04:00
Henrik Lissner
37cd50ac80
Revert e9f788cf
The hook is harmless.
2019-04-19 20:57:02 -04:00
Henrik Lissner
d811f58ed2
+lookup/documentation -> lsp-describe-thing-at-point
More reliable in lsp-mode
2019-04-19 20:55:44 -04:00
Henrik Lissner
d1ab86c38c
Revise project & general find-file keybinds
Changes
- SPC f . -> Browse files from here
- SPC f / -> Find file from here (recursive)

Moves
- SPC f > -> SPC p > (Find file in another project)
- SPC f ? -> SPC p ? (Browse files in another project w/ find-file)
2019-04-19 20:53:22 -04:00
Henrik Lissner
c849495849
SPC q q = quit normally; SPC q Q = force quit 2019-04-19 20:51:09 -04:00
Henrik Lissner
d6839fc4c6
Remove references to old scratch buffer functions 2019-04-19 20:50:53 -04:00