Commit Graph

5598 Commits

Author SHA1 Message Date
bc6c4b3e37 Add +workspace/other #1480
- Rename +workspace/switch-to-last to +workspace/switch-to-final, to
  avoid ambiguity.
- Add +workspace/switch-to-N commands
2019-06-11 16:12:06 +02:00
6b6ea699f4 tools/pass: use latest version of auth-source-pass
The upstream version is several major versions (v5.0) ahead of the
built-in one (v2.0).
2019-06-11 08:07:25 +02:00
b3c27ebe60 lang/javscript: unify lsp & tide initialization
The goal was to enable lsp (if +lsp is enabled), failing that it would
fall back on tide. This also adds lsp+tide support for tsx files opened
in web-mode.
2019-06-11 08:00:14 +02:00
a56ce38903 term/eshell: refactor & update keybinds
- Replace +eshell|init-evil with an advice for
  evil-collection-eshell-next-prompt-on-insert
- Update C-n/C-j and C-p/C-k keybinds to use
  eshell-{next,previous}-matching-input-from-input, which behave much
  like zsh's history-substring-search-{up,down}
- Move window navigation keybinds C-{h,j,k,l} to C-c {h,j,k,l} (more
  tmux-esque).
2019-06-11 07:57:26 +02:00
4fec3eb698 Revise term/vterm/eshell commands & keybinds
The semantics of SPC o t and SPC o T (or SPC o e and SPC o E in eshell's
case) have been reversed.

The lowercase keybind toggles the popup (and the prefix arg forciby
recreates the popup), and the uppercase keybind switches to that
terminal in the current buffer (whose prefix arg will open the terminal
in default-directory, rather than the project root).

