Commit graph

340 commits

Author SHA1 Message Date
yqu212 50203d2c0f Add names to autohotkey mode prefixes 2019-08-08 12:53:16 +02:00
Haisheng Wu ac641c4a08 Fixes issue of customize search engine list
- add variable search-engine-config-list in order to support customization in
search-engine layer
- fixes issue #7999
2019-08-06 23:04:54 +02:00
duianto 2c905a0e82 Update changelog.develop and xclipboard layer
changelog.develop:
Added a new Dotfile changes section: Removed Variables
Moved a removed template variable entry:
from: Core changes > Fixed
to: Dotfile changes > Removed Variables

Surrounded commands with org verbatim (=)
Fixed typos

layers/+tools/xclipboard/readme.org:
Fixed a matching typo from changelog.develop
2019-08-06 15:43:17 +02:00
Benjamin Levy 0d43805b3c Layer +fun/emoji: Enable company-emoji-insert-unicode 2019-08-05 21:23:50 +02:00
Junxuan 6b2f849efd update helm-xref to set the correct xref-show-xrefs-function
helm-xref currently provides two functions and the user is expected
to use the correct one based on their emacs version. The lazy loading
logic has to be updated to set the correct xref-show-xrefs-function.
2019-08-05 20:34:04 +02:00
yqu212 53a0dd85bf Remove dotspacemacs-verbose-loading from .spacemacs.template 2019-08-05 19:10:48 +02:00
Benjamin Hipple cea98bcd54 shell: allow evil normal-mode movement in terminal buffer
As mentioned in https://github.com/syl20bnr/spacemacs/issues/10779#issuecomment-427712967,
emacs 26.1 changed the default behavior for term-char-mode to prevent cursor
movement. This change restores consistent behavior on all versions of emacs and
allows normal-mode motions to work again.

Note that the buffer is still read-only while in normal-mode, so operators that
change the line (such as `C`, `D`, `S`) still don't work.

Fixes #10956
Fixes #10779
2019-08-05 18:17:36 +02:00
smile13241324 7aa0967e12 Make search-engine layer support custom keywords for engine-mode 2019-08-03 23:37:30 +02:00
duianto 277eca6cea Update README.org (Updated)
- Added a changelog.develop entry to the various documentation changes section.
- Fixed a typo.
- Improved some of the wording.
- Mentioned that save or discard leaves helm-ag-edit not just iedit state.
2019-08-03 22:16:44 +02:00
Enze Chi 56ae091b62 remove duplicated code 2019-08-01 12:57:12 +02:00
Russell Mull b110ac09f9 Restore standard "si" binding for cider-jack-in-clj
It appears that this is still the common binding across all +lang layers.
2019-07-31 15:55:35 +02:00
Benjamin Levy 6db052334d Layer +chat/erc: Add spell checking and mIRC colors 2019-07-31 12:14:06 +02:00
nshadov 0e0319968d Remove Unicode triple dot in favor of ASCII one
Remove Unicode triple dot in favor of ASCII one because it breaks
initialization with message:
"*temp file*" default encoding cannot encode
2019-07-30 17:25:42 +02:00
Thanh Vuong 7bc23b895f Layout layer: counsel-projectile: requires fix
Guard :requires against ivy not projectile. projectile is already owned by
buil-in spacemacs-project layer, so it's always t.

This prevents install of ivy, counsel, swiper and counsel-projectile
packages regardless of helm layer
2019-07-28 16:45:53 +02:00
duianto a7e39b910f Update changelog.develop
Breaking Changes:
- Core:
  - New layers section: Sorted alphabetically: Web services
  - Added a new section: Renamed layers
    - Added an entry to the Renamed layers section

Core changes:
- Changed a commands surrounding `~` to `=`

Distribution changes:
- Moved an improvement from the fixed section to the improvements section

Layer changes and fixes:
- Alda: sorted key bindings alphabetically
- Helm: wrapped commands in org verbatim (=) signs
- Typescript: rewrote an entry with the full variable name and it's possible values

Various improvements:
- Various documentation improvements: Remove a duplicated name

Etc.
- Change leading:
  - Add to Added
  - Fix to Fixed
  - Improve to Improved
- Wrapped (thanks to ...) parentheses that extended past 80 chars
2019-07-27 15:17:41 +02:00
Thanh Vuong ce30353b52 js, ts and react layers: linter option
this PR does two things for js-related layers:

(i) add option to disable lsp linter
javascript-lsp-linter for javascript and react layers
typescript-lsp-linter for typescript layer
when the value is t, lsp linter will be used in the layer
when nil, let flycheck pick up the best linters available such
as eslint

