Commit graph

4228 commits

Author SHA1 Message Date
duianto
0ff31edcd8 [version-control] Smerge one char diff bindings
Reduce the Smerge transient state diff bindings from two to one character:
=< to <
== to =
=> to >
2019-04-21 11:48:48 +02:00
duianto
eebc238803 Add ibuffer square brackets filter group motion
Match the magit buffer section/sibling navigation keys (bound in evil-magit) and
the evil-collections motion section also suggests using [ and ] for navigation
between sections.

And list the default ibuffer filter group motion bindings:
Forward: TAB and M-n
Backward: S-TAB and M-p
2019-04-21 00:02:50 +02:00
smile13241324
06534391a6 Improve vinegar layer documentation 2019-04-20 23:39:13 +02:00
mengfan
1e31d3b46f [vinegar] Support custom dired hide details mode by default. 2019-04-20 23:27:10 +02:00
jjzmajic
3a23e0cc6b Bind ~SPC f F~ to =helm-find= for recursive directory search functionality.
I realize this may be controversial, but as I understand it (correct me if I'm
wrong), all `SPC f F` does differently compared to `SPC f f` is call the vanilla
version of `helm-find-files` that does take `thing-at-point` into account. But I
presume we removed this feature in `spacemacs/helm-find-files` for a reason.

Also, it makes sense as a *forte* version of `helm-find-files` when you can't
find something in your current directory and decide to drill deeper. This
complies with the general tone of uppercase/lowercase bindings in Spacemacs, and
provides more utility than te subtle distinction between different
implementations of `helm-find-files`.
2019-04-20 22:15:29 +02:00
duianto
b238516d1f [version-control] smerge add 2 keys, etc.
Added key bindings:
`e` `smerge-ediff` to diff column
`K` `smerge-kill-current` to merge action column,
(used upper case K, because lower case k moves the cursor to the previous line)

Renamed "join curr/next hunk" to "Combine curr/next hunks", to match it's
command name: `smerge-combine-with-next`
and moved it from the "Merge Action" column to the "Other" column. Because the
merge action column handles versions while the combine command acts on hunks.

Sorted and groupped the backend keys to match the transient state columns.
2019-04-20 20:50:45 +02:00
John Stevenson
831107f478 [clojure] keybinding - cider-undef - remove symbol from current ns
Adds `SPC m e u` to the Clojure layer to call `cider-undef`, removing an
existing definition from the current namespace.

This provides a Spacemacs style keybinding for the existing Emacs style
keybinding `C-c C-u`
2019-04-20 15:26:55 +02:00
duianto
677c06c759 [version-control] Smerge TS formatting
Capitalize title and column headers.

Reduce two to one space between the key and description in the first column.
Rename and separate "move up/down" to "next line" and "prev line", to reduce the
first columns width, and to make it clear that it doesn't move the hunks.

Reduce four to two spaces between the first and second columns.

Rename "combine with next" to "join curr/next hunk" to indicate that the
hunks/conflicts are combined and not just of the versions.

Add a new column: Diff
Remove "diff" and "to" from diff key descriptions, to reduce the column width.
Move refine from the Other column to the new Diff column.
2019-04-20 13:00:05 +02:00
Wang
b21a7da680 Extend smerge transient-state with diff keybindings
I often use these operations to ask how mine and other have diverged:

=< smerge-diff-base-mine
== smerge-diff-mine-other
=> smerge-diff-base-other

It's awkward to use their global keybindings under C-c ^ because that exits the
smerge transient-state.

