Commit graph

402 commits

Author SHA1 Message Date
syl20bnr ea0f73ec31 Defer volatile hightlight by 2 seconds
This takes some time to load and it is not a useful package for quick edits
2018-06-14 02:06:19 -04:00
syl20bnr de858b2953 Fix startup buffers without spaceline mode line 2018-06-14 01:10:44 -04:00
syl20bnr 55d18a1a3a Move SPC s c to bootsrap layer 2018-06-14 00:21:56 -04:00
Daniel Molina 55e0506ef0 Fix typos 2018-06-14 00:15:49 -04:00
Benjamin Reynolds 594fdc8f05 Rename spacemacs/mplist-get functions to be more descriptive
* spacemacs/mplist-get -> spacemacs/mplist-get-values
* spacemacs/plist-get -> spacemacs/mplist-get-value
* refactor spacemacs/mplist-get-value to be defined in terms of mplist-get-values

Ref #10803 See [comment]

[comment]: https://github.com/syl20bnr/spacemacs/pull/10803#issuecomment-395292606
2018-06-14 00:15:49 -04:00
Codruț Constantin Gușoi 8ad78ca7d3 Brings back search highlight clear 2018-06-12 22:43:22 +03:00
syl20bnr 17ad92b808 spaceline: remove after-display hook
The trade-off is that the spaceline separator is flat and the powerline height
is default for people using emacs --daemon.
2018-06-11 12:38:37 -04:00
syl20bnr a417d05cd0 layouts: be sure spaceline is loaded before restoring layouts
fixes #10849
2018-06-11 11:53:20 -04:00
syl20bnr 4bb1d6ab39 Defer spaceline loading 2018-06-11 04:00:13 -04:00
syl20bnr 41b90e403c Lazy load evil-lisp-state 2018-06-11 02:46:38 -04:00
syl20bnr 095a83896a Remove evil-search-highlight-persist as it seems uneeded now 2018-06-11 02:02:20 -04:00
syl20bnr 0b787ebb44 Lazy load volatile-highlights 2018-06-11 01:45:33 -04:00
syl20bnr 6d9c559dc1 Use transient hook to load window-purpose 2018-06-11 01:37:08 -04:00
syl20bnr e0ad4e3b0a Delay loading of windows purpose 2018-06-11 00:17:30 -04:00
syl20bnr 2ff642e5e0 Lazy load info+
Again :-)
2018-06-10 23:57:02 -04:00
syl20bnr 9951013bee Lazy load eval-sexp-fu 2018-06-10 23:24:44 -04:00
syl20bnr 5004e05d44 Add hybrid-style-visual-feedback variable 2018-06-08 02:32:05 -04:00
syl20bnr b282e553ba Use dotspacemacs backward compatibility macro instead of aliases 2018-06-08 02:24:38 -04:00
syl20bnr 2b4d90ba20 Set default value of vim-style-visual-feedback to nil 2018-06-08 02:24:38 -04:00
syl20bnr 9539e4206d Rename Vim style related variable to vim-style-xxxxx
Update the documentation
Define alias for backward compatibility
2018-06-08 02:24:38 -04:00
syl20bnr e39b3495bd Add vim-style-visual-feedback variable and documentation 2018-06-08 02:24:38 -04:00
syl20bnr 1833c9c4f7 iedit: fix TAB in Vim and Hybrid states to toggle occurrences
Fixes #10398
2018-06-07 01:59:16 -04:00
syl20bnr 335e6a2999 Remove buggy find-file-hook--open-junk-file 2018-06-06 00:36:10 -04:00
Miciah Masters e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Thanh Vuong 0d800bdbfa spacemacs/integrate-evil-search also dupdates evil-ex-search-direction 2018-06-03 23:56:57 -04:00
syl20bnr 740251d896 Disable evil-goggles pulse 2018-06-03 02:21:21 -04:00
syl20bnr a337aa7782 Force powerline-scale to be 1 when utf-8 separator is used 2018-06-03 01:48:26 -04:00
syl20bnr 306f8d6cd8 Hide ligther for evil-goggles-mode 2018-06-03 01:09:28 -04:00
Guido Kraemer 0fcdec5fa4 keybinding-alphabetic order 2018-06-02 18:34:30 +03:00
Guido Kraemer 76c4ec0358 add transpose sexps keybinding 2018-06-02 18:34:30 +03:00
Codruț Constantin Gușoi 0ebcc25369 Removes line numbers width setting
As discussed here: https://github.com/syl20bnr/spacemacs/issues/9362#issuecomment-393328914
2018-06-02 16:45:28 +03:00
syl20bnr 1ec62a496a Add evil-goggles and tune effect duration for async and blocking ops 2018-06-02 02:51:06 -04:00
syl20bnr 1374cd615f Fix evil-escape lighter being shown in mode-line
Also simplify code a bit.
2018-06-02 01:56:25 -04:00
Codruț Constantin Gușoi 390462e36d Adds some profiling keybinding under SPC h P 2018-05-31 01:23:02 +03:00
Codruț Constantin Gușoi 83f2fd4d22 Window splitting with custom delete
Implements some custom window layout splitting functions.
2018-05-31 01:16:57 +03:00
Víctor Cuadrado Juan f234df5f94 Don't hardcode fci-rule-color face
Faces should be set in themes or by use of the theming layer.

