Commit Graph

93 Commits

Author SHA1 Message Date
Lucius Hu a611a602c0
parinfer: cleaning up
- Updated layer README.org to include prerequisites
- Removed unnecessary layer config variables which are mere re-naming
  of customization variables from `parinfer-rust-mode`.
- Removed the image.
2022-08-04 18:32:27 -04:00
SpacemacsBot 13cb1e0f12
[bot] documentation_updates (#15666)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-07-26 06:56:44 +00:00
Lucius Hu 90f01114d2
nav-flash: clean up
Removed the setting on `nav-flash-face` to `:extend t`
because this is the default.
2022-07-26 02:55:32 -04:00
Lucius Hu 8e3686d254
nav-flash: better mechanism on determining last point before blink
This is ported from Doom Emacs.
2022-07-26 02:53:40 -04:00
Lucius Hu fdfd9f1457
nav-flash: fix #15617
based on ff58823d48
2022-07-26 02:43:44 -04:00
Lucius Hu ef912d7e7a
nav-layer: add credit section to layer documentation 2022-07-26 02:43:09 -04:00
SpacemacsBot 598065e6bd
[bot] documentation_updates (#15645)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-07-15 08:08:46 +00:00
Lucius Hu a6ae2f6a7c
nav-flash: Added new layer variable and other changes
- Added a new layer variable `nav-flash-exclude-modes` which tells
`nav-flash/blink-cursor-maybe` not to trigger when the major mode matches one of
its elements.
- Expanded the documentation.
- Tidying up.
2022-07-15 04:01:34 -04:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
Lin Sun 756e204d25 [layers+misc/ietf] fix auto-mode-alias for ietf 2022-05-26 08:17:09 +02:00
Lucius Hu fd652fae0c
update spacemacs/declare-prefix usages (#15278)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:11 +00:00
Maxi Wolff e9648b809a
[tree-sitter] Rename variables to match conventions 2022-01-08 12:59:33 +01:00
SpacemacsBot 4d59149eb5 [bot] "documentation_updates" Sun Jan 2 06:54:20 UTC 2022 2022-01-02 07:56:12 +01:00
Elliott Shugerman e2f6aa9480
Add basic tree-sitter layer (#15185)
* add basic tree-sitter layer

* defer loading tree-sitter-indent now that patch is merged

* fix note block in readme

* improve variable name
2022-01-02 07:53:20 +01:00
Maximilian Wolff 37c8669d36 [parinfer] Allow to disable auto-installation
instead a path to the library can be set manually.
See #14568
2021-05-17 21:24:54 +00:00
Lucius Hu e5be31bb85
Bumped minimum emacs version to 26.1 2021-05-03 22:09:11 +02:00
emacspace df15f8cc15 documentation formatting: Mon Apr 19 20:28:58 UTC 2021 2021-04-19 23:15:58 +02:00
Thanh Vuong 235aa8d44e [new layer] nav-flash
Ported from Doom
2021-04-19 22:25:40 +02:00
Maximilian Wolff 3f795aebdb [parinfer] Remove path hack and obsolete layer specific hooks 2021-04-15 20:51:31 +00:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
duianto b7cbcb5ed5 [parinfer] Fix: Wrong number of arguments: setq, 5
cause:
The spacemacs|add-toggle expression,
ended up in the combined setq above.

additional changes:
Separated the combined setqs, to make it
easier see where each assignment starts.

Wrapped the lines at 80 chars to reduce
the need to scroll horizontally.
2021-03-08 10:31:43 +01:00
Maximilian Wolff de55a45dbd
[parinfer] Switch implementation to parinfer-rust-mode
as parinfer-mode is officially unmaintained now.
2021-03-07 23:09:22 +01:00
Maximilian Wolff be908875cb
Change newly added which-key bindings to use keymap api
The newly added bindings had side effects for
magit. This was caused by which-keys replacement
working on bindings which are identical between
various modes.

To fix this I have changed the api to use the newly
added keymap based replacements which avoid these
issues.

As a side effect they are a ton faster as which
key does not have to compare all available bindings
everytime it opens its help window.

I have also fixed some more missing which-key
description in magit status buffer.
2020-11-27 22:46:56 +01:00
Maximilian Wolff cb9c5c976c
[core] Add missing which-key description for `evil-mc`
evil-mc puts its bindings behind `gr` but misses
to define a proper which key prefix.
2020-11-27 20:18:32 +01:00
emacspace a9fc0d5fcc documentation formatting: Thu Oct 8 06:38:34 UTC 2020 2020-10-08 09:49:06 +03:00
Kevin bf78bd4ec5 Add dtrt-indent layer 2020-10-06 12:30:47 +02:00
duianto d72019e33d
[multiple-cursors] Disable evil-mc-mode in magit-mode (#13971)
Resolves #13948

problem:
The p key tries to paste in the read-only magit buffer,
instead of calling magit-push.

After toggling text-mode on and off (C-t or \),
because evil-mc-mode becomes enabled when text-mode is enabled.
2020-09-23 22:37:55 +02:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
duianto 81d1c9f787 Fix org table evil paste
Paste using *table--cell-yank, in org-src-mode.
2020-08-19 23:46:21 +02:00
Maximilian Wolff 793898f818
[core] Move snoopy mode to spacemacs-editing layer 2020-08-11 00:05:40 +02:00
Tim Jäger aa6ab15776
Add layer for `snoopy-mode` 2020-08-10 12:59:46 +02:00
Maximilian Wolff c7ed2fc597
[helm] Provide fuzzy matching for Helm-M-x
Following the advice from duianto #13100 we are
setting completion-styles for helm-M-x to include
the emacs version specific fuzzy strategy as last
resort.

Before no fuzzy matching occured within command
searches.
2020-05-11 12:36:56 +02:00
duianto 0a06c7ca6b Fix filenames in layer file headers
Also fixed the groovy/funcs.el header which said: Java
2020-02-20 00:07:30 +01:00
duianto f578e618a5
[nlinum] Show deprecation (Emacs 26.1+) warning on startup
The warning:
nlinum layer is deprecated for Emacs 26.1 and above
wasn't shown until SPC h SPC was pressed.

Because the variable: configuration-layer--used-layers
wasn't populated before the warning check occurred in
nlinum/packages.el.

The solution (suggested by syl20bnr) was to move the
check to a new file: nlinum/config.el.
2020-02-18 21:09:23 +01:00
duianto 7b28e62fb0 [nlinum] Fix symbol name typo
Thanks bcc32
2020-02-03 21:37:00 +01:00
wangtianshu b6f9f7ffc9
Disable warning unless use the nlinum layer 2020-02-01 08:03:41 +00:00
kimr da80634370
converted cl to cl-lib 2019-12-14 20:20:51 +00:00
duianto 8fcc9d8490 [multiple-cursors] Remove layer keys. Added upstream
Removed the following key bindings from the multiple-cursors layer:
grI  evil-mc-make-cursor-in-visual-selection-beg
grA  evil-mc-make-cursor-in-visual-selection-end
because they have been added upstream in the evil-mc package.

Changed the changelog.develop entry from saying that they were
added to the layer, to say that they were documented in the layer.
2019-11-25 17:45:01 +01:00
emacspace 9a82ee3ba7 documentation formatting: Fri Nov 22 19:37:23 UTC 2019 2019-11-22 22:47:35 +01:00
duianto 8bb98bcffa [multiple-cursors] Add evil-mc keys, cursors from selection
Added evil-mc make cursors from selection key bindings:
grI calls evil-mc-make-cursor-in-visual-selection-beg
grA calls evil-mc-make-cursor-in-visual-selection-end
2019-11-22 07:34:00 +01:00
Seong Yong-ju 6556cfc80d [multiple-cursors] Improvements
Fixed evil-mc-mode won't start automatically
Moved evil-mc key bindings to evil-mc-key-map, not global keymap
2019-11-15 13:49:02 +01:00
deb0ch 0cec3d0a69 docstring 2019-09-16 17:41:15 +03: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
duianto 3868a5364f [doc] Fix typos and add missing/remove extra ~
Add missing ~ (tilde) around key bindings.
Remove an extra ~.
2019-06-01 20:40:22 +02:00
duianto 348e996f7d [multiple-cursors] Update snippet, sort key bindings
Show the better supported backend in the readme snippet.
2019-05-27 15:46:07 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
bb2020 d68c6311d6 Add magnars's multiple-cursors backend 2019-05-26 22:51:26 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00