Commit graph

494 commits

Author SHA1 Message Date
Fabien Dubosson b1fc99bdee Improve keybindings for text-region counting.
Emacs provides a `count-words-region' which is badly named as it counts
not only words, but also characters and lines. The current keybinding
for this function `SPC x w c' implies it's referring to words only. The
new mapping `SPC x c` is more coherent since it means counting text,
whether it is characters, words or lines. An alias `count-region` is
created to be less confusing in which-key description.

`SPC x w c` being free, `spacemacs/count-words-analysis` is remapped to
it instead of `SPC x w C` to save one keystroke.
2015-10-07 15:51:39 -04:00
person808 c1b6293268 Replace eval-after-load with with-eval-after-load.
We now backport the macro for 24.3 so we can use it everywhere.
2015-10-07 15:51:39 -04:00
Fabien Dubosson 6a18cad5c0 Add avy-open-url and its keybinding to open urls
The function `spacemacs/avy-open-url` allows to easily select an URL on
the screen with `avy` and open it. The function is bind to `SPC x o`,
`x` as it is text-related and `o` for open.
2015-10-07 15:51:39 -04:00
nashamri 668d20700c New screenshot without rainbow-identifiers 2015-10-07 15:51:39 -04:00
Fabien Dubosson 5e3dbd9234 Add FAQ as a source in helm-spacemacs
Add the `FAQ.org` file as a source in helm-spacemacs (`SPC f e h`).
Define a new keybinding for looking directly inside the FAQ with helm:
`SPC f e f`.

With help from TheBB, thanks!
2015-10-07 15:51:38 -04:00
Bar f59298b4c4 Doc typo: "search for files" -> "search in files"
"Search for files" means that the command looks for files, while actually `SPC s f` searches in some files for lines that match the given search pattern. Changed it to "search in files" to better reflect what the command does.
2015-10-07 15:51:38 -04:00
Martina Kollarova 1ea9812376 Update key binding for flycheck toggle in docs 2015-10-07 15:51:38 -04:00
Eivind Fonn 91947406f8 Clarify evilified rules 2015-10-05 22:07:38 +02:00
Robert O'Connor 3aa8c44660 Fix link to layers directory. 2015-10-05 12:13:26 +02:00
Eivind Fonn 23efb683e8 Document GnuTLS for Windows
Fix #2371

