Commit graph

488 commits

Author SHA1 Message Date
syl20bnr fb37f94a0f [changelog] format Go layer changes 2019-09-14 22:50:20 -04:00
Gonéri Le Bouder f97c0ae6c1 pycscope: ability to configure the binary name
By default, cscope uses the "pycscope" command. This new variable
allow one to specify another binary name, e.g: python3-pycscope.
2019-09-14 01:06:16 +02:00
Jarosław Górny debaff6ca6 Add the transient/ directory to gitignore 2019-09-14 00:53:23 +02:00
duianto 6440e2d5d7 TS formatting: workspaces & layouts
Remove empty lines:
- Two in the Layouts Transients State.
- Three in the Workspaces Transient State.

In the Layouts Transient State:

Move the navigation keys:
[n/C-l]    next layout
[N/p/C-h]  prev layout
closer to the top, to match the order in the Workspaces Transient State.

Change to a more generic description, without mentioning the other
completion name.
From: [l] layout w/helm/ivy
To:   [l] another layout

Shorten the descriptions:
From: [w] workspaces transient state
To:   [w] workspaces TS
and
From: [t] show a buffer without adding it to current layout
To:   [t] show buffer w/o adding to layout

Indicate what's being added:
From: [A] add all from layout
To:   [A] add all buffers from layout

In the Workspaces Transient State:

Rename "create" to "clone, because it's more descriptive and the
docstring for the variable "eyebrowse-new-workspace" says:
"nil: Clone last workspace."
From: [c/C] create workspace
To:   [c/C] clone workspace

Add "TS" to the description to indicate that it switches to the Layouts
Transient State and then it will match "workspaces TS" in the Layouts
Transient State.
From: [l] layouts
To:   [l] layouts TS

Instead of sorting "[l] layouts TS" alphabetically by it's key letter,
move it to the bottom of the "Go to" column. This has two benefits:
- The workspaces navigation keys are grouped together, without having
"[l] layouts TS" in the middle.
- And "[l] layouts TS" will be the last entry in the "Go to" column.
This matches the location of "[w] workspaces TS" in the Layouts
Transient State.

Change to a more generic description, without mentioning the other
completion name.
From: [w] workspace w/helm/ivy
To:   [w] another workspace
2019-09-13 23:57:33 +02:00
Kechao CAI 5957303d17 gtags: typo fix 2019-09-12 17:02:19 +02:00
Mathieu ab9acc0810 Fixed go-run-test-current-function for go test and gocheck 2019-09-12 15:25:57 +02:00
duianto 9f32750f6a [ranger] load helm before ranger/deer
Resolves #12363
2019-09-10 23:17:27 +02:00
Guido Kraemer 22f51cf70a Update julia-layer 2019-09-10 22:35:18 +02:00
duianto dccef21e97 Workspaces TS: Add single win workspace key
Updated the Workspaces Transient State "SPC l w".

Added a new key: "[s/S] single win workspace" to the Actions column.

It creates a new workspace with a single window, that shows the
Spacemacs home buffer.

Moved the existing key: "[c/C] create workspace" to the Actions column.
2019-09-10 22:24:27 +02:00
yqu212 9f72af3b73 Add lazy loading of lsp-python-ms 2019-09-10 21:15:59 +02:00
madand 630781581a Fix definitions of extra actions R and D for recentf
`ivy-recentf` was renamed into `counsel-recentf` upstream.
2019-09-10 12:40:21 +02:00
syl20bnr 7a2d6d9860 [changelog] update helm section for useless buffers support 2019-09-08 10:40:12 -04:00
syl20bnr 84100e8434 [changelog] reformat Helm section 2019-09-08 10:32:00 -04:00
cormacc 0f034048f2 Updated keybindings w.r.t upstream lsp-mode refactoring / additions.
lsp-mode had renamed lsp-shutdown-workspace and lsp-restart-workspace.

Added bindings for the following newer interactive lsp-mode functions:
- lsp-organize-imports
- lsp-document-highlight
- lsp-lens-show
- lsp-lens-hide
- lsp-treemacs-symbols

Declared new major mode prefixes (a: code actions, x: text/code).
Moved execute-code-action binding under new `a` prefix.