(ii) when syntax-checking(flycheck) layer is installed, then set
next-error-function value in react and javascript layers to nil, so that
spacemacs next-error, previous-error work A desciption of this issue can be
found at https://github.com/syl20bnr/spacemacs/issues/8078

Co-Authored-By: duianto <otnaiud@gmail.com>
2019-07-26 18:04:25 +02:00
Thanh Vuong b686109541 fix restclient layer
save one keystroke for helm-restclient and document it
2019-07-25 07:47:36 +02:00
Vityou 0835acd268 updated racket logo 2019-07-25 06:30:06 +02:00
Zane Sterling 942a34ce7c s/an helm/a helm/g
https://en.wiktionary.org/wiki/helm#Pronunciation
2019-07-24 15:36:43 +02:00
Thanh Vuong bd6d4c27fd fix #12554 goto-flycheck-error-list 2019-07-24 14:17:53 +02:00
duianto 3757ad131c Revert "colorized files and folders in spacemacs buffer lists"
This reverts commit bbb9d3d559.

Reason:
It causes issues on the spacemacs-base distribution.
2019-07-22 00:08:58 +02:00
Pepe Iborra 3e8578340d [haskell] include attrap when Dante is used 2019-07-21 20:23:30 +02:00
Steven Allen c0763a3240 lsp: avoid pulling in treemacs/helm when their respective layers aren't enabled 2019-07-21 17:59:41 +02:00
BadDecisionsAlex bbb9d3d559 colorized files and folders in spacemacs buffer lists 2019-07-21 01:10:08 +02:00
kenranunderscore a69323fb3c Update list of base16 themes 2019-07-18 14:57:51 +02:00
Aaron Zeng cc4ab653c2 Update core-dotspacemacs.el default font size
0ffdb353f9 changed the default config template to use a point size instead of a pixel size.  Change the defvar declaration as well.

Commit modified by duianto:
Updated font size in doc/documentation.org
2019-07-18 11:43:45 +02:00
Guido Kraemer e9afae2285 [python] Fixed typos 2019-07-15 22:48:12 +02:00
Fangrui Song c825035e48 core: add reference handler as per jump handler 2019-07-15 12:28:04 +02:00
duianto eaed61fb39 Fix canceling spacemacs/ace-buffer-links
problem:
Canceling "spacemacs/ace-buffer-links" with "C-g" showed the error message:
"goto-char: Wrong type argument: number-or-marker-p, t"

solution:
Only go to and press the link if it's a position (number).
2019-07-14 23:10:57 +02:00
duianto b9e61e6437 Add transient state keys _, j, k
Thanks sdwolfz for the suggestion to add underscore to the transient states,
then the shift key doesn't have to be released if it was held down to press `+`.

Added key bindings:
Evil numbers:
`SPC n _` decrease number under point
in the transient state:
`j` decrease number under point
`k` increase number under point

`SPC T T _` decrease transparency
`SPC z x _` scale down font
`SPC z f _` zoom out frame

Update documentation:
Zoom frame:
`q` quit transient state

Evil numbers:
`SPC n =` increase number under point
`SPC n _` decrease number under point
`0..9` add a number prefix argument
`q` quit transient state

Fixed a typo and made a small rewrite of the tip about using a prefix argument.

Added keys to transient states:
Font scaling:
Added `_` scale down
Reordered `k` assignment to match the order in the transient state

Frame transparency:
Added `_` decrease
Reordered `k` assignment to match the order in the transient state

Evil numbers:
Added `k` increase
Added `_` and `j` decrease

Zoom frame:
Added `_` zoom frame out
Reordered `k` assignment to match the order in the transient state

Which-key entries for Evil numbers `SPC n`:
Group together keys that call the same command:
From: + and =
To:   +,=

From: - and _
To:   -,_
2019-07-14 22:56:57 +02:00
Oguz Serbetci c023542948 Add org-brain bindings for visiting entries and adding headlines and resources 2019-07-14 22:39:57 +02:00
Seong Yong-ju b74d6a9b66 Show *lsp-help* in a popup window using popwin 2019-07-14 22:19:52 +02:00
duianto 0ffdb353f9 Change default font size from 13 to 10.0
13 and 10.0 are visually the same, because:
- Integer specifies the pixel size.
- Floating-point specifies the point size.

Using a default floating-point size has two benefits:
- It's clear that the font size can be changed by floating-point values.
- There won't be an unpleasant surprise that `13` and `13.0` are different
  sizes. For example to make the font slightly larger or smaller than `13`.
  Then `10.0` has to be found first by trial and error.