[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn 4fb764cf0b Document helm focus trick
Fix #2851

[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn 48d660fd98 Document evilified modes
[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn ec4b74102c Document dotspacemacs/test-dotfile
Fix #3181

[ci-skip]
2015-10-05 12:07:45 +02:00
Robert O'Connor 8da367d529 Add an FAQ about the new distributions.
Fixes #3180
2015-09-29 21:47:16 -04:00
syl20bnr ab6ebd0348 conventions: better evilified buffers section 2015-09-29 21:35:21 -04:00
Tommi Komulainen 910417d143 doc: fix typo in before listing "SPC m x" keybindings 2015-09-28 23:21:50 -04:00
syl20bnr afa537d341 Update automatic highlight of symbol toggle 2015-09-28 22:12:08 -04:00
syl20bnr 383b1bec20 Update dotspacemacs/config and dotspacemacs/init occurrences 2015-09-28 02:05:18 -04:00
syl20bnr bac79f03b7 readme: add drop-shadow to screenshot 2015-09-28 01:48:53 -04:00
syl20bnr e6aab8703d readme: update screenshot 2015-09-28 01:42:55 -04:00
syl20bnr 63428d8bed Doc: replace all occurences of =Spacemacs= by Spacemacs 2015-09-27 10:20:54 -04:00
syl20bnr b256475325 helm-find-files: use C-h and C-l to go up down a directory
Import TheBB configuration into Spacemacs and add `C-S-h` to replace
redefined `C-h` binidng.

Also remove the go up a directory behavior on backspace, now backspace
is a regular backspace.
2015-09-27 10:20:14 -04:00
syl20bnr ae475c06c4 base: move toggles for editing styles
SPC t E e -> emacs
SPC t E h -> hybrid
2015-09-26 11:06:45 -04:00
syl20bnr 7e8c275bc5 Rework editing style toggles
Put the toggles on SPC t E with
SPC t E h -> holy-mode
SPC t E y -> hybrid-mode

Make the mode-line diminished lighter consistent with the key bindings,
so holy is Ⓔh and hybrid is Ⓔy

Add seamless switch between holy and hybrid.
2015-09-23 23:27:51 -04:00
syl20bnr 98e43b17ad doc: update doc on editing styles 2015-09-23 23:08:01 -04:00
justbur 9874e0c12c Update docs for new hybrid state
The docs don't reflect the new design of hybrid mode
2015-09-23 22:54:19 -04:00
syl20bnr 2ab7a2a60f Rewrite README.md to make it lighter
And move some parts to QUICK_START.org and FAQ.org
2015-09-22 23:26:12 -04:00
Eivind Fonn 40ee152865 doc: M-SPC doesn't exit helm micro-state
Move `q` binding further up to make it visible
2015-09-14 10:57:55 +02:00
Martin Račák 5b1ef55b96 Fix documentation for emacsclient
Verbatim text with equal sign was't displaying correctly. Another
solution would be to escape `=` with Org mode entity, but GitHub won't
display it correctly.
2015-09-13 22:21:05 -04:00
justbur 6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
syl20bnr b53b5db967 spacemacs-core: remove SPC f e s and SPC f e c
Now the user should use `SPC f e h` helm-spacemacs.
This is due to the fact that spacemacs layer is now a regular layer
stored in the "layers" directory.
2015-09-08 01:01:46 -04:00
person808 f53620a1c8 Update hybrid mode documentation. 2015-09-08 00:36:31 -04:00
person808 9fe0d8f10f Update VIMUSERS.org for new layer changes. 2015-09-07 01:06:31 -04:00
Endre Bakken Stovner 18b8e3ff76 Enabled comment inversion without toggling switch
Previously, you had to set the evilnc-invert-comment-line-by-line
to be enable inverted comments. Since whether you want to invert
comments or not varies on a case to case basis, depending on the region
you wish to comment, this is bad UI.

Made two functions per original commenting function, one for inverse
the other for regular.

Added keybindings for the new inverted operations on capital letter,
so that comment lines is SPC c l and invert comment lines is SPC c L.

I removed the comment invert toggle as it is no longer needed.

(Also removed old docs which said that SPC c r is comment region;
it is actually recompile)
2015-09-07 01:06:31 -04:00
syl20bnr 281cddd12a Add documentation for SPC f C u and SPC f C d 2015-09-07 01:06:30 -04:00
person808 12bc72123a Make Y equivalent to y$.
This is much more consistent with C and D and is even recommended by vim
itself.
2015-09-07 01:06:30 -04:00
syl20bnr 2692332b64 Add doc for neotree VCS integration and evil text objects 2015-09-07 01:06:29 -04:00
person808 a50ae0c7f4 Format paragraphs/code/tables in DOCUMENTATION.org. 2015-09-07 01:06:28 -04:00
person808 b0b9f0066c Document hybrid mode and update holy mode documentation. 2015-09-07 01:06:28 -04:00
person808 63b5fb07ae Consitently format Note: lines in DOCUMENTATION.org.
Format is:
*Note*: note here
2015-09-07 01:06:28 -04:00
person808 4a23e3bea6 Update .spacemacs function names in DOCUMENTATION.org.
dotspacemacs/init -> dotspacemacs/user-init
dotspacemacs/config -> dotspacemacs/user-config
2015-09-07 01:06:28 -04:00
person808 e9ebd7e343 Update documentation for installing .spacemacs. 2015-09-07 01:06:28 -04:00
person808 4b2430d922 Update documentation for updating.
Add screenshot of update arrow.
Also add a little for "who is this for" section.
2015-09-07 01:06:28 -04:00
person808 3dd0a8d4b4 Update layer information in DOCUMENTATION.org. 2015-09-07 01:06:28 -04:00
justbur 292659d0c6 Add key binding tips to documentation.org 2015-09-07 01:06:27 -04:00
syl20bnr 6c71e6b2eb Update doc for evil-escape 2015-09-02 00:02:26 -04:00
Eivind Fonn 1231a05cec Add doc on how to write layers
[ci skip]
2015-08-31 22:18:03 -04:00
Eivind Fonn c6ba7d9300 Refactor test system
Should allow easier testing of layers, not just core
2015-08-31 21:16:34 -04:00
Xue Fuqiao 17a652f05e Minor doc fixes 2015-08-31 16:23:26 +02:00
syl20bnr 3c1387f5ea move helm-locate on SPC f L 2015-08-30 23:51:16 -04:00
Andrew Oppenlander 7274d9d5c2 Added text line sort and uniquify commands 2015-08-30 23:34:49 -04:00
syl20bnr c8a2d2d4f3 Move SPC e ? to SPC e h 2015-08-30 23:20:47 -04:00
Xue Fuqiao 8c4264d9b3 Minor doc fixes. 2015-08-26 23:08:43 -04:00
Eivind Fonn e7edf8cef4 Update modeline documentation
[ci skip]
2015-08-26 23:02:48 -04:00
justbur 8bf4f60e5a Mention .spacemacs.d in documentation 2015-08-26 23:00:05 -04:00
justbur d1bb779340 Update docs for which-key 2015-08-26 22:58:24 -04:00
Devagamster 93d227b73f Update docs for H and L
H and L no longer move the cursor 10 lines up or down. Not sure how or when they did before, but they don't anymore, so the docs should reflect that.
2015-08-26 22:52:55 -04:00
Eivind Fonn d17c229c2a Make SPC m o reserved for user 2015-08-26 21:37:01 -04:00
syl20bnr a6cd304d62 conventions: add SPC m g b to jump back 2015-08-24 21:24:54 -04:00
syl20bnr f80cc05d44 conventions: add toggles conventions 2015-08-24 21:23:28 -04:00
syl20bnr 612a77ba10 conventions: modify test in debug conventions
Noew they are under `SPC m t X` instead of `SPC m T x`
2015-08-24 21:22:45 -04:00
syl20bnr a3aaf8a8f9 Add documentation for SPC h L 2015-08-15 22:27:06 -04:00
syl20bnr 711c37e9bc Add achievements
3000th star to TheBB
The Master of the Keys to justbur
The PR Patrol Officer to robbyoconnor
2015-08-11 01:48:40 -04:00
Stephen Caudill b03897a547 Add binding for projectile-toggle-between-implementation-and-test
The logic for binding this to `SPC p a` is that it's analogous with
vim-projectionist's notion of "alternate" files (where alternates could
be tests, headers or what-have-you). It would be more in keeping with
Spacemacs to have it on `SPC p t`, however this is already taken by
projectile neotree. If that were to be moved to `SPC p n`, then there
would be space for it, but I have no idea whether there is stomach to
make a potentially significant change such as that.
2015-08-11 00:01:33 -04:00
Eivind Fonn d3cf6e42c3 Update documentation for toggles in dotfile
[ci skip]
2015-08-10 21:32:19 -04:00
Eivind Fonn d9ebee793e Make SPC TAB window-aware
See #2548
2015-08-10 21:27:55 -04:00
syl20bnr f9b8bf02fc spacemacs layer: chocolate-coated cursor in replace state 2015-08-09 15:17:56 -04:00
Syohei YOSHIDA a793512931 Correct misspellings 2015-08-05 00:28:48 -04:00
Robert O'Connor 787b1dff60 fix the docs to reflect submodules are no longer used 2015-08-05 00:28:10 -04:00
syl20bnr 6c171fdc48 spacemacs layer: fix hl-anything
- remove lazy-loading
- move hgh and hgc to hH and hC
- remove hl-paren-mode
2015-08-03 13:23:36 -04:00
syl20bnr a3d0eda6a3 helm-unicode: Minor refactoring on documentation and init function 2015-08-02 22:15:24 -04:00
Robert O'Connor 735384f970 Add unicode to core spacemacs layer with SPC i u which stands for 'insert unicode' and document it 2015-08-02 22:08:59 -04:00
syl20bnr e0af9c100b spacemacs layer: tweak lighters for indentation highlighting
Use ⓗi and ⓗc when unicode symbols are enabled
2015-08-02 21:55:25 -04:00
Robert O'Connor b5cc529227 Add diminish for highlight-indentation-mode
align the table better.
2015-08-02 21:43:41 -04:00
Swaroop C H 0789b68321 Update docs on describe-system-info 2015-08-02 17:42:59 -04:00
syl20bnr e97c85e430 Rename system-info to describe-system-info and add it to SPC h d s 2015-08-01 00:58:42 -04:00
Rob Merrell 7564d33e0a Link to the theme gallery in the docs 2015-07-30 22:21:54 -04:00
Gleb Peregud 8f8738e2a8 Update DOCUMENTATION.org
Fix fill column indicator key bindings in documentation
2015-07-29 22:12:00 -04:00
person808 640366e9ae Add spacing conventions for writing documentation.
These were briefly discussed in #2124.
2015-07-27 12:11:52 -04:00
syl20bnr 5f0c70636a powerline: modify some segment toggle key bindings
tmj -> tmM for major mode
tmg -> tmv for version control
tmv -> tmV for new version
2015-07-26 23:04:06 -04:00
Eivind Fonn c52535fe99 Implement modeline DSL 2015-07-26 22:35:15 -04:00
Markus Bertheau 2a56738598 Use monospaced font for NeoTree key binding table 2015-07-26 01:00:50 -04:00
syl20bnr 84640910b3 Replace guide-key by which-key 2015-07-24 00:08:43 -04:00
syl20bnr b2a41ca642 Add doc for find-file-literally 2015-07-23 23:18:16 -04:00
person808 9e03747e55 [Fix #1514] Add transparency micro-state. 2015-07-23 22:43:40 -04:00
Swaroop 1e32324f81 Add define-word package
Introduction: http://oremacs.com/2015/05/22/define-word/
2015-07-23 19:28:38 -04:00
syl20bnr fae210e253 documentation: fix a table border 2015-07-05 00:13:45 -04:00
Christoph Paulik d09925d1af add keybinding for write-file
- allows for saving a file under a different name
2015-07-05 00:09:36 -04:00
syl20bnr 655b0102a5 Minor indentation fix of some tables in DOCUMENTATION.org 2015-07-05 00:02:50 -04:00
syl20bnr 34e7454d11 Add documentation for spacemacs-theme 2015-07-05 00:02:37 -04:00
person808 9d44000623 Fix issues in VIMUSERS.org.
1. Fix broken links.
2. Make spacing consistent with other documentation.
3. Use a better function example. The previous one did not work for some
common use cases.
4. Update and add some screenshots for use in the file.
2015-07-04 19:32:39 -04:00
Xue Fuqiao 056cdeedad Typo fixes 2015-07-04 18:47:29 -04:00
Daniel Santa Cruz ac7bb6ac7a Fixing typo in git command to update spacemacs 2015-07-04 18:46:40 -04:00
Christopher Corley 68e3d42f9d Fixes links to other documents (.md => .org) 2015-07-04 18:43:31 -04:00
Profpatsch 4830d27b62 Link git folder to the correct location. 2015-07-04 18:41:18 -04:00
syl20bnr 42cbc79dd1 Add achievements
1000th PR to justbur
2000th star to stshine
1000th joiner on the chat to gabrielpoca
1st joiner on the chat to trishume
2015-07-02 00:37:04 -04:00
MadAnd c078c69aee SPC z z -> SPC t - in DOCUMENTATION.org 2015-07-01 01:24:57 -04:00
person808 59642a6b4f [Fix #1953] Correct link to text micro-state documentation. 2015-07-01 00:43:59 -04:00
Xue Fuqiao 8ad4c25c3c Typo fixes. 2015-06-30 23:01:16 -04:00
syl20bnr 5baa70057b Move projectile recent file and regenerate tags bindings
`SPC p e` is now `SPC p r` (recent files)
`SPC p R` is now `SPC p G` (regenerate tags)
`SPC p r` is now `SPC p R` (replace)
2015-06-22 10:54:27 -04:00
syl20bnr 8a925e9178 Revert back helm-descbinds on SPC ?
SPC / is now search in project with default input
2015-06-19 22:31:29 -04:00
syl20bnr d5bb7725d8 Minor modification in documentation 2015-06-19 00:08:59 -04:00
syl20bnr cd70f04827 Refactor auto-save of files
See committed documentation.
2015-06-18 23:54:07 -04:00
syl20bnr 0c1c3c25e5 Move SPC s b from ahs to SPC s H
Fix conflict with search in opened buffers
2015-06-15 23:27:29 -04:00
syl20bnr 7eeccc222d Revert back file save on SPC f s 2015-06-15 22:56:55 -04:00
syl20bnr 90008bb900 New key bindings scheme for searching
See commit content for documentation
2015-06-15 22:53:59 -04:00
Xue Fuqiao 7fc13a9146 SPC b s -> SPC b b in DOCUMENTATION.md. 2015-06-15 21:48:55 -04:00
Xue Fuqiao 8506fed0d8 Typo fix. 2015-06-15 21:46:41 -04:00
justbur 5822998813 Update search docs for new scope-based search commands 2015-06-15 21:42:34 -04:00
Roy Seto 61062f5b14 Doc Powerline font install for terminal-mode users 2015-06-15 00:01:51 -04:00
syl20bnr 920f01a776 Minor reformating of documentation files 2015-06-14 22:10:38 -04:00
person808 3ed0087cce Convert DOCUMENTATION.md to org. 2015-06-14 22:10:34 -04:00
person808 48ff6550db Convert CONVENTIONS.md to org. 2015-06-14 21:47:07 -04:00
person808 e67924696c Convert HOWTOs.md to org. 2015-06-14 21:47:04 -04:00
person808 293b98a8d0 Update layer-README.template to org. 2015-06-14 21:47:02 -04:00
person808 29458e3e00 Convert CONTRIBUTE.md to org. 2015-06-14 21:46:58 -04:00
justbur c92c1f0131 Add grep function that defaults to symbol at point 2015-06-12 23:16:14 -04:00
justbur b70b6c0fc0 Add search for symbol to projectile bindings
Also "psp" binding which should point to `spacemacs/helm-projectile-pt`

Switch from using `helm-projectile-ack` to
`spacemacs/helm-projectile-ack` to take advantage of `helm-ag`.
2015-06-12 23:15:18 -04:00
Török Edwin f0e98c2113 VIMUSERS.org: remove space before closing ~, otherwise it is not highlighted 2015-06-11 21:31:42 -04:00
Diego Berrocal be73bb4edf Change VIMUSERS first headline to use toc-org package
As this includes 4 levels of headings, the tag that needs to be used is
:TOC@4:. Now every time one saves this file, the TOC is automatically
generated. There is an interesting feature from toc-org that enables
users to use org links or GitHub enabled
[links](https://github.com/snosov1/toc-org#use)
 we should discuss how to use it because on one hand, having org links
 makes it easier to read in emacs, while having GitHub links makes it
 easier to read online.
2015-06-11 21:31:41 -04:00
syl20bnr b3fa604237 Split git layer into git and github layers 2015-06-09 22:42:11 -04:00
Tu Do cfaa6edc19 Enhance viewing Spacemacs documents in Org
- Use `~` marker to represent key bindings. The `~` and `=` markers are
equivalent in Emacs: `=` uses `org-verbatim verbatim` faces, while `~`
uses `org-code verbatim)`, but both `org-verbatim` and `org-code` is
inherited from `shadow` face. So we can use `~` marker for this purpose.
`~` marker is also displayed properly on Github, since it's part of
standard Emacs, so no web functionality is broken.

- Add org-kbd face for displaying key bindings.

- Update CHANGELOG.org: use the proper `~` marker for key bindings.

- Update VIMUSERS.org: use the proper `~` marker for key bindings.
2015-06-09 20:36:19 -04:00
Christoph Paulik 42ac365b54 evilify helm-ag and helm-grep buffers 2015-06-09 19:53:29 -04:00
Daan van Berkel b856ccd87c correct helm link
The link to helm was defunct, i.e. `[helm][]` with a missing `[helm]` reference. There was a `[helm-link]` instead so I referenced that.
2015-06-08 00:23:31 -04:00
justbur e6e9ec2d10 Add text alignment keybindings. Includes changes by @TheBB 2015-06-08 00:07:00 -04:00
syl20bnr 9e098ec3db Edit holy-mode doc and add it to TOC 2015-06-07 23:45:18 -04:00
fotoetienne 4a0f989b66 Document holy mode
Specifically, `SPC P tab` was previously undocumented.
2015-06-07 23:44:23 -04:00
dann toliver 0f066617be untransposed quit and write in tip 2015-06-07 23:39:52 -04:00
Emmanuel Mwangi 326a70c17f Fixing Links in README 2015-06-07 23:38:57 -04:00
person808 a34196506d Link vim migration guide in documentation. 2015-06-07 23:04:21 -04:00
Emmanuel Mwangi 3c41cd6507 Fixing link to Git Layers 2015-06-07 23:00:32 -04:00
person808 8f3d65e59b Vim migration guide: Initial version. 2015-06-06 01:01:09 -04:00
syl20bnr 549b18a97e New dotfile variable dotspacemacs-use-ido 2015-05-31 21:48:16 -04:00
syl20bnr 4b0c84ebb9 Move SPC p $ t to shell layer 2015-05-31 18:06:35 -04:00
syl20bnr 4884794642 Add quick how to to enable navigation by visual lines 2015-05-31 17:58:15 -04:00
syl20bnr d26b7f2c52 Disable paste micro-state by default 2015-05-31 17:52:55 -04:00
Tristan Hume 1ac8c2689a Update docs for renaming. 2015-05-25 00:50:43 -04:00
syl20bnr 2319c9f57c Add SPC / to managing projects section of DOCUMENTATION.md 2015-05-25 00:48:50 -04:00
Swaroop 65aab670c5 Docs - update projectile key bindings 2015-05-25 00:47:41 -04:00
syl20bnr e3f2bfd639 Add convention for SPC m g G 2015-05-20 23:19:22 -04:00
syl20bnr c75a09c981 shell layer: move some doc in DOCUMENTATION to shell layer README 2015-05-20 22:48:03 -04:00
jupl 7f7b67592d Add toggle to hide/show the mode line 2015-05-16 22:10:10 -04:00
syl20bnr 561676d675 Move flyspell and helm-flyspell to syntax-checking layer 2015-05-13 23:11:34 -04:00
syl20bnr 802c573661 Move around toggle bindings
ts for syntax checking
tS for spelling checking
tf for fill column
tF for auto-fill
tc for camelcase
2015-05-13 22:57:30 -04:00
syl20bnr d587dd9db9 Use universal argument for auto-indent pasted text and add doc
Using the prefix argument does not work nicely with evil since it is
already used to paste several times. Instead we use the universal
argument. To make it work with the evil functions we have to do some
trick to hide the universal argument temporarily (see around advice).
2015-05-10 22:49:07 -04:00
syl20bnr 7a3f32be72 Move SPC p $ to SPC p $ t 2015-05-10 21:48:08 -04:00
Török Edwin e1d3f5adb2 remind to use fd when keybindings don't work
I found myself in <kbd>SPC : customize</kbd> without knowing how to switch out of it again when I was done, there was no menubar, and I couldn't turn it on either because the <kbd>SPC</kbd> keybindings or the Vim ones just didn't work at all.
Reading the documentation again I gave <kbd>fd</kbd> a try, and it brought the keybindings back, so I think it'd be helpful to mention that <kbd>fd</kbd> is also useful as an escape when the usual keybindings don't work.

Also wouldn't hurt if a message was displayed to use <kbd>fd</kbd> when trying to use <kbd>SPC</kbd> and it doesn't work.
2015-05-10 00:57:27 -04:00
syl20bnr b10e3c8b97 Move SPC b r to SPC f R (rename file)
fixes #707
2015-05-10 00:18:00 -04:00
syl20bnr 4e8b37fac8 Add move-text micro-state
resolves #1282
2015-05-09 22:38:10 -04:00
syl20bnr 68e8b3e524 Tweak conventions for markup languages
- Replace `SPC h h` and `SPC h H` for `SPC h i` and `SPC h I`
- Replace `SPC r` prefix for `SPC x`
- Replace `SPC x SPC` for `SPC x r`
- Sort key bindings alphabetically
2015-05-07 23:08:52 -04:00