- +{term,vterm,eshell}/open have been replaced with +X/here commands and
  are bound to SPC o T (and SPC o E in eshell's case).
- +{term,vterm,eshell}/popup* have been replaced with +x/toggle commands
  and are bound to SPC o t (and SPC o e in eshell's case).

The "toggle" behavior will do as the name implies, except will select
the popup if it is visible but unfocused.
2019-06-11 07:53:50 +02:00
750d7629e1 Fix {git-,}grep backends for project search #1479 2019-06-10 16:04:48 +02:00
5d94f048b6 editor/evil: remove evil-matchit
Its bugginess doesn't justify the "intelligence" it offers for block
keywords.
2019-06-10 09:38:57 +02:00
5683ffe0d2 Fix +lookup/file in non-project files
file-in-directory-p threw wrong-type-argument stringp errors because
project-root was nil.
2019-06-10 09:38:57 +02:00
766fc3e4a9 completion/ivy: inhibit ivy completion in evil-ex
`ivy-completion-in-region' struggles with completing certain
+evil-ex-specific constructs, like globs (:e prefix*.el) or vim filename
modifiers (:e %:p:h).
2019-06-10 09:38:56 +02:00
47530bd19f emacs/vc: refactor
And declare vc, vc-annotate & smerge-mode as built-ins (for
doom/help-packages).
2019-06-10 09:38:56 +02:00
ada5990f88 tools/flyspell: demote missing program warning
Log the missing dependency rather than a disruptive pop up.
2019-06-10 09:38:56 +02:00
d91888b432 lang/emacs-lisp: tab-width = 2 by default
A more sensible default. Also fixes evil-shift-width in emacs-lisp-mode.
2019-06-10 09:38:56 +02:00
3160b6342f lang/javascript: fix +javascript/open/rpl
When opened through +eval/open-repl-other-window
2019-06-10 09:38:56 +02:00
a6490020c7 emacs/dired: remove duplicate evil keybinds
Redundant with evil-collection-dired
2019-06-10 09:38:55 +02:00
36a8e02857 Fix +vc/git-browse-region-or-line
git-link-use-commit = t breaks +vc/git-browse-region-or-line.
2019-06-10 09:38:55 +02:00
1de21f57eb completion/ivy: use ivy--regex-ignore-order 2019-06-10 09:38:55 +02:00
e7c12b1bb6 ui/workspace: minibuffer-message -> message
minibuffer-message adds 2 seconds to emacsclient calls that create new
workspaces.
2019-06-10 09:38:55 +02:00
8ce8679c86 Mark css-mode & less-css-mode as built-in packages
less-css-mode was introduced in Emacs 26.1+
2019-06-10 09:38:55 +02:00
518e53deab lang/org: fix snippet expansion on visual region
Fixes two issues:

1. Evil users would be left in visual mode after expanding a snippet on
   a region, making it awkward to insert text. It now switches to insert
   state.
2. While yasnippet reindent the snippet's contents post-expansion, org's
   mode-specific indentation (see `org-src-tab-acts-natively`) can throw
   errors for arbitrary reasons. We don't need smart indentation when
   expanding snippets, so we turn it off only in this case.
2019-06-10 09:38:55 +02:00
dcdebdb283 Convert +snippets/expand-on-region to advice
It's meant to be corrective, not alternative behavior.
2019-06-10 09:38:51 +02:00
12233811a8 fix: format-all upstream definitions
Upstream renamed definitions in
f3ed09c430 .
2019-06-08 17:45:42 +02:00
ce757ed936 Merge pull request #1461 from bricewge/2019-06-04-ivy-posframe
completion/ivy: ivy-posframe upstream update
2019-06-07 14:20:17 +02:00
4f1090d099 Merge pull request #1459 from qhuyduong/fix-magit-clone
Fix magit-clone error
2019-06-07 14:19:31 +02:00
7919825e4f Fix to Troubleshooting link. 2019-06-05 10:28:17 +03:00
b89e71fe7b Fixed some things in description and Plugins 2019-06-05 09:59:44 +03:00
13a9e00fff Rust README to new format 2019-06-05 09:49:02 +03:00
761bc570aa completion/ivy: ivy-posframe upstream update 2019-06-04 00:01:28 +02:00
c4b325fa4b Fix magit-clone error
magit-clone function has changed signature to work with transient.
So using the new magit-clone-regular instead.

Signed-off-by: Huy Duong <huy.duong@employmenthero.com>
2019-06-03 16:59:03 +07:00
2f910fb91f objed: add a manual actiation flag
Setting the flag `+manual` of the `objed` module makes the user
responsible for calling `objed-activate` when needed. The binding
`M-SPC` is set in the default Emacs bindings.
2019-06-01 13:30:18 +02:00
aa64cf9426 Replace kill-this-buffer with kill-current-buffer
As per the documentation for kill-this-buffer, it should only be invoked
from the menu and behaves unpredictably when invoked programmatically.
2019-05-30 18:54:58 -07:00
0c743afcfd editor/format: remove utf-8 conversion on Windows #914 2019-05-30 14:11:53 -04:00
0733a6dfac Replace SPC h p with doom/help-packages
Now that it supersedes describe-packages in functionality.
2019-05-30 14:01:48 -04:00
6ea000393f Use superior evil-numbers fork
And rebind its keys from C-a/C-S-a to g= and g-. This is because the old
narrow/widen commands aren't nearly as useful (and have a number of
alternative keybinds).

As much as I'd like to us C-a/C-x (as it is in Vim), C-x is an essential
keybind for Emacs.

Also, in visual mode, each number will be affected incrementally (ala g
C-a and g C-x in vim).
2019-05-30 13:56:06 -04:00
ef9f5b3bdf Merge pull request #1201 from kot-behemoth/patch-1
Document +ein-hydra
2019-05-30 13:23:17 -04:00
9ad8d97f93 Correct map! example 2019-05-30 13:21:19 -04:00
954c6af6b8 Merge pull request #1341 from flatwhatson/editor-objed
Add :editor objed module
2019-05-30 13:04:31 -04:00
563dfac8fa Conform editor/objed README to conventions 2019-05-30 13:03:56 -04:00
c898b9236c Merge pull request #1445 from bricewge/magit-todos-1.2
Use magit-todos-keyword-suffix instead
2019-05-30 12:56:46 -04:00
66b74c63b7 magit-todos 1.2 removed magit-todos-require-colon
3c59aa03b2 (12)
2019-05-30 16:33:37 +02:00
9e8517c59e Add :editor objed module
Integrates `objed` with Doom Emacs to provide text-object manipulation
for non-evil users.

See https://github.com/clemera/objed
2019-05-30 22:35:27 +10:00
a1b47648aa Merge pull request #1410 from flatwhatson/ivy-prescient
Add +prescient option for :completion ivy
2019-05-30 02:00:21 -04:00
6dcbaef570 ui/indent-guides: don't omit first level of guides 2019-05-29 23:46:18 -04:00
a583d69ae1 Fix #1442: void-function eshell-input-filter-initial-space
eshell-input-filter-initial-space was introduced in Emacs 26. I've
inlined its definition, at least until we drop 25.x support.
2019-05-29 23:44:23 -04:00
ad9541acc8 Merge pull request #1327 from TOTBWF/lang-fsharp
Add :lang fsharp module
2019-05-28 17:04:58 -04:00
447af38051 Merge pull request #1416 from Mambu38/feature-pyimport
Added pyimport support
2019-05-28 17:02:33 -04:00
7a252b6a47 Refactor pyimport def-package! block 2019-05-28 17:02:10 -04:00
231b925170 Merge pull request #1434 from uelei/pytest-one
add option to run only one function
2019-05-28 16:59:59 -04:00
3f6713cd25 Merge pull request #1427 from chrunchyjesus/fixSpelling
fix spelling
2019-05-28 15:39:44 -04:00
9f4352006f Increase ivy-flx-limit for improved fuzzy behavior
The default setting of 200 is too low for common use-cases like
`describe-function`, `describe-variable` or `counsel-projectile`.

This has a performance impact, but it's barely noticeable on a fast
machine. If performance is not acceptable, set `ivy-flx-limit` lower or
consider disabling the `+fuzzy` feature entirely.
2019-05-29 00:46:57 +10:00
2a511a6576 Add +prescient option for :completion ivy
This provides an alternative backend for filtering and sorting ivy
searches. Uses prescient instead of flx for fuzzy completion when both
+prescient and +fuzzy are selected.
2019-05-29 00:46:57 +10:00