Commit Graph

1630 Commits

Author SHA1 Message Date
Henrik Lissner
f6f9abd0f8
lang/php: add php-cs-fixer package #1350 2019-04-24 18:16:06 -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
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
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
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
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
fb0c8186de
Merge pull request #1339 from thiagokokada/cider-map-fixes
Cider map fixes
2019-04-19 21:05:56 -04:00
Eric Solomon
d5b0ee14bc Update Go module README 2019-04-19 18:34:25 -05:00
Pedro Vanzella
ad9d8b20e7 Add documentation for JS module keymaps 2019-04-19 15:16:26 -04:00
Thiago Kenji Okada (Nubank)
3eb9caf167 Add some maps in cider-repl major mode 2019-04-18 20:59:46 -03:00
Thiago Kenji Okada (Nubank)
8cce11fc82 Fix SPC m r c in clojure-mode
Map it to 'cider-find-and-clear-repl-output instead of
'cider-repl-clear-buffer (that does not work inside Clojure
buffer).
2019-04-18 20:58:09 -03:00
Henrik Lissner
7885cbb4f7
Merge sly db/inspector popup rule into others 2019-04-14 13:39:57 -04:00
Henrik Lissner
da39d2b004
Merge pull request #1289 from filalex77/lang/kotlin
Add Kotlin module
2019-04-11 04:16:53 -04:00
Oleksii Filonenko
76fb819dfb
Rename non-interactive function +kotlin-locate-gradlew-file 2019-04-11 10:16:53 +03:00
Oleksii Filonenko
0c0aff60a1
[lang/kotlin] Use warn! macro in doctor.el 2019-04-11 10:16:10 +03:00
Henrik Lissner
8e18b402ce
lang/rust: run cargo commands from Cargo.toml dir
Instead of the current directory, which breaks file links in the
compilation buffer.
2019-04-10 18:52:08 -04:00
Henrik Lissner
653161fe2e
lang/org: refactor org config load order
- No longer use org-load-hook; it was unnecessary and there were corner
  cases where org would get loaded before hooks were added to it.
- Update comments
- Remove config that was redundant with org's defaults (wrt org-file-apps)
- Perform persp-mode check before using persp-mode API in
  +org|exclude-agenda-buffers-from-workspace advice.
- Update outdated smartparens config and move it out of
  org-mode-hook (only needs to be run once, not everytime org-mode is
  enabled)
