Commit graph

1015 commits

Author SHA1 Message Date
Maxi Wolff
0cbd48f0a5
[doc] Fix wrong min emacs version and rewrite update instructions 2022-01-03 22:00:08 +01:00
SpacemacsBot
a911c9fe4d [bot] "documentation_updates" Tue Nov 9 23:59:04 UTC 2021 2021-11-11 15:08:51 +02:00
JAremko
c0fd5c9601 [doc] clean up 2021-11-09 23:34:48 +02:00
Daniel Nicolai
548edefcce Install org from ELPA instead of Org ELPA
From org version 9.5 org will not be distributed from Org ELPA but from
ELPA (see https://list.orgmode.org/87lfa7tc9v.fsf@gnu.org/t/). This commit makes
Spacemacs use/install org from ELPA.

Besides that, this commit removes some 'hack' that seemed to have no effect. As
org comes with Emacs `package-installed-p 'org` will always return t. Also
activating org via `configuration-layer//activate-package` seems to have no
effect.

Finally, the package is declared including a :min-version because appending only
`:location melpa` seems to have no effect (this can probably be considered a
bug).
I am almost certain that the information that was added when making org install
from Org ELPA is still relevant also for installing org from ELPA so I have just
adapted the version number from 0.104 to 0.300.

As the "org" archive has been removed, the `ert-deftest` for it can be removed
also.
2021-11-06 14:34:18 +01:00
SpacemacsBot
e6bd5cc4ac [bot] "documentation_updates" Tue Nov 2 22:01:23 UTC 2021 2021-11-02 23:04:42 +01:00
Daniel Nicolai
b1fe17d370 Open special-mode buffer in motion-state (not evilified)
Special mode and its derived mode(s) buffers were made evilified in PRs #14995
and #15050. However, special-mode is too aggressive (as 'warned' for already in
 #14995); it makes it hard to overwrite its keybindings (e.g. `evil-local-set-key`,
or using `evil-evilified-state-map` on a derived map have no effect).