Judging from issue GH-7378 there was no principled reason to omit them, only
that the author did not use them himself.
2019-04-20 10:02:23 +02:00
Scott Moynes
5510749ea2 Fix typo in holy-mode 2019-04-18 23:29:48 +02:00
yuhan0
4696c5306a [vcs] Inhibit auto-indentation after reverting hunks
Fixes #11523, makes it easier to revert changes to non-standard indentation when
aggressive-indent mode is enabled.
2019-04-18 23:16:08 +02:00
Loïc Estève
7dcfa742bb Fix typo in mu4e documentation 2019-04-18 23:10:51 +02:00
Aaron Jensen
f977732687 emacs-lisp: Initialize flycheck-package 2019-04-18 21:46:32 +02:00
emacspace
912f69ef9d documentation formatting: Thu Apr 18 19:16:31 UTC 2019 2019-04-18 21:39:10 +02:00
Ivan Yonchovski
e80a4fa0ab [rust] dap layer integration 2019-04-18 21:32:32 +02:00
Thanh Vuong
9bb9038920 Move "import-js" to own layer for js based layers
Refactor import-js to its own layer import-js so it can be optional
used for the tree layers Javascript, React and Typescript layers.
2019-04-18 21:08:43 +02:00
Langston Barrett
d18f9da683 Add org-brain keybindings 2019-04-18 19:37:41 +02:00
smile13241324
072c01f5f5 Fix binding for "capitalize keywords" in sql-layer
Noticed a new warning during startup saying
that sqlup-mode is using "=c" where "=" is no
prefix key. Noticed that the entire binding
was not carried out in this case.

Therefore I have removed "=" from the binding
but left it on "c" until enough text
manipulations are available, then it should
be moved to "x text manipulation" group instead.
2019-04-18 18:58:40 +02:00
Mike Macpherson
c339656172 python: Add support for black formatter 2019-04-18 18:34:09 +02:00
Newres Al Haider
f5cd5959b3 Add Prolog layer 2019-04-18 18:14:18 +02:00
Trapez Breen
d25b329c17 Shadow python-mode-hook during python-send-shell-* 2019-04-18 17:56:47 +02:00
duianto
76ba46893b Remove magit-log-arguments variable assignment
Magit removed the variable: magit-log-arguments
4641aa07e0
2019-04-18 10:14:14 +02:00
emacspace
0b90e116f5 documentation formatting: Wed Apr 17 13:48:54 UTC 2019 2019-04-17 23:36:35 -04:00
Seong Yong-ju
610ecbbf70 Add godoc installation into go layer README 2019-04-17 15:37:52 +02:00
Seong Yong-ju
e48fa85d96 Add missing prefix for js2-mode 2019-04-17 15:37:15 +02:00
Trapez Breen
2206095be8 Added instruction on installing importmagic and epc.
Importmagic and epc isn't really optional if error messages are to be avoided.
2019-04-17 09:14:01 +02:00
trapez.breen
a8b7c0d591 Adding the same setup to typescript-tsx files as to typescript files.
Changed typescript major mode formating to "=".
2019-04-17 00:13:58 +02:00
Ivan Yonchovski
2129f203c4 [javascript] integration with dap layer
- Fixed also instructions on language server selection
2019-04-16 23:46:48 +02:00
Ivan Yonchovski
391866849b Updated keybindings for dap-mode
- dap-debug-edit-template is very important for some of the debug adapters so it
  is important to have a keybinding for it to improve the discoverability
2019-04-16 23:33:58 +02:00
Compro-Prasad
9af46cba9e Fixes #10762 Added support for user labels in LaTeX exports from org
See #10731 for further references
2019-04-16 23:06:15 +02:00
duianto
e726a70685 Revert "Remove form-feed characters"
This reverts commit bd91a0b2b8.

The form-feed characters are used in multiple places.
2019-04-16 22:35:42 +02:00
emacspace
3e97b8e8f3 documentation formatting: Mon Apr 15 20:21:30 UTC 2019 2019-04-15 22:56:31 +02:00
Ivan Yonchovski
f4264b5df1 [c++] dap layer integration
- in addition to that I have removed the line that removes clangd from the
server list since it is not needed in latest lsp-mode since it has smaller
priority than ccls/cquery.
2019-04-15 22:13:23 +02:00
Ivan Yonchovski
5e256d2506 [lsp] Sync lsp layer with latest lsp mode functionality
- provide keybindings for the new lsp-mode functionality
 - use lsp-treemacs and helm-lsp for errors and workspace symbols