- Autoload mode hooks
2019-04-10 18:47:21 -04:00
Henrik Lissner
3da6c23d75
lang/org: restore org-shifttab on S-TAB
For evil users
2019-04-10 18:09:32 -04:00
Henrik Lissner
6cf6825a4d
lang/web: fix typo
Pushing to the wrong variable!
2019-04-08 23:07:29 -04:00
Henrik Lissner
f9b6f6746f
General, minor refactor/reformatting 2019-04-08 23:03:19 -04:00
Henrik Lissner
742687a51e
Add delq! and pushnew! macros
And move projectile configs to their respective modules (and out of
package configs).
2019-04-08 23:01:30 -04:00
Henrik Lissner
af4ca974a3
lang/org: add +protocol module #257
Adds lazy-loaded support for org-protocol as a basis for features to
come.
2019-04-07 17:28:46 -04:00
Henrik Lissner
ffe297bc7f
lang/haskell: rewrite README + minor refactor
- Documents lsp-haskell
- Use hie-wrapper on MacOS
- Update tools/lsp README to include :lang haskell
- Mention cabal-new-repl setting (#1140)
2019-04-07 16:46:59 -04:00
Henrik Lissner
72fb5603e7
Minor, general refactor & reformatting
Also swaps C-o and M-o in ivy

And use new ;;;###package cookie (not used yet)
2019-04-06 01:36:46 -04:00
Henrik Lissner
d947e15472
lang/org: add SPC m . and / keybinds for org-goto
And remove imenu remaps, they weren't behaving correctly.
2019-04-05 04:33:26 -04:00
Henrik Lissner
035a0a50e6
lang/org: change many org localleader keybinds
- Moves `SPC m s' to `SPC m b'
- Adds many new org-clock and org-goto keybinds
- Replaces imenu/imenu-anywhere with goto and goto-all
- Adds SPC m s -> org-schedule
- Move SPC m b -> SPC m , (org-switchb)
2019-04-05 04:12:56 -04:00
Henrik Lissner
038e0196c7
Merge pull request #1283 from aiverson/develop
Add Module for terralang
2019-04-05 02:19:24 -04:00
Henrik Lissner
3ba364a0a9
Remove unnecessary config
- smartparens-terra doesn't exist
- terra-indent-level has a sensible initial value, so it doesn't need to be reset
2019-04-05 02:15:23 -04:00
Henrik Lissner
31ca94f5b0
lang/org: remove unnecessary alias 2019-04-04 19:00:56 -04:00
Henrik Lissner
6084b774b8
lang/org: refactor and add keybinds for org tables
This update focuses on improving the key UX of org tables.

- Adds new table localleader keys under `SPC m s'
- Adds new localleader keybinds
  - New `s` prefix for table commands
  - New `f`/`F` keybinds for footnotes
  - New `'` keybind for `org-edit-special`
  - New `r` keybind for `org-refile`
- Bind localleader keys for both evil and non-evil users
- Refactors org table API
- For evil users:
  - Adds `zi` to toggle inline images
  - Finalize insert-mode keybind scheme for evil users (ala excel/gdocs)
    - C-{h,j,k,l} = move cursor between cells
    - C-M-{h,j,k,l} = insert cells in direction
    - C-M-S-{h,j,k,l} = swap cells in direction
2019-04-04 18:52:25 -04:00
Henrik Lissner
3a47c27dd6
lang/org: fix C-S-{h,l} in tables
Supposed to create new column on the left and right, respectively.
Instead, always created columns on the right.
2019-04-04 17:15:58 -04:00
Henrik Lissner
d3784a0074
lang/markdown: remove opinionated formatting
Don't adjust line-spacing or fill-column, this interferes with global
defaults as is too opinionated.
2019-04-04 16:47:52 -04:00
Henrik Lissner
bf2aedc510
lang/org: rethink flyspell keybinds
- Remove ]s/[s keybinds in org-mode (rebound to ]c/[c); they overwrote
  next/prev flyspell error commands (which are vim defaults)
- Remove ]S/[S because z= already exists
- Remove redundant ]s/[s global keybinds (already bound by evil)
- Mention missing and evil's flyspell keybinds in a comment
2019-04-04 13:50:44 -04:00
Henrik Lissner
a49a9fee3a
lang/haskell: fix +haskell/open-repl
REPL handlers must return a buffer but display-buffer returns a window.
2019-04-02 18:21:34 -04:00
chrunchyjesus
1f1e4d8d83 fix typo (#1303) 2019-04-02 15:37:52 -04:00
Henrik Lissner
5e7638d061
Merge pull request #1287 from mfiano/common-lisp-bindings-fix-1
Changed some wrong common-lisp bindings
2019-04-02 15:35:59 -04:00
Henrik Lissner
823f47864c
Merge pull request #1288 from mfiano/common-lisp-local-leader-labels
Fix common-lisp local leader prefix labels
2019-04-02 13:14:32 -04:00
Henrik Lissner
3eaa57c747
Add packages.json to projectile root files #1295 2019-04-02 00:52:10 -04:00
Henrik Lissner
838edcea59
Add org export-to-clipboard commands & ox-clip
These work from markdown-mode as well as org-mode. Also adds
+org/export-to-clipboard-as-rich-text for pasting org/markdown rendered
as RTF.
2019-03-30 02:18:33 -04:00
Henrik Lissner
da02fa8c38
lang/markdown: add markdown-command check 2019-03-30 02:17:52 -04:00
Michael Fiano
0b2f18542c Fixed bug where sly-db-quit was not being called 2019-03-28 22:31:06 -04:00
Michael Fiano
275bea568e Added more bindings 2019-03-28 21:40:06 -04:00
Oleksii Filonenko
13f705dc0e
Add Kotlin module 2019-03-29 03:22:23 +02:00
Michael Fiano
d77e1fa15f Removed common-lisp macrostep hydra
This can cause a variety of problems, and the actual macrostep mode
toggle has the same keybindings, so no loss of functionality.
2019-03-28 20:00:50 -04:00