Therefore it makes more sense to open the buffers in motion-state instead. This
state also does not hijack the `q` keybindings as defined by special-mode (see
https://www.gnu.org/software/emacs/manual/html_node/elisp/Basic-Major-Modes.html),
although it does still hijack its `g` keybinding, but evil navigation is
considered to have higher priority than revert-buffer anyway.
2021-11-02 22:15:13 +01:00
Trevor Buchanan
e715fffb3c [doc] fix incorrect key bindings for buffer functions 2021-11-02 21:34:35 +01:00
Daniel Nicolai
2de0a10ae0
Add documentation about evilifying 'special-mode buffers' (+fix eww) 2021-09-17 21:15:10 +02:00
JAremko
ac1087ea4e [ci] refactoring 2021-08-01 23:42:47 +03:00
Keith Pinson
b2a18301fa [defaults] Disable line numbers with SPC t n n
Toggles are great and all, but the trouble with the various toggles for line
numbers is that they force you to remember and think about the fact that there
are variant forms of line numbers. To beginners or forgetful people the various
combinations of behavior can be unintuitive here (e.g. toggling off relative
line numbers does nothing if you are actual in visual line numbers mode). Though
it doesn't fit exactly into the normal stuff we have for toggles, due to the
complexity of this situation I think it is good to just have a way to say "line
numbers be gone!"

Wasn't sure what keybinding to use, so used a double-tap mnemonic.

If this PR gets rejected, there are a couple minor fixes that should probably be
pulled out and submitted separately.
2021-07-30 16:57:27 +02:00
Eugene Yaremenko
d4b5074180
[docs] fix link issue 2021-07-22 07:50:52 -07:00
Eugene Yaremenko
d5dffa988d
[docs] cleanup 2021-07-22 07:46:11 -07:00
SpacemacsBot
47f3507260 [bot] "documentation_updates" Thu Jul 22 06:21:02 UTC 2021 2021-07-21 23:22:53 -07:00
Eugene Yaremenko
77f0124a45
[doc] Remove TODOs 2021-07-21 23:19:33 -07:00
Eugene Yaremenko
7d156b1002
[doc] finish documenting CI 2021-07-21 23:12:31 -07:00
SpacemacsBot
4bcd16d6a0 [bot] "documentation_updates" Mon Jul 19 10:05:03 UTC 2021 2021-07-19 13:38:46 -07:00
Eugene Yaremenko
b7e08eebcf
[docs] CI documentation. 2021-07-19 03:03:52 -07:00
Eugene Yaremenko
67bb23bc25
[docs] More on CI 2021-07-18 19:20:41 -07:00
SpacemacsBot
24b2ba86f5 [bot] "documentation_updates" Mon Jul 19 00:33:01 UTC 2021 2021-07-18 17:41:30 -07:00
Eugene Yaremenko
28a79cd960
Keep working on CI docs 2021-07-18 17:31:54 -07:00
SpacemacsBot
5b3786f520 [bot] "documentation_updates" Wed Jul 14 17:35:44 UTC 2021 2021-07-14 10:36:27 -07:00
Eugene Yaremenko
964faf49b1
[doc] Start documenting CI
Pretty much no one but me touches CI and that's pretty bad.
We need to reduce the bus factor.
2021-07-14 10:34:06 -07:00
JAremko
af345fd4c1 [doc] fix links 2021-07-12 07:32:24 -07:00
JAremko
c089959754 [doc] Flatten headlines that are too deep 2021-07-05 14:30:55 -07:00
casswedson
120ce6959d
Fix some typos (#14832) 2021-06-06 23:43:22 +00:00
Arif Er
51142a23ad
[doc] Fix broken link (#14828) 2021-06-05 16:28:48 +00:00
Markus Bertheau
b51c359d89
Group lisp state key bindings (#14790) 2021-05-27 06:01:26 +00:00
Maximilian Wolff
f213b8cf20 Revert "[spacemacs-defaults] Move new function to correct file"
This reverts commit 1169eb3709.
2021-05-07 05:29:03 +00:00
Maximilian Wolff
1169eb3709
[spacemacs-defaults] Move new function to correct file 2021-05-04 22:06:34 +02:00
Daniel Nicolai
4f8ac8fc39 Improve quick-start guide
The [quick-start](https://www.spacemacs.org/doc/QUICK_START.html) starts with
 explaining that users can build their own layers. Instead it should start by
 showing how easy and straightforward it is to use one of the existing layer,
 then continue about the possibility of creating personal layers (the
 quick-start guide is a logical place to visit first for a newcomer). It is only
 a small detail, but it can make a substantial difference for people who peek
 into the quick-start guide and decide if it is worth the trouble to switch to
 Spacemacs (Many newcomers think that even only trying another editor, is
 probably not worth it because they are already using vim).

A guide that starts explaininging that you can build your own layers in
Spacemacs that exists of a directory containing at a packages.el file, is not a
quick-start guide.
2021-05-03 21:30:54 +02:00
Thanh Vuong
b4cf004319
[visual][popwin] add keybiding to resume last popwin buffer
bind it to `spc r w`
2021-04-19 22:15:41 +02:00
Thanh Vuong
056eb6b91b
[defaults] add qickrun
bind it to `SPC x x`, not sure it's the right place but it's easy to invoke
2021-04-19 22:08:47 +02:00
emacspace
9257aab154 documentation formatting: Sat Apr 17 07:08:57 UTC 2021 2021-04-17 11:32:54 +03:00
Daniel Nicolai
b3c78297fb Add describe evil ex-command functionality
For introspection purposes it can be nice to have this functionality. Also this
function can be used to discover which ex-commands are available.
2021-04-15 22:03:59 +02:00
duianto
4262e01f11 [doc] Fix links 2021-04-13 11:38:33 +02:00
Maximilian Wolff
910f68b59e [defaults] Document new keybindings 2021-04-08 20:15:17 +00:00
Lucius Hu
7740fea4e1 dumb-jump: Replace obsolete interface with xref-backend
- Add `dumb-jump-xref-activate` hook to `xref-backend-functions`, which
  add a fallback option, i.e. `dumb-jump`, when no better alternatives
  is availabe
- Removed the obsolte interface `dumb-jump-go` from the following layers:
  - clojure
  - latex
  - vue
- The global binding `SPC j q` requires the obsolte function
  `dumb-jump-quick-look` and is therfore removed
2021-03-31 18:50:44 +02:00
emacspace
bfb3cdad8a documentation formatting: Sat Mar 20 21:07:12 UTC 2021 2021-03-21 00:46:47 +02:00
Daniel Nicolai
e702cbac4e Add to docs, replacing a layer package with a local version
When contributing to packages it is often handy to replace a package, already
installed and configured by some layer with a local version of the package (i.e.
a git repo). This commit adds instructions for how to achieve that.
2021-03-19 13:12:45 +01:00
emacspace
13791616c7
[bot] Auto-update (#14398)
* documentation formatting: Sat Mar 13 23:53:10 UTC 2021

* Built-in files auto-update: Sat Mar 13 23:51:34 UTC 2021
2021-03-14 00:57:56 +01:00
duianto
94585331ce Replace move-text with drag-stuff
Just like: https://github.com/emacsfodder/move-text

https://github.com/rejeep/drag-stuff.el
also drags one or more (region) lines up or down.

But it also allows for dragging left and right (across end of lines):
- a word: changing place with the next or previous word.
- a region: moving it one character at a time to the left or right.

Added a new key binding: `SPC x .`
that opens the:
```
Drag Stuff Transient State
[k/K] up    [h/H] left   [q] quit
[j/J] down  [l/L] right
```

The `move-text` package isn't removed, even though it isn't used anymore in
Spacemacs.

Because the `evil-unimpaired` elpa directory is generated from the local
Spacemacs `evil-unimpaired.el` file.
https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bspacemacs/spacemacs-evil/local/evil-unimpaired/evil-unimpaired.el

Therefore the `evil-unimpaired` key bindings `[e` and `]e` still call the
`move-text` commands.

Until the `evil-unimpaired` elpa directory has been removed and regenerated by
restarting Spacemacs.

Then they will call the new `drag-stuff` commands.

I don't know if/when the `move-text` package can be removed in the future.
2021-03-14 00:29:46 +01:00
Ilya Grigoriev
b5e32b42c0 FAQ on including _ in words for * searches
This expands the entry on including underscores and dashes in word motions to discuss `*` and `#` searches. There is a new solution for them is different, and simpler, than the solution for the other motions (but it is difficult to find).

For me, personally, this obviates the necessity of messing with the syntax definitions.

Some related issues: https://github.com/syl20bnr/spacemacs/issues/9740, 
https://github.com/syl20bnr/spacemacs/pull/1248, 
https://github.com/syl20bnr/spacemacs/issues/1261.

Many thanks to lyro@ for fixing https://github.com/emacs-evil/evil/issues/360.
2021-03-14 00:15:24 +01:00
Maximilian Wolff
c3b40ce13b
[editing] Add missing documentation and make string-edit lazy load 2021-02-28 21:54:52 +01:00
Daniel Nicolai
dc7b04dc66 Implement C(-S)-tab buffer switch in Helm layer
Equivalent to PR #14287 for ivy-layer
2021-02-03 22:36:50 +01:00
emacspace
a29babe830 documentation formatting: Sun Jan 10 20:15:44 UTC 2021 2021-01-11 11:11:03 +02:00
Daniel Nicolai
c23a190a72 Add toggles for specific persistent which-key keymaps
Sometimes it is handy to show keymaps persistently with which-key. For example,
to show navigation commands in Info-mode, gnus, eww etc. This PR implements
handy toggles and documentation for that.
2021-01-10 20:32:04 +01:00
Maximilian Wolff
563b6d7188
[doc] Fix some trivial typos in latest additions 2020-12-30 21:04:47 +01:00
Benjamin Hipple
ce0674bf56
[docs] Elaborate on fetchers to include git
Although the docs show an example, but the paragraph below seems to imply that a
package can't be fetched directly off git. Update to make it more clear that it can.
2020-12-30 20:57:12 +01:00
Maximilian Wolff
0333173f18
Restore old ace bindings and revise documentation changes 2020-12-29 21:29:50 +01:00
Daniel Nicolai
db819a6bbd
Add link-hint-open-link to woman-mode keybinding to navigation layer 2020-12-29 21:05:39 +01:00