2019-07-14 21:53:27 +02:00
duianto 280050d4f2 [sql] Add SPC m g prefix: goto
And sort the prefix declarations alphabetically.
2019-07-13 16:06:53 +02:00
Michael Hauser-Raspe ae7139612b Add sql connect to connect to saved sql connection 2019-07-13 15:53:26 +02:00
John Stevenson cc43d5c898 [Clojure] keybinding spacemacs/clj-find-var
Update the existing `SPC m g g` keybinding to use the command
`spacemacs/clj-find-var`.  This makes finding a function definition a much
better experience as you dont have to have the REPL running to find a
definition, but when it is you can use a CIDER specific function.

`spacemacs/clj-find-var` is a wrapper that calls `cider-find-var` if the REPL is
running, otherwise it uses `dump-jump-go`.

Wrapper added in #9792
2019-07-13 15:12:55 +02:00
John Stevenson 8fd218f1e8 [Clojure] keybinding for updated repl jack-in commands
Latest CIDER release uses the following commands for starting the REPL from
within Emacs

`cider-jack-in-clj` to start a Clojure REPL
`cider-jack-in-clj&cljs` to start a Clojure and ClojureScript REPL
`cider-jack-in-cljs` to start a ClojureScript repl

The older aliases are deprecated and are being removed in the latest beta
release of CIDER

`cider-jack-in`
`cider-jack-in-clojurescript`

Keybindings for these jack-in commands have been updated and as there are three
options they have been moved under the repl > jack-in

The top level of the Clojure mode menu has the existing keybindings updated to
use the new commands.  A third top-level keybinding `&` has been added for
`cider-jack-in-clj&cljs`
2019-07-13 14:41:06 +02:00
duianto e12278a323 Revert "[Clojure] Keybinding require Clojure repl utils in current namespace"
This reverts commit 034ee0c311.

It was rebased with the previous commits message.
2019-07-13 14:40:44 +02:00
John Stevenson 034ee0c311 [Clojure] Keybinding require Clojure repl utils in current namespace
Although the Clojure repl utils (clojure.repl) are including in the user
namespace in Clojure projects, they are not available in your application
namespace.

The existing CIDER function cider-repl-require-repl-utils adds the Clojure
repl utils into the current namespace, so you can use functions such as doc
and source.

This is often a source of confusion for those new to Clojure / CIDER.
2019-07-13 12:50:11 +02:00
John Stevenson cd95789170 [Clojure] Keybinding require Clojure repl utils in current namespace
Although the Clojure repl utils (clojure.repl) are including in the user
namespace in Clojure projects, they are not available in your application
namespace.

The existing CIDER function cider-repl-require-repl-utils adds the Clojure
repl utils into the current namespace, so you can use functions such as doc
and source.

This is often a source of confusion for those new to Clojure / CIDER.
2019-07-13 11:52:32 +02:00
Hong Xu cd24a73429 Add cliphist to the xclipboard layer. 2019-07-11 19:49:21 +02:00
Robert Zaremba d642095380 layer/+lang/go: refactore go-linter setup 2019-07-11 19:22:18 +02:00
Hong Xu 8485e69fa9 Remove documents for magithub in the github layer, as it has already been removed. 2019-07-11 18:08:00 +02:00
Thanh Vuong 653a38bce5 fix #12455 lsp layer
add an internal variable for `lsp` layer `lsp-layer--active-mode-list`
to keep track of active major modes using lsp,
`spacemacs//lsp-declare-prefixes-for-mode` will check this variable
to decide whether to add prefix to which-key or not
2019-07-11 16:38:48 +02:00
Ayush Goyal 5df46b200e Fix ansible layer for upstream changes in ansible minor mode
Ansible minor mode was recently updated to follow emacs-lisp style naming
convention. This commit makes corresponding function name changes in spacemacs
to fix ansible layer.

Reference:
* https://github.com/k1LoW/emacs-ansible/issues/28
* https://github.com/k1LoW/emacs-ansible/pull/31
2019-07-09 01:48:12 +02:00
Hong Xu 9637ceb389 Correct the example for stopping evilification of various magit's major-mode 2019-07-07 17:52:04 +02:00
ramz ee134745bd In docker layer adding shortcuts of machines, volumes and networks 2019-07-07 15:55:15 +02:00
duianto d6cdd6aa88 Add a tutorials section to SPC h T
`SPC h T e` for `emacs-tutorial` (aliased from `help-with-tutorial` for a more
descriptive name)
`SPC h T v` for `evil-tutor-start`

Added a wikipedia link to the `vi` article, where the origins of modal editing
is discussed.
2019-07-07 11:34:16 +02:00
Trapez Breen 9dbc0b9d0c Fix failing lsp-python-ms setup
Configuring lsp-python-ms variables properly.
2019-07-07 11:26:26 +02:00
Vikash Balasubramanian 3ed24436cd Enables eldoc for anaconda-mode 2019-07-07 09:07:17 +02:00