2019-04-15 22:01:57 +02:00
Ivan Yonchovski
03e6bc0691 [java] init backends conditionally
- otherwise there are shortcut collisions
2019-04-15 21:20:32 +02:00
Ivan Yonchovski
59c4f1f283 Use dap mode layer for python debugging
- I had to remove the "db" keybinding manually before setting the dap bindings.
  An alternative approach is to use a different binding for it.
2019-04-15 20:56:27 +02:00
Francesc Elies Henar
cf498b01dc Fix org-clock-resolve-clock keybinding
In newer version than 9.1.12 org-clock-resolve-clock is no longer an
interactive function, this change broke bindings like ~SPC a o C j~
2019-04-15 20:54:18 +02:00
duianto
2342f76cf1 Exclude which-key from layer sync powerline restore
When syncing the configuration layers `SPC f e R`,
don't restore the powerline to the which-key buffer.
2019-04-15 10:29:59 +02:00
Emil Petersen
c68fde7beb Apply conventions to multi-term keybinds 2019-04-14 23:05:01 +02:00
Robert O'Connor
66eebcf032 [ietf layer] Add RFC files to the auto-mode-alist to use irfc-mode 2019-04-13 18:59:54 +02:00
Francesc Elies Henar
01bd56f120 [csv] binds SPC m h to csv-header-line 2019-04-13 14:31:55 +02:00
emacspace
6cde1e49bc documentation formatting: Fri Apr 12 19:31:31 UTC 2019 2019-04-12 22:02:05 +02:00
smile13241324
0cb2ef57cd Fix wrong use-package declaration of irfc-mode
ietf layer declared a wrong use-package
declaration, which tried to load ietf-docs
instead of the locally installed irfc package
causing irfc-mode to fail loading.
2019-04-12 21:24:45 +02:00
smile13241324
a6d505033c Load irfc package locally as it is no longer hosted on melpa or elpa 2019-04-12 20:48:22 +02:00
smile13241324
6a32d31da8 Fix accidental activation of flycheck-pos-tip-mode in emacs lisp layer
The issue was that `flycheck-package` explicitly
activated `flycheck-pos-tip-mode` however
this package is owned by `syntax checking layer`
and should only be activated by it directly.
2019-04-12 20:31:37 +02:00
smile13241324
025e69256e Fix documentation for ietf layer 2019-04-12 20:09:51 +02:00
Bruno Tavares
d90f2d32da Add lazy-install to automatically install dart layer 2019-04-12 18:00:00 +02:00
Bruno Tavares
9e2da23c12 Removes workarounds and update flycheck integration
This commit removes the workarounds needed on older versions of `dart-mode` library, now that many of the fixes have landed.

This commit also fixes the integration with flycheck, as there is a new function used on the `develop` branch.
2019-04-12 18:00:00 +02:00
Bruno Tavares
7841d3ba6a Introduces Dart layer
This is a initial implementation of a Dart later.
A [previous implementation] has been deprecated, using a forked version of `dart-mode`.

This layer uses the [dart-mode] linked on the [Dart tools] page.
The layer works with a Flutter installation as well.

Ideally, we would be able to offer a `lsp` backend as an option to use, instead
of using the Dart Analyzer, but I'm still figuring out how to implement and
integrate this.

This layer has [some] [fixes] to make it work, and it is waiting for upstream to
take patches.

- Resolves https://github.com/syl20bnr/spacemacs/issues/8333
- Resolves https://github.com/syl20bnr/spacemacs/issues/8395
- Resolves https://github.com/syl20bnr/spacemacs/issues/10452

---
[previous implementation]: https://github.com/syl20bnr/spacemacs/pull/8406
[dart-mode]: https://github.com/bradyt/dart-mode
[Dart tools]: https://www.dartlang.org/tools
[some]: https://github.com/bradyt/dart-mode/pull/67
[fixes]: https://github.com/bradyt/dart-mode/pull/66
2019-04-12 18:00:00 +02:00
Jake Romer
12defb470e Add labeled prefix for dash layer
Currently the "d" prefix in the which-key menu is displayed as "prefix". This patch replaces that with "docs".
2019-04-11 23:16:45 +02:00