Also disabled helm-lsp keybindings when ivy layer in use.
2019-09-06 23:23:28 +02:00
pancho horrillo 4c1245e8c5 [go] Drop support for deprecated gometalinter
gometalinter¹ was deprecated on 2019-02-28, in favor of the more advanced
golangci-lint.

. Drop references to gometalinter from README.org
. Update reference to available meta-linter (golangci-lint) in LAYERS.org
. Add attribution in CHANGELOG.develop

¹: https://github.com/alecthomas/gometalinter
2019-09-05 20:49:43 +02:00
Benjamin Hipple 61ed84be65 [python] Declare lsp layer dependency when python-backend is 'lsp
Previously, if a user set `python-backend` to `'lsp`, it would not do anything
unless the user also manually added the `lsp` layer to the spacemacs `init.el`
file. This commit updates the `python` layer to correctly add the dependency
when needed, like the `c-c++` layer does.
2019-09-05 20:36:31 +02:00
Gabriel Arrillaga ec3bb9d660 [elixir] Fix README.org
Change elixir-backend from 'alchemist to 'lsp in LSP config instructions
2019-09-05 20:07:01 +02:00
Caleb Williams fe77ade0f0 [json] Add option to format on save 2019-09-05 18:58:08 +02:00
John Stevenson 7afa22e1d0 [Clojure] Update Clojure layer linter documentation
Enhancement to Clojure layer documentation for the clj-kondo linter added via
pul request #12611

Moved instructions to install section as clj-kondo and squiqgly can be added as
Clojure layer variables, just like clj-refactor and sayid.

Changed the install instructions to make them specific and to use clojure layer
variables, which is consistent with other Clojure layer options.

Elaborated on the install instructions to clarify requirements, constraints and
recommended linting tool.

Added credits to the changelog.
2019-09-01 23:07:12 +02:00
Matthew Leach 4914df0108 add O prefix for gnus-group-group-map
Since the `O` key is not used in the `group-group-mode-map` use it as a prefix
for the `group-group-group-map`.
2019-09-01 22:15:40 +02:00
Dieter Komendera 578689c497 [clojure] Fix jumping backwards after cider-find-var
`cider-jump-to-var` was renamed to `cider-find-var` here:
ceb2d7df75 (diff-e39c33031dc8d3e78b32ebee83293cd6L809-R846)