This closes #8917.
2018-05-31 00:56:20 +03:00
smile13241324 ecd256ca6d Fix some small typos in spacemacs-purpose documentation 2018-05-30 21:40:27 +02:00
bmag 3812c591cf Line numbers: tests and bug fixes for major-mode predicate 2018-05-30 11:35:26 +03:00
bmag 8f82486154 Add support for native line numbers in Emacs 26
Emacs 26.1 will introduce a new native line numbers feature:
"display-line-numbers". It includes relative line numbers, is faster than
current linum-mode, and doesn't use the margin area (it has its own area). So
yeah, we want to use the new feature when possible.

No changes are required on the user side, except for Emacs 26 users are
recommended to remove nlinum layer from their configuration (if they have
enabled it).

With this change:
- Emacs 26:
  - uses display-line-numbers by default.
  - linum and linum-relative packages are excluded.
- Emacs 25:
  - does NOT use display-line-numbers.
  - continues to use linum and linum-relative.
- nlinum layer:
  - can still be used as before in Emacs 25.
  - is NOT recommended in Emacs 26, but can be used.
  - when enabled, excludes display-line-numbers.

Also contains some bug fixes:

Fixes a bug where setting `dostpacemacs-line-numbers` to `t` or `relative`
enabled line numbers in every buffer, instead of only in buffers that derive
from prog-mode and text-mode.

Likewise fixes a bug where specifying `:enabled-for-modes nil` (or not
specifying `:enabled-for-modes` at all) in `dotspacemacs-line-numbers` settings
meant "enable in all modes" instead of "enable in modes derived from prog-mode
or text-mode".

Because of this change, also adds a way for users to enable line numbers
in *all* buffers.

Removes check for special buffer. All our current checks should be enough to
enable line numbers only where it makes sense. Disabling in all special buffers
is not necessary.
2018-05-28 19:29:15 +03:00
duianto b5589b18b8 Rename ms in func ahs-ms-on-exit to ts
`ms` is an abbreviation for a micro state, which was the previous name for a
transient state.
2018-05-28 00:22:41 +03:00
duianto 1bcce809d5 Rename ms in helm-nav face definition to ts
The `spacemacs//helm-navigation-ts-set-face` function had been changed to call
the face `spacemacs-helm-navigation-ts-face` with `-ts-`, but the face
definition was still called `spacemacs-helm-navigation-ms-face` with `-ms-`.
2018-05-28 00:14:55 +03:00
Bet4 7fb966d3db recentf: use recentf-expand-file-name to generate recentf-exclude 2018-05-27 23:38:38 +03:00
smile13241324 106b27f52e Deactivate evil-escape in holy-mode 2018-05-27 22:37:48 +03:00
Miciah Dashiel Butler Masters 78297be625 Fix various typos
* Fix various isolated typos

"apppend" -> "append"

"availabe" -> "available"

"Descripti using ternon" -> "Description"

"you have not them" -> "you don't have them"

"new on" -> "new one"

"plained" -> "curved"

"repel" -> "REPL"

"vairable" -> "variable"

* Fix a few errors in the CoffeeScript layer readme

Add a missing "the".

Correct a reference to the layer as "javascript" to "coffeescript".

Fix the syntax on the link to CoffeeLint.

* Fix typos: "dofile" -> "dotfile"

* Fix typos: "formated" and "formating"

"formated" -> "formatted"

"formating" -> "formatting"

* hy: Fix docstrings in funcs.el

Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.

* Fix typos: "indendation" -> "indentation"

* Fix typos: "the the", "a a"

Fix duplicated (or misplaced) articles.

* Fix typos: "wether" -> "whether"

* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
Jesse Byler 65e605f81b Fix vert/horiz in Window Manipulation Transient St (#10726)
Swaps usage of veritcal and horizontal in the documentation string
for Window Manipulation Transient State.

Fix for Issue #10725.
2018-05-22 23:34:11 -04:00
p-sdk dc97c3c4c7 org: fix https links
Fixes #10621
2018-05-22 13:08:43 +03:00
syl20bnr 30204ee05a Remove adaptive-wrap package as it does not play well with other modes
see https://github.com/syl20bnr/spacemacs/issues/1418
fixes #1418
2018-05-21 00:29:40 -04:00
syl20bnr 87dc5f100c dump: add support for winner
pdump cannot dump window configurations so we make sure to activate winner
outside of the dump phase
2018-05-20 03:58:48 -04:00
syl20bnr ed9123984a dump: require recentf and eldoc when dumping 2018-05-20 03:58:48 -04:00
syl20bnr 378392e7cd dump: remove spaceline-compile hook and force separator to be utf-8
For now we have an issue with invalid XMP image format when dumping.
So we force utf-8 separator.

spaceline-compile is really long and not really necessary for regular users.
Advanced users must explicitly call spaceline-compile in their dotfile and be
ready to pay a 0.5s penalty when loading emacs.
2018-05-20 03:58:48 -04:00