Commit graph

393 commits

Author SHA1 Message Date
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
syl20bnr 2580e43c66 Add support for dumping Spacemacs
Create dump with:

   ./emacs --batch -l ~/.emacs.d/dump-init.el \
           -eval '(dump-emacs-portable "spacemacs.pdmp")'

Load dump with:

   ./emacs --dump-file=spacemacs.pdmp

User can require/load additional libraries in new dotfile function:

   dotspacemacs/user-load
2018-05-20 03:57:54 -04:00
p-sdk 0e7807cb32 Fix modeline colors on emacs-mac port 2018-05-19 23:58:17 -04:00
Benno Fünfstück 572d4388fb spacemacs-modeline: compute height only after display init
Before the display system is initialized, we cannot reliably make font
measurements so the height will be incorrect. This lead to display artefacts
if emacs was started in daemon mode without a graphical interface and later a
graphical client was connected (so for example, if you do `emacs --daemon`
followed by `emacsclient -c`).
2018-05-18 01:25:29 -04:00
duianto f4a3025174 Format symbol highlight transient state
Reduce the width of the listed key bindings by:
Moving the range and highlighted symbols counter to the right of the transient
state title.
Shorten some key description names.
Reduce three instances of "search" to just one.

And reorder the listed keys based on their search scope, small to large:
swoop, buffers, files, project.
2018-05-16 00:41:37 +03:00
Codruț Constantin Gușoi d4c8513075 Split windows as @bmag suggested.
Refs: https://github.com/syl20bnr/spacemacs/pull/10669#issuecomment-388815579
2018-05-14 22:48:09 +03:00
Alex cbf6de8ef1 Add 2x2 grid layout shortcut 2018-05-14 22:39:56 +03:00
duianto a64417b3c1 Add golden-ratio support to evil-unimpaired
Switching window with `[ w` and `] w` didn't activate golden-ratio.
2018-05-10 23:56:05 +03:00
CeleritasCelery 19b7d40aa1 add support for helm find files edit to helm-navigation transient state 2018-05-10 23:34:39 +03:00
Alex 5ea833f10b Add function and keybinding for single column window layer.
We have key bindings to create two and three column
window layers.

This commit makes available a key binding to return to
the default spacemacs window layer, the single column one.
2018-05-10 22:38:47 +03:00