In https://github.com/syl20bnr/spacemacs/pull/9792/ `spacemacs/clj-find-var`
was added to be used as the jump handler for clojure modes. It uses
`cider-find-var` which doesn't push jump positions onto the evil jump stack so
the no longer current defadvice was more apparent.
2019-09-01 01:10:29 +02:00
mpanarin 3ee5aedbbf Add elixir-ls as a language backend for elixir 2019-09-01 00:33:39 +02:00
duianto 145f7e56cc [ansible] Fix void-variable company-backends 2019-08-30 10:22:43 -04:00
duianto 424d029190 Revert "[gnus] Add G prefix to evil state"
This reverts commit 7ec33ba974.
2019-08-30 01:07:13 +02:00
Anatoli Babenia c5c63f48ca ansible: simplify filename matching re 2019-08-29 21:18:28 +02:00
duianto 7ec33ba974 [gnus] Add G prefix to evil state 2019-08-29 17:29:04 +02:00
Matthew Leach f088eb077c map gnus-group-get-new-news' to g r'
Since the `g' key is remapped in an evilified state, use the combination `g r'
to refresh the group buffer. This is similarly done in magit.
2019-08-29 17:10:03 +02:00
Sam Hedin 62ea30b479 Add cider clojuredocs keybind, remove grimoire 2019-08-27 21:31:59 +02:00
smile13241324 48ffd37594 Revert "[themes-megapack] Add ewal-spacemacs-themes to themes-megapack layer."
This reverts commit 883cf97308.
2019-08-26 19:58:34 +02:00
pancho horrillo b5b1f677e6 Add entry to CHANGELOG.develop 2019-08-26 17:58:51 +02:00
Rodolfo Hansen e2d9e32e92 Add lsp-scala and metals as a language backend for scala 2019-08-26 17:50:07 +02:00
Ryota Kayanuma 57baa4ba4a Add kivy layer
Removed the kivy package from the major-modes layer.
2019-08-26 17:09:46 +02:00
syl20bnr 015414ae8c [Github] Do not install forge pacakge on Windows by default 2019-08-21 22:29:21 -04:00
Mathieu 272c96d855 Add Testify support for layers/+lang/go 2019-08-21 21:25:49 +02:00
Dominic Pearson 5d01efbb6d doom-themes: correct theme entries.
Add/remove missing themes from core/core-themes-support.el.
2019-08-21 16:14:50 +02:00
Henrique Jung 39b6156a2f [theme-megapack] Add chocolate-theme
"A dark chocolatey theme for Emacs" by Valeriy Savchenko.
https://github.com/SavchenkoValeriy/emacs-chocolate-theme/
2019-08-20 10:55:09 +02:00
duianto 3521d7a11e Switch recreated messages buffer to evil-normal-state
If the messages buffer is deleted.
When it's recreated, then it opens in evil-evilified-state
where the evil keys `w` and `b` are undefined.
2019-08-19 20:48:41 +02:00
Troy Pracy 3c67ba94f3 Add docstring to align-repeat-x commands
Update 'spacemacs|create-align-repeat-x macro to add a docstring to created
functions. The docstring refers the user to the macro, providing a link to
the source code.
2019-08-19 18:11:29 +02:00
sunlin7 53f1445ecc Fixed the =c-c++-default-mode-for-headers= should not affect the default behavior for Emacs > 26.1+ 2019-08-16 23:55:27 +02:00
Uros Perisic 883cf97308 [themes-megapack] Add ewal-spacemacs-themes to themes-megapack layer.
Currently, the theme also modifies `spacemacs-dark` if also loaded in
`dotspacemacs-themes`. A
[fix](https://github.com/nashamri/spacemacs-theme/pull/144) for this is on it's
way upstream to `spacemacs-theme`, but the maintainer already gave their
[blessing](https://github.com/nashamri/spacemacs-theme/issues/139).
2019-08-14 22:33:25 +02:00
Thanh Vuong 0e9866efce spacemacs-layout layer: limit commmands to work within layouts
Add options to restrict some functions to current layout's buffers

Thanks smile13241324 and duianto for suggestions and fixing typos
2019-08-12 21:41:12 +02:00
Michael Hauser-Raspe a500662a69 Add minimal zig mode. 2019-08-12 14:54:36 +02:00
Simon Pintarelli 0750b4e72c update org-layer: helm-org is now a separate package 2019-08-11 20:31:48 +02:00
bb2020 8ed7e5e7a1 Add `spacemacs/iwb-region-or-buffer'. 2019-08-11 20:15:40 +02:00
Trapez Breen d63ff5c0f2 Fix treemacs-project-toggle
Avoid error in spacemacs startup buffer
2019-08-11 19:39:47 +02:00
Michael Hauser-Raspe 3df5b43d28 Remove stray ruby file. 2019-08-10 11:32:20 +02:00
Dominik Schrempf 11ee097707 Bugfix `spacemacs/avy-goto-url'.
- Use `avy-jump' instead of the deprecated `avy--generic-jump'.
- Add a keybinding to also open URLs (SPC j U).
2019-08-10 11:23:01 +02:00
Benjamin Levy 600ca198aa Add jump handlers for nasm-mode 2019-08-09 13:28:55 +02:00
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
Vikash Balasubramanian 5def0eaae5 Fixes flycheck support in jsonnet files 2019-07-06 18:59:38 +02:00
Jake Romer 7c3d211726 Run foreign keys in evil-numbers transient state 2019-07-06 01:59:04 +02:00
Jonathan Chen 28adf374fe feat(clojure-lang): add cider-eval-sexp-at-point
Adds a useful CIDER command that doesn't have an idiomatic Spacemacs command.

Ref:
https://cider.readthedocs.io/en/latest/interactive_programming/#using-cider-mode
2019-07-06 00:17:03 +02:00
Mariusz Klochowicz d6c8df3d00 Add org-pomodoro keybinding in org-journal-mode. 2019-07-04 13:03:20 +02:00
Benjamin Hipple 2bef3f67e0 dash: provide config option to skip auto-load of all docsets
In the upstream dash-docs and helm-dash documentation, they suggest a workflow
where users leave relatively little in `dash-common-docsets`, and instead add
per-mode hooks to enable specific docsets, since a user is unlikely to want
Python documentation while in a C++ buffer and vice versa. Currently, the
spacemacs dash layer will automatically discover all installed docsets and add
them to `dash-common-docsets`.

This commit adds a config option `dash-autoload-common-docsets` that can be set
to nil to skip the auto-loading and allow users to opt-in.

Co-Authored-By: duianto <otnaiud@gmail.com>
2019-07-01 21:42:25 +02:00
Ivan Yonchovski f892ba3091 Remove the fix-lsp-company-prefix since it is no longer needed
- company-lsp is now smarter and supports fuzzy matching
2019-07-01 13:28:42 +02:00
Miciah Masters ab893e3af0 Restore point in spacemacs/alternate-buffer
* core/core-funcs.el (spacemacs/alternate-buffer): Instead of using
switch-to-buffer, use set-window-buffer-start-and-point, specifying the
previous window start position and point if known.  Replace use of
cl-find-if with cl-find.
* CHANGELOG.develop: Add entry for change to spacemacs/alternate-buffer.
2019-07-01 12:56:31 +02:00
Spenser Truex b5d2774965 Gitignore tags. 2019-06-29 16:06:36 +02:00
NicholasTD07 f2e4b8d377 Run set-fontset-font only if it is available (for emoji layer) 2019-06-29 13:57:44 +02:00
Olivier Verdier 7818fa3ccf add bindings to navigate between errors in tex mode 2019-06-28 20:32:11 +02:00
Brandon T. Willard 2cfcf54458 Use return value from advised function in yank-indent-region
Closes #12479.
2019-06-28 12:08:49 +02:00
duianto cce5668adb Remove mentions of removed powerline-scale property
Remove mention of powerline-scale property from the
.spacemacs.template font variable comment.

Update the changelog.develop entry for the mode line
separator scale when the utf-8 separator is used.
2019-06-27 22:48:37 +02:00
syl20bnr 1aa0af260e Move indirect buffer key bindings to SPC b N prefix 2019-06-26 00:10:01 -04:00
syl20bnr 6229dcd543 Change SPC b i to SPC b t in imenu layer
This is to free up `SPC b i` to be able to use it for indirect buffers
2019-06-25 23:58:14 -04:00
syl20bnr f04ff9e837 Change SPC , to SPC j c to go to last change 2019-06-25 23:52:21 -04:00
syl20bnr 6ce974795e Change SPC j C to SPC j ( to jump to fist unbalanced parens 2019-06-25 23:49:21 -04:00
Dave Aitken f40361fd64 Add reasonml layer 2019-06-25 12:03:36 +02:00
jcaw d4cca74854 Add support for visual line numbers
Emacs 26 added built-in support for line numbers, relative line numbers, and
visual line numbers. Spacemacs supports only absolute and relative, but there is
no way to access the visual mode. It's hard to get around this, since Spacemacs
abstracts line numbers to a reasonably high degree.

Arguably, `visual` is much more useful than `relative` as a display type. Visual
line numbers are like relative line numbers, but only lines that are actually
showing are counted. This means:

  1. Hidden lines are not counted. If a large amount of text is folded, the line
     numbers won't jump from "10" to "546". This is particularly useful in
     buffers like `magit-status`, where a large amount of information is folded
     by default.

  2. Lines that are wrapped are counted as multiple lines, since they're being
     displayed as multiple lines in the editor. Each visual line will be
     numbered - unlike `relative`, where the entire thing is numbered... Once.

With standard relative line numbers, you can't actually navigate using the line
numbers in the sidebar as soon as folded or wrapped lines are introduced. Since
this is one of the main use cases for relative line numbers, this is a big
problem.

Visual mode fixes that problem. Every line that's being displayed is labelled.
Numbers always correspond to the actual number of lines you'd need to navigate
to reach that line.

This commit extends Spacemacs' line number interface to provide visual line
number support.
2019-06-23 19:16:44 +02:00
Georgi Lyubenov f2a6872afb Adapt agda2-auto call to agda 2.6.0 changes
* It's now agda2-auto-maybe-all. If you are not currently in a hole
it tries to `auto` all holes by default.
* Find and set an agda-version variable, to keep compatibility with
previous agda versions.
2019-06-23 16:47:33 +02:00
duianto 4d4d1b5b38 Update Helm Transient State, show g and G keys
Revealed already bound navigation keys:
- `g` go to first candidate
- `G` go to last candidate

Moved `[q] quit` from bottom left to bottom right, to match other TSs.
Reduced spacing between keys and descriptions from two to one space.
2019-06-21 19:30:30 +02:00
Sheng Yang 0a202138b9 Allow mouse pasting in term based shells 2019-06-21 19:22:25 +02:00
duianto 279e70106f [treemacs] Load projectile key binding with treemacs
The `C-c C-p p` (`treemacs-projectile`) key binding wasn't loading automatically
with Treemacs, until the command had been called manually.
2019-06-21 19:08:01 +02:00
Jim Pudar 0f40fe9df2 Improve point handling in perltidy functions
This moves the point and content of the window close to where you were
before you ran perltidy. Of course if perltidy adds or removes a
significant amount of characters / lines as part of tidying, the point
will be moved by that amount. However in practice this I've found this
to be close enough.
2019-06-21 19:04:34 +02:00
Binbin Ye f644c59ab8 Add a layer variable osx-swap-option-and-command
set to non-nil to swap command and option key on macOS
2019-06-18 14:21:56 +02:00
Binbin Ye da3c7ee1f7 Add a default value for kbd-mac-command 2019-06-18 14:11:01 +02:00
duianto 1554bdda9f Remove new layout confirmation question 2019-06-17 13:23:17 +02:00
duianto de2297b2e1 Fix copied dir not in minibuffer, clipboard disabled
Fixed the minibuffer showing: `nil`
when `select-enable-clipboard` is `nil` and the current files
path/dir/file/line/column/etc. is copied with the keys under
the prefix: `SPC f y`
2019-06-17 09:20:01 +02:00
Juha Jeronen 672e3db625 Customizable major-mode for new empty buffers
New var: dotspacemacs-new-empty-buffer-major-mode

Set to a symbol naming a mode (e.g. 'text-mode) to apply that major mode to any
buffers newly created in Spacemacs by spacemacs/new-empty-buffer.

Fixes #12382.
2019-06-17 08:26:56 +02:00
cormacc b80154bd52 Corrected instructions relating to ms language server from git 2019-06-15 23:55:20 +02:00
Andrew Grangaard 17c4219d05 Update reveal.js cdn url for new format and v3.8.0
* jsdeliver url format changed from `<project>/<version>/file` to `npm/<project>@<version>/<file>` sometime in 2017.
  The old urls still work, but they aren't getting updated.
* The current reveal.js version is 3.8.0

current CDN version: https://cdn.jsdelivr.net/npm/reveal.js@3.8.0
2019-06-14 08:56:19 +02:00
sergeiz2 365c92bae5 Add force option to spacemacs//init-spacemacs-env call 2019-06-13 18:42:15 +02:00
John Stevenson bb34374818 Add keybinding for cider-interupt
Interrupt longer running evaluations without having to kill or reset the REPL
connection.

Placed in the evaluate section, as it is specific to the currently running
evaluation.
2019-06-13 15:27:02 +02:00
Alexander Miller 2e14b4a88c Don't use large file check in buffers already in fundamental-mode.
This change will prevent unnecessary requests to literally open files that are
literal already (like elfeed's index file).
2019-06-13 15:05:34 +02:00
duianto 9aaef2a22b Update Scrolling Transient State
Added new key bindings:
- In the Buffer column:
Added "g" and "G":
[</g] beg
[>/G] end
- In a new Other column:
[q] quit

Reordered the columns:
From: Large to small: buffer, full page, half page, line/column
To: Small to large: line/column, half page, full page, buffer

Reason: The most used (first listed) bindings are probably not scroll to the
"beginning" or "end" of the buffer.

Rearranged the half page columns two instances of "down/up" to one "down" and
one "up".

Reduced the TS width:
- Separated the line/column and full page keys to one "down" and one "up", and
the buffer keys to one "beginning" and one "end".
- Renamed "beginning" to "beg".

Reordered the key bindings (TS) logically: "up" above "down".

Reordered the key bindings (code):
Arranged them in the same order as the columns in the TS.
2019-06-13 00:49:43 +02:00
John Stevenson 218eb955ef Add keybinding for flyspell-correct-at-point
Add a keybinding to provide a simple way to correct the spelling of a word at
the current point.  This enables fixing the spelling mistake as it happens with
low ceremony.
2019-06-12 23:44:41 +02:00
Sebastian Nagel ba2edbb530 Add ox-jira as org export backend to org layer
Optionally enable is using org-enable-jira-support layer variable
2019-06-12 20:45:28 +02:00
Jordan Kaye 828a1919df Add dotnet cli layer 2019-06-12 20:36:14 +02:00
Ag Ibragimov cf796a4224 spacemacs/recompile-elpa with argument deletes all existing *.elc files
Rationale: very often users required to find and delete all *.elc files
manually. That's a bit tedious.
2019-06-12 20:15:51 +02:00
Michael Franz Aigner ddf7459a02 Fix lazy-loading of ruby-test-mode
This change fixes a syntax mistake in the use-package declaration of
ruby-test-mode that causes the package to be loaded immediately, instead of
deferring the load until the first ruby file is visited, as is intended.
2019-06-12 19:37:26 +02:00
Liu Chong bd61f2e8a0 Remove cider.nrepl/cider-middleware in lein quick start setting
Don't need this `cider.nrepl/cider-middleware` in lein profiles.clj.

It will result in error, the `cider.nrepl/cider-middleware` not middleware but a vector of all cider-nrepl middlewares:

> https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl.clj#L483
2019-06-12 19:31:16 +02:00
Victor Polevoy 51b04beb26 Add sailfish-developer layer
Provide bindings to the sailfish-scratchbox emacs package via hotkeys.
2019-06-12 15:45:24 +02:00
AmaiKinono 5b7b5f2526 [chinese] Fix fcitx.el. And add a variable
Make fcitx.el work by default, it was not configured properly.

Added a layer variable to decide if dbus should be used or not:
chinese-fcitx-use-dbus
(default: nil)

Corrected README.org:
It's the dbus interface (not fcitx-remote) that is needed for linux.
2019-06-11 22:53:37 +02:00
sunlin7 70a5a40d54 Make projectile recognize C++ projects by search for ".ccls" file 2019-06-09 21:59:46 +02:00
Miciah Masters 461a36b981 purpose: Add chat and mail purposes
Map erc, jabber, rcirc, and slack buffers to the "chat" purpose.

Map gnus, mu4e, and notmuch buffers to the "mail" purpose.
2019-06-09 21:47:21 +02:00
Uros Perisic eee7d20bfe Add and configure nodejs-repl package to javascript layer.
Add relevant keybindings and documentation, including a setting
`js2-include-node-externs` as a configuration variable for those that intend to
use `Spacemacs` for node projects, as it currently seems to be mostly aimed at
pure JS (https://github.com/syl20bnr/spacemacs/issues/483).
2019-06-09 18:29:08 +02:00
Ryan f1d55ed002 Add eslint as option for linting typescript 2019-06-09 17:59:01 +02:00
刘冲 803d4e7202 Fix mismatched brackets in markdown README
Added a missing close bracket and removed the useless line `dotspacemacs-configuration-layers '(`
2019-06-08 21:49:23 +02:00
Anton Alekseev b5027f8f2a Add key bindings for indirect buffer functions 2019-06-08 20:36:34 +02:00
Magnus Therning 37dcecbec9 Put the jump handlers straight into the buffer var
Fixes #12238
Fixes #12289
2019-06-06 14:36:09 +02:00
duianto 4cb9226302 Update changelog.develop and markdown readme 2019-06-05 22:45:34 +02:00
Anton Alekseev 832ddd4268 Enable prettier formatter for HTML buffers 2019-06-05 18:48:54 +02:00
Vitor Finotti ac17032009 Add inverted Dogemacs banner for dark themes 2019-06-02 21:42:32 +02:00