Commit Graph

453 Commits

Author SHA1 Message Date
bmag a1c02ba323 dsm-line-numbers: support parent modes, fix mode restriction
Specifying parent modes (e.g. prog-mode) in :enabled-for-modes and
:disabled-for-modes keys in dotspacemacs-line-numbers catches derived
modes (e.g. c-mode) as well.

Fix bug where an empty :disabled-for-modes and a non-empty :enabled-for-modes
enabled line numbers everywhere, instead of only in modes specified in
:enabled-for-modes. (see https://github.com/syl20bnr/spacemacs/issues/8482)

Add auxiliary function spacemacs/derived-mode-p, similar to derived-mode-p but
takes a major-mode as an argument instead of using the current major-mode.
2017-03-13 21:04:00 +02:00
syl20bnr 6212795523 core: allow users to set custom-file variable
In this case Spacemacs won't write custom variables to the
dotspacemacs/emacs-custom-settings variable.

Move setq and add-advice to spacemacs/initialize-custom-file which is now
called in spacemacs/init function just after dotspacemacs/user-init function.
2017-03-12 12:10:21 -04:00
antonshwab 5cddd56395 Fix typo
Fix typo
2017-02-19 19:37:16 +02:00
syl20bnr 252547aa81 core: add support for :location keyword in dotspacemacs-themes
New functions:
- configuration-layer/get-location-directory which return the location on disk
given a location
- spacemacs//get-theme-directory which returns the location on disk of the
theme

Add note in documentation to warn about the directory name when :location local
is used, the directory name is the package name not the theme name.
2017-02-05 23:47:17 -05:00
deb0ch a28e17c4d3 line numbers: finer configuration of line numbers activation 2017-02-05 12:47:19 -05:00
syl20bnr c7e47de938 evil: enable evil-search search module in evil state.
Add new hybrid variable hybrid-mode-use-evil-search-module to switch evil
search module to its own which is closer to Vim. Default is nil.

Fixes #5101
2017-02-03 19:36:19 -05:00
syl20bnr 415b29b140 core: dotspacemacs-themes entries now accept package properties
It is now possible to use package properties like :location in
dotspacemacs-themes.

Added hooks ran at the beginning and end of configuration-layer/sync:
- configuration-layer-pre-sync-hook
- configuration-layer-post-sync-hook

configuration-layer-pre-sync-hook is used to hook the new function
spacemacs//add-theme-packages-to-additional-packages. This new function updates
dotspacemacs--additional-theme-packages variables.

Update documentation to mention the new feature.
2017-02-01 22:59:03 -05:00
duianto bb8537c3fc
Update layout and workspace key binding documentation
Changed the `[1..9, 0]` and `[C-1..C-9, C-0]` entries to
`[0..9]` and `[C-0..C-9]`, in both the layout and workspace
key bindings sections.
2017-02-01 16:28:00 +02:00
syl20bnr 3a96adf75d Add achievement for 10000th star
Goes to colt365
2017-01-12 23:44:51 -05:00
nikolaiam 76213f982c Fix export-breaking org links in documentation
As discussed in #8054 and #8136, org doesn't always export links correctly if
the syntax deviates from the one given on the org mode website. This results
in broken links on github and/or spacemacs.org as in #6722, #8036, #8054, #7956
and possibly others.

This modifies all links not already fixed in #8136. Internal links are
handled with Custom IDs. External file links are formatted according to org
guidelines as well (see bottom), and if they point to a specific headline in an
external file, a custom ID is created as well.

Fixes #6722, #8036, #7956, #7916 as well as other unreported broken
links.

http://orgmode.org/manual/External-links.html#External-links
http://orgmode.org/manual/Internal-links.html#Internal-links

TODO: make Custom IDs invisble in space-org-mode
2017-01-12 22:49:07 -05:00
Adel Qalieh 8e7fe6e1f2
Add keybinding for spacemacs/alternate-window
spacemacs/alternate-window was suggested to switch between the last selected
window, or the window-analog of SPC TAB (spacemacs/alternate-buffer). This is
part of a larger family of functions, such as spacemacs/jump-to-last-layout on
SPC l TAB and eyebrowse-last-window-config on SPC l w TAB.

Resolves #7845
2016-12-27 09:50:10 +02:00
Joe Lane 43e199b6a5 add copy key to neotree
CHANGES
-------
Add new keybinding to neotree to allow the copying of nodes from the neotree
buffer. Update documentation as well.

WHY
-------
There appear to be all other common file operations bound to the neotree buffer,
however copying of a node is not.
2016-12-09 18:19:52 +02:00
d12frosted 96e6de20f6 add some notes on ivy usage 2016-11-22 20:41:45 -05:00
Rob Donnelly 779072a651 Documentation has outdated shortcut
The suggestions to use SPC ; SPC y is from the previous versions where SPC y was bound to avy-goto-line.
Now that command is bound to SPC j l
2016-11-20 18:59:22 -05:00
syl20bnr 237b2a7373 Move `SPC b m` to kill other buffers to `SPC b C-d`
Also move `SPC b C-d` to kill other buffer with regexp to `SPC b C-D`
Update Documentation accordingly.
2016-11-20 13:27:16 -05:00
Aron Griffis 385c12743a Add ripgrep support
* Add rg to helm completion layer
* Add rg to ivy layer
* Prepend rg to dotspacemacs-search-tools
* Add rg to documentation
2016-11-11 15:22:03 +02:00
deb0ch 855d786100
Add duplicate-line-or-region to layer better-defaults
from https://www.emacswiki.org/emacs/CopyingWholeLines

Duplicate current line, or region if active.
With argument N, make N copies.
With negative N, comment out original line and use the absolute value.

keybinding: `SPC x l d` (text - line - duplicate)
2016-11-02 21:07:15 +02:00
Stratos Gerakakis 4f46efcf07 Simple misspelling typos... 2016-10-31 08:35:23 +02:00
Michael Weiss 4a02c8a90a Fix some minor mistakes and typos in the documentation 2016-10-30 08:12:00 +02:00
Eivind Fonn 4bf8e529b8 Move SPC p C-g to SPC p G 2016-10-28 13:44:29 +02:00
Willian van der Velde 187290b6e0 Updates links to layers 2016-10-23 19:44:35 +02:00
syl20bnr 2c5b628570 Move SPC t H to SPC t h s
SPC t h is the prefix for toggling highlighting stuff.
2016-10-23 19:44:35 +02:00
jupl 253276e0d1 Add toggle for syntax highlighting (via font-lock) 2016-10-23 19:44:35 +02:00
syl20bnr 7cdd998e78 Inverse SPC t m t and SPC t m T
Toggling the time is a segment so it is more consistent with the rest
of the lowercase keys.
Toggling the whole mode-line feels better on a capital letter.
2016-10-23 19:44:35 +02:00
jupl e384b2124b Add toggle to display time in modeline 2016-10-23 19:44:35 +02:00
syl20bnr d04ab325db Add achievements
9000th star to deb0ch
2016-10-18 22:40:38 -04:00
syl20bnr 66d9f38a45 Add hide/show comments on SPC c h 2016-10-17 15:32:43 -04:00
bmag c337eb083e Paste TS: fix doc 2016-10-08 19:36:11 +02:00
syl20bnr bcf2ce6ca4 Move SPC b k to SPC b C-d 2016-10-03 00:23:15 -04:00
bmag 753b81275c dumb-jump: bind key instead of enable mode 2016-09-16 15:07:05 +02:00
syl20bnr 80694ea676 Add some achievements
justbur
 d12frosted
 deb0ch
 shsteven
 JAremko
 TheBB
 travisbhartwell
2016-09-05 21:47:00 -04:00
syl20bnr 4c72b369c3 Typo in DOCUMENTATION.org 2016-08-31 22:34:57 -04:00
syl20bnr d998c7edf5 Move SPC p G to SPC p C-g to regenerate tags
I have the impression that SPC p G can be used for something more
useful regarding tags.
Tags regeneration triggers a process that can take a while to make
more sense to make it less accessible.

If there is nothing useful to be added to SPC p G we can consider
reverting this commit.
2016-08-31 22:32:27 -04:00
syl20bnr 1b4efdddc3 Move projectile-find-tag from SPC p y to SPC p g
SPC p g was free so why not using it.
2016-08-31 22:32:22 -04:00
Eivind Fonn 3a28393a23 Implement :enabled-for layer keyword 2016-08-31 22:15:13 -04:00
bmag 64a1b85523 NeoTree: clarify docs 2016-08-30 15:55:48 +02:00
Eivind Fonn 0b92e47189 Add note about ivy/helm choice 2016-08-30 15:51:26 +02:00
syl20bnr c1c2d06f36 Remove SPC j F and SPC j V and add SPC m g G in Emacs Lisp
SPC j F and SPC j V don't fit the SPC j prefix because they require
the thing under point to be an Emacs lisp thing, which means that these
bindings should be major mode specific.
To replace them and accordingly to the convention the key bindings
SPC m g G in Emacs Lisp buffers has been added to go to definition
in other window.

SPC j f and SPC j v (minus letters) don't require the current buffer
to be Emacs Lisp and thus I only updated the documentation about them
mentioning that they're about Emacs Lisp variables and functions.
2016-08-25 21:19:21 -04:00
duianto c6dda79768 added/corrected, rotate keybindings
In the "Windows manipulation commands (start with ~w~):" section:
Added the `SPC w r` keybinding:
| ~SPC w r~              | rotate windows forward                                                      |

In the `SPC w R` keybinding description, replaced "clockwise" with "backward".
| ~SPC w R~              | rotate windows backward                                                     |

In the "Window manipulation transient state" section:
Added the`r` keybinding.
| ~r~           | rotate windows forward                                        |

In the `R` keybinding description, added "backward"
| ~R~           | rotate windows backward                                       |
2016-08-21 17:07:41 +02:00
Jonathan Boiser 98990b25bd Fix docs link to themes-megapack README.org 2016-08-07 16:35:24 +02:00
nashamri 3b9b1ff0ce Fix broken links in the docs 2016-08-05 21:20:41 +02:00
Steve Dignam cce0213273
Fix typo in doc/DOCUMENTATION.org
increase or increase --> increase or decrease

parenthesis --> parentheses
2016-08-01 10:21:59 +03:00
eareese 421b97f36f Correct key binding 2016-07-26 16:22:03 +09:00
syl20bnr 98a4a81375 Add 3000th PR achievement
Goes to darkfeline.
2016-07-06 21:57:39 -04:00
syl20bnr a650877bea Remove SPC j L key binding which is the same as SPC f e l 2016-07-05 00:23:16 -04:00
ralesi c4b7c29bb9 Provide additional jump options. 2016-07-05 00:23:16 -04:00
Laverne Schrock 35024b150d Correct docs on loading of packages without layer
This commit clarifies where to find the
=dotspacemacs-additional-packages= variable. It also improves upon the
code example.
2016-07-05 00:23:16 -04:00
syl20bnr d858725360 Fix doc typo and tweak source code pro doc 2016-07-05 00:23:16 -04:00
d12frosted 5b9e84ea72 improve font documentation
- make it clear that setting dotspacemacs-default-font has no effect in
  terminal
- make it clear that it's user responsibility to install Source Code Pro
  font
2016-07-05 00:23:16 -04:00
Eivind Fonn 6609cbe85f Evilify indent-rigidly 2016-07-05 00:23:16 -04:00
syl20bnr b30c393b8d Refactor SPC w and SPC b regarding deletion
The motivation is to clean redundent actions and bring more consistency
between `SPC b` and `SPC w` by:
- using capital letters for ace-window actions
- reusing the same letters between window and buffer when possible
- adding support for universal prefix argument to delete both window
and buffer

Details of changes:

Buffer

- `SPC b k` has been removed since the functionality is
available directly in Helm by selecting the kill buffer action

- `SPC b m` (buffer move) has been removed because the functionality
is available via `SPC w` with `SPC w h/j/k/l`, `SPC w H/J/K/L` and
`SPC w M` (see window section for the new `SPC w M`).

- `SPC b K` (kill other buffers) is now `SPC b m` to map with `SPC w m`
(kill other window or maximize). Using the universal prefix argument
`SPC u SPC b m` will also kill the windows.

- `SPC b C-k` (kill buffer matching regexp) is now simply on `SPC b k`.

- `SPC b D` now kills a buffer using ace-window.

- `SPC b d` and `SPC b D` now accept an universal prefix argument to
also delete the window. So `SPC u SPC b d` and `SPC u SPC b D` delete
the buffer and the window.

Window

- `SPC w M` now swap the window using ace-window.

- old `SPC w M` (center window) is now on `SPC w c` and `SPC w C` uses
ace-window.

- `SPC w SPC` (select window) is now on `SPC w W` since it uses
ace-window.

- `SPC w d` and `SPC w D` now accepts an universal prefix argument to
delete the window and the buffer.
2016-06-26 00:05:55 -04:00
Jonas Benn 878c45abf9
Add `kill-buffer-and-window` keybinding
`kill-buffer-and-window` is now bound to `SPC b D` and the keybinding
is documented.
2016-06-25 09:06:40 +03:00
MadAnd 7733146a33 DOCUMENTATION.org: fix indent text object docs 2016-06-23 22:34:56 -04:00
Eivind Fonn 2f51da332a Update indent textobjects documentation 2016-06-22 18:37:28 +02:00
d12frosted 6d5bca70c9
don't ask users to spaceline-compile 2016-06-21 09:43:57 +03:00
syl20bnr 57350a3b48 core: reimplement :packages keyword and update documentation
Old implementation excluded package that were not selected, this
implementation does not excluded them, it simply ignore it in the
layer where they are not selected. This reimplementation comes from
a refactor of the way packages.el files are loaded, instead of loading
these files at the moment of resolving the list of used packages, they
are now loaded when making the layer objects. A neat consequence is that
side effects is better confined and the configuration-layer/get-packages
is now pure (at least a lot more pure than before).
In the `cfgl-layer` class the slot `:user-packages` has been renamed
to `:selected-packages` which defaults to `'all` meaning that all
the packages in `:packages` are selected. `:selected-packages` value
is given by the new function `configuration-layer//select-packages`.
Effectively selected packages are given by a new method for `cfgl-layer`
class called `cfgl-layer-get-packages`.

Tests have been updated to reflect the changes.

Also documentation on configuration layer declaration in the dotfile
section of DOCUMENTATION.org has been greatly improved (I hope) and
reflect the last feature added to the
`dotspacemacs-configuration-layers` list.
2016-06-20 20:48:25 -04:00
ralesi 704732fc84 Reimplement #5339 by justbur to add :packages keyword. 2016-06-19 22:07:44 -04:00
Eivind Fonn c24553dee2 Update documentation 2016-06-18 19:21:27 -04:00
syl20bnr ad72dab624 Move pcre2el key bindings to SPC x r prefix
Also document it.
Move everything to spacemacs-base since the new prefix is not as invasive
2016-06-13 00:01:25 -04:00
Robert O'Connor f4fcd93b2f 2000th fork 🔱 by @Gameguykiler
😹 🍰 👏 🔥 ❤️  🎉 🚀 :octocat:
2016-06-12 23:02:15 -04:00
Brett Cannon 9b4586837f Fix a minor grammatical mistake 2016-06-12 21:45:48 -04:00
Albin Ludvig Otterhäll 9e3f75a36f Remove references to Solarized themes
Solarized themes has been removed from the default distribution of
Spacemacs.
2016-06-12 21:12:34 -04:00
syl20bnr dc822d5b9e space-doc: disable line numbers and resized images
Resize images to 600 pixel width (exclude README.org for now)
Disable line numbers.
2016-06-10 15:50:45 -04:00
syl20bnr c0f19caa5a New local package spacemacs-whitespace-cleanup
Under toggle SPC t W with lighter W
2016-06-02 22:39:41 -04:00
Eivind Fonn 5a4e8a3f01 core: add toggle for whitespace cleanup 2016-06-02 21:02:30 -04:00
syl20bnr 29bae4026a Improve lighter consistency of toggles
Make global and local whitespace mode lighters identical
Add a lighter for fill column indicator
2016-06-02 20:57:15 -04:00
syl20bnr 4dead4cca7 Use use-package hooks for helm and ivy projectile setup
It allows the configuration function for projectile to be agnostic of
other packages.

Also fix wrong `SPC p s` key binding (it is `SPC p p`).
2016-05-31 23:19:54 -04:00
Eivind Fonn 6b3e1452cf core: misc. goodies for describe-package
- Use completing-read when called interactively
- Check for string locations in addition to built-in etc.
- Don’t double-princ on/off for toggles
- Bind to SPC hdP
2016-05-31 22:26:59 -04:00
JP-Ellis e49c41adf9 Add make-frame shortcut, SPC w F
Placed it under the `SPC w` prefix since the related `other-frame` is
set to `SPC w o`.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-05-29 23:13:47 -04:00
syl20bnr d98be63dfa core: new layer file -> layers.el / Fix regressions of previous commits
The new layer file `layers.el` is used to declared additional layers.
It is like the sibling of packages.el except that for now it does not
take a list (can do this in a futur commit).

The new order for file loading is the following:

layers.el > packages.el > funcs.el > config.el > keybindings.el

Since packages.el relies on some undefined stuff encapsulated
in init functions, it is not meant to be byte compiled. OTOH funcs.el
(where lies most of the computation added by a package config) should
be compilable.

Since we load packages.el very early it is not possible to use
`configuration-layer/package-usedp` in funcs.el.

This commit also fixes the tests.
2016-05-28 21:20:23 -04:00
syl20bnr 380be09700 Fix wrong documentation introduced by previous commit. 2016-05-27 07:58:37 -04:00
syl20bnr c35e4ee27b core: remove packages-funcs and packages-config
Change the semantic of the files for a better control over the
configuration (like being able to use package-usedp function to
guard package configuration and function definition).

This is a big change!

The list of packages of the layer must now be placed in config.el
packages.el only contains pre-init, init and post-init functions

Now both packages.el and funcs.el can use
configuration-layer/package-usedp which is much more powerful than
just configuration-layer/layer-usedp.

Also merging into one file the layer variable and the list of packages
make sense (in this case config.el).

It also means that we can quickly load all the packages declared in
all layer for helm and ivy sources by just loading the config.el file.

Expect some regressions introduced by this change, like the helm
and ivy sources, they will be fixed in other commits.
2016-05-27 00:32:05 -04:00
Eivind Fonn 84fc47a106 Update powerline separator documentation 2016-05-11 09:57:49 +02:00
Eivind Fonn 7383bac3a3 SPC cd: close more compilation windows 2016-05-05 12:50:27 +02:00
Don March 4833cd4dd5 Add small, non-structural fixes to documentation 2016-04-28 15:40:51 +02:00
NJBS 746b04f7e8 Add 7000th star to achievements 2016-04-28 15:34:51 +02:00
Fabien Dubosson 4ad9c93f59 Apply fill-paragraph after previous commit 2016-04-28 15:30:54 +02:00
Bar 940941b96e Clarify search-replace tool dependecy
Make it clearer that search-replace via helm-ag requires ag, pt, or ack.
2016-04-28 15:28:38 +02:00
syl20bnr edfc5dea98 Remove some empty lines in doc 2016-04-17 00:37:47 -04:00
Muneeb Shaikh 32f9b809ed core: update report-issue docs and docstring
* core/core-spacemacs.el (spacemacs/report-issue): update docstring
* doc/DOCUMENTATION.org (Reporting Issue table): reword key description
  to keep table width small

Fix #5155
2016-04-17 00:37:47 -04:00
Joe Hillenbrand af6f3d0d87 Bind `SPC p T` to projectile-test-project
The purpose of `projectile-find-test-file` is not obvious
and it is not applicable to all languages.

Actually running the tests seems like a more useful and intuitive binding.
2016-04-17 00:37:47 -04:00
syl20bnr c8682b5b86 Add new achievements
New section Special Mentions, first mentions attributed to:
StreakyCobra
justbur
CestDiego
JAremko

Rename Special section to Special Titles

Give The Librarian special title to JAremko
2016-04-12 23:53:18 -04:00
syl20bnr 07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
Eivind Fonn 2034195771 Remove some mentions of extensions 2016-04-11 14:53:28 +02:00
Kevin Suen c964644e64 Clarified surround command documentation 2016-04-07 22:15:09 -04:00
Fabien Dubosson d6202d3f33 Reorder projectile-replace-regexp alphabetically 2016-04-05 12:38:43 +02:00
d12frosted 5212e5539e add key binding for projectile-replace-regexp
Following https://github.com/bbatsov/projectile/pull/977
2016-04-05 12:37:53 +02:00
Muneeb Shaikh 25abc07359 hybrid: evilify supporting buffer as default
Fix #5645
2016-04-04 22:24:37 -04:00
person808 4010c63276 Change theme search keybinding to SPC T s.
Unify the bindings of spacemacs-helm and spacemacs-ivy. The new mnemonic
for both ivy and helm is `Themes/select`.
2016-04-01 00:26:20 -04:00
syl20bnr 3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
syl20bnr 828ae8113d Replace enforce-column layer by a toggle on SPC t 8 2016-03-21 21:18:36 -04:00
syl20bnr f48b251968 Delete `SPC j b` and move `SPC j u` to `SPC j b`
By convention, jump back should be on `b`, not `u`
Since `SPC j u` is free, move as well `SPC j U` to `SPC j u`.

`SPC j b` for bookmark jump is already available under `SPC f b`
2016-03-21 20:02:56 -04:00
syl20bnr f801ceebe7 Doc: transient-state => transient state 2016-03-20 22:08:49 -04:00
syl20bnr eaddd19e71 Update layouts and workspaces documentation 2016-03-20 22:00:45 -04:00
syl20bnr 944960daf8 Move eyebrowse to spacemacs-layouts layer and add documentation
Add toggle capability with ? for workspaces transient state
Remove the variable eyebrowse-display-help
2016-03-20 21:48:06 -04:00
syl20bnr 4f07ff2030 First pass to update DOCUMENTATION.org 2016-03-17 22:03:19 -04:00
syl20bnr 5585a40db1 doc: update editing style documentation 2016-03-17 20:38:23 -04:00
syl20bnr d52eb414bb Remove dotspacemacs-use-ido
Users should now bind ido commands themselves.
2016-03-10 23:13:19 -05:00
syl20bnr b97b61c01c Add documentation for C-c C-e in helm-find-files 2016-03-10 23:13:19 -05:00
syl20bnr 0ca738989e Update, simplify and add smooth scrolling toggle on `SPC t v` 2016-03-02 09:13:09 -05:00
Johan K. Jensen be2c471397 Fix inline code blocks
Add zero-width space because emphasis blocks can't start/end with
a comma, an apostrophe or a quote.
2016-03-01 18:51:13 +01:00
syl20bnr 835aa53435 Add uuidgen package to generate... UUIDs 2016-02-17 16:11:39 -05:00
Muneeb Shaikh f8484fa8aa achievement: 6k star 2016-02-16 23:03:31 -05:00
justbur aab007d225 evil-jumper: Remove obsolete package
The functionality is now incorporated into the evil core and this
package has been marked as obsolete.
2016-02-16 21:23:07 -05:00
adrsta feefea4b18 Update align function documentation 2016-02-14 23:39:37 -05:00
syl20bnr 5ac51287cd Replace close words by delete in documentation 2016-02-14 23:11:52 -05:00
Robert O'Connor 4348c17433 Switch “bc”->“bd” and “wc”->“wd”
Also:
- switch spacemacs layouts to the same.
- Add “wD” for ace-delete-window
- switch window dedication toggle to “wt”
- all documentation has been updated to reflect these changes

Closes #5031
2016-02-14 23:09:45 -05:00
Fabien Dubosson 06cb27e1dc [doc] Fix some additional `SPC :` to `SPC SPC` 2016-02-07 14:39:54 +01:00
Fabien Dubosson 6903524ec4 [Doc] Fix possible misunderstanding of "root"
"root" usually refer to `/` on linux. Use "project's root" to avoid
misunderstanding.
2016-02-02 16:45:29 +01:00
Eivind Fonn 8d60b15ccf Move projectile-shell-pop to shell layer 2016-02-02 16:42:58 +01:00
Fabien Dubosson 010444cdc7 Add projectile-shell-pop and bind it to `SPC p '`
This allows to open a shell at project's root
2016-02-02 16:36:39 +01:00
Eivind Fonn b3b0ecb399 Make buffer and window close bindings consistent 2016-01-31 23:43:23 -05:00
syl20bnr 39d044dcb4 Move unimpaired contribution to spacemacs-evil
And document it.
2016-01-31 23:04:48 -05:00
Fabien Dubosson 324c2fa8d8 Add link-hint package
Use link-hint package. Bind it to `SPC x o` and `SPC x O`.
2016-01-31 23:04:47 -05:00
Balaji Sivaraman 2b1ed603dc Change all references of micro-state in codebase to transient-state 2016-01-31 23:04:47 -05:00
syl20bnr 564c98e1bc Typo: at point --> around point 2016-01-31 20:32:02 -05:00
Fabien Dubosson 42bc71dcac Add helm-projectile-find-file-dwim
Complete #4144 in supporting `spacemacs-helm`
2016-01-31 22:12:49 +01:00
Tu Do 03ec0cb4bb [#4137] Give useful Projectile commands key bindings
helm-projectile-find-file-dwim is equivalent to find-file-at-point,
but operate in project scope and does not require full path.
2016-01-31 21:48:52 +01:00
Xue Fuqiao 4958f7fc10 Fix "the point" problems
Point is a proper name when it refers to the current editing location.
Moreover, point designates a place *between* two characters (or before the first
character, or after the last character), rather than a particular character.

References:

* http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00414.html
* https://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html#index-point
2016-01-31 21:48:52 +01:00
Rastus Vernon bdc719876a Change 'SPC f e h' to 'SPC h SPC'
The 'SPC f e h' binding is deprecated, therefore the documentation
should refer to 'SPC h SPC' instead.
2016-01-31 21:42:07 +01:00
syl20bnr a000a03349 Move report error to SPC h I
h for help and I for issue
2016-01-26 01:21:02 -05:00
Fabien Dubosson aa39eb3fd0 Add a command for reporting issue to spacemacs 2016-01-26 01:21:02 -05:00
Xue Fuqiao 9dfc1d93aa Doc fix for spacemacs/show-and-copy-buffer-filename 2016-01-26 01:21:02 -05:00
Eivind Fonn 40836f1c11 Basic support for hexl 2016-01-26 01:21:01 -05:00
JAremko 574dffbeeb added follow mode key binding 2016-01-23 14:11:20 +01:00
syl20bnr f8550a4682 Move helm-locate-library to SPC f e l 2016-01-18 00:39:38 -05:00
Balaji Sivaraman e643b0b560 Add doc for spacemacs/open-junk-file keybinding 2016-01-18 00:29:07 -05:00
Balaji Sivaraman d94d34a34c Add doc for spacemacs/restart-emacs keybinding 2016-01-18 00:28:14 -05:00
Balaji Sivaraman 3be33a5e51 Fix docs to provide correct keybindings for Avy 2016-01-18 00:26:03 -05:00
Fabien Dubosson 123844cd51 Add text justification bindings 2016-01-18 00:25:31 -05:00
Diego Berrocal e7e7f75d3f Add evil-scroll-line bindings to evilified state
Unless there is a valid reason why these shouldn't be included I think
we should keep them. after all we can yank with `v y` right?

squash! Add documentation
2016-01-17 23:56:56 -05:00
syl20bnr 194a42db74 Move unimpaired to spacemacs layer 2016-01-17 23:28:09 -05:00
syl20bnr 33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
syl20bnr 052e8dfc08 Move helm and search key bindings
Key bindings should not be choosen given a package name, some helm
key bindings are under `SPC h` which are corrected the following way:

SPC h l for helm-resume to SPC r l (resume last completion)
SPC s l for last-search to SPC r s (resume search) (SPC s l is still
available)
SPC h L for helm-locate-library to SPC s L

Resolve #4592
2016-01-13 08:32:16 -05:00
syl20bnr 8c0a4452b0 Move open bookmarks on SPC f b 2016-01-13 08:01:52 -05:00
Balaji Sivaraman d3048a1395 Fix helm-project-do-pt key-binding in docs 2016-01-13 00:40:35 -05:00
Fabien Dubosson ad448d6683 Add `helm-apropos` on `SPC h d d`
Bind it to `SPC h d d` as it's a way to describe a lot of elements:
- commands
- functions
- classes
- generic functions
- variables
- faces
- helm-attributes

Is also bound on `SPC F1` and will also stay there.
2016-01-13 00:40:25 -05:00
syl20bnr a5857b3d7c Optimize SPC j prefix
`SPC j j` is now for avy-goto-char (SPC SPC in 0.105)
`SPC j J` is for avy-goto-char-2
`SPC j s` is for splitting strings or sexps
`SPC j S` is for splitting strings of sexps, insert new line and indent
`SPC j n` is to split line at point, insert new line and indent
2016-01-12 01:17:41 -05:00
Fabien Dubosson 78b8d939f4 Add spacemacs/describe-last-keys 2016-01-11 22:01:01 -05:00
justbur 32f523e062 spacemacs-helm: New layer
Collect helm configuration from spacemacs and spacemacs-base into one
place. The purpose is to allow choice between this layer and
spacemacs-ivy.
2016-01-09 13:36:03 -05:00
syl20bnr 58e5241c8d dotfile: rename dotspacemacs-command-key for dotspacemacs-emacs-command-key
And change the key from ":" to "SPC"
This key does not try to bind evil ex-command anymore, it only bind
M-x behind the leader key.
2016-01-09 01:53:24 -05:00
syl20bnr 454027df35 Remove undocumented and duplicated SPC j m and update doc. 2016-01-09 01:30:05 -05:00
justbur 02e2ce4d5a keybindings: Add SPC j for jumping
Use mnemonic j for jumping commands. Although some of these commands
exist in other places, they are duplicated here when they don't
conflict.

Add:

  1. jb for bookmark-jump
  2. jc for avy char jump
  3. jd for dired-jump
  4. jD for dired-jump-other-window
  5. jf for find-function-at-point
  6. ji for spacemacs/jump-in-buffer (imenu)
  7. jI for helm imenu in all buffers
  8. jl for avy go to line
  9. ju for avy-pop-mark (u for "undo")
  10. jU for spacmacs/avy-goto-url
  11. jv for find-variable-at-point
  12. jw for avy go to word or subword

Move:
  1. jh to j0 (push mark and go to beginning of line)
  1. jl to j$ (push mark and go to end of line)
2016-01-09 01:00:44 -05:00
syl20bnr 7d0ba07cef Add achievement
5000th star goes to StreakyCobra
2016-01-05 02:39:57 -05:00
syl20bnr 70cf8c750a Add documentation for SPC h n 2016-01-05 01:29:08 -05:00
Fabien Dubosson 6cb7399cac Change `SPC f e h` to `SPC h SPC` for helm-spacemacs default binding
This make `SPC h SPC` as default binding for accessing `helm-spacemacs`,
by either A) changing all the documentation; and B) adding a deprecation
message for `SPC f e h`.

The deprecation use a warning, because if a message is used it's hidden
directly when the helm buffer is shown, making it nearly unnoticeable
for the user.
2016-01-03 22:23:12 -05:00
Fabien Dubosson 11c692dc0f Correct last `evil-leader/set-key` in documentation 2016-01-03 22:23:11 -05:00
syl20bnr 336539500d doc: rewrite of Who can benefit from this 2016-01-03 13:18:55 -05:00
syl20bnr ffb33a4d47 doc: rewrite of goals as highlighted feature 2016-01-03 13:07:18 -05:00
syl20bnr 7990b8d167 Doc: rewrite core pillars to be straight to the point 2016-01-03 12:57:34 -05:00
Wieland Hoffmann 80a9add5af doc: Don't make a link to quelpa verbatim
At least GitHubs org renderer only showed the raw markup when rendering
this link.
2016-01-03 14:42:14 +01:00
Treri cd954312f6 Fix horizontal/vertical splits documentation (-, /) 2016-01-03 14:22:55 +01:00
syl20bnr 70ea7a5d9c Add documentation for spacemacs/recompile-elpa 2015-12-21 00:43:35 -05:00
syl20bnr 6f4a8defac Document hybrid-mode-default-state variable 2015-12-21 00:14:54 -05:00
justbur 812ba329f2 core: move spacemacs-mode to core-spacemacs-buffer.el
The rationale is to keep the spacemacs buffer related code contained in
the core-spacemacs-buffer.el file.
2015-12-11 02:25:22 -05:00
Fabien Dubosson 315528c89f Refactor CONTRIBUTING documentations
This commit merge the `CONTRIBUTING.md` and `doc/CONTRIBUTE.org` file
into a new `CONTRIBUTING.org` file. It also refactors the content to be
more organized and make its navigation more goal-oriented.

Github displays a link to the `CONTRIBUTING.*` file when people are
opening new issues or proposing new PRs. This file is important because
it is the entry-point to contributions guidelines for most of the users.
The current setup is non-optimal, even broken, as it adds a level of
indirection, and points to a contributing file that has broken
links (due to the new documentation format). The possible drawback of
the proposed solution is that I'm not sure if it is possible to include
it into the new online documentation as it is not in `doc/` folder.

The other possibility is to keep a small `CONTRIBUTING.md` file, as it
is now, pointing to the new documentation system (once online), but I'm
preferring the proposed solution for the following reasons:

- People that are willing to contribute will probably open Github
  first (for forking, creating PR, etc), not the online documentation.

- It has one level of indirection less when people click on the
  guidelines guide from a new issue/PR.

- `CONTRIBUTING.*` is by convention a special kind of file on github, so
  it's valid reason to break the rule and not having it in the `doc/`
  folder.
2015-12-11 01:09:09 -05:00
William Casarin c4a80efcb8 keybinding: ck -> kill-compilation 2015-12-09 01:31:42 -05:00
syl20bnr 5895e0e45f change `mhh` for `gh` to follow-symbol in help buffers
Also document the key bindings
2015-12-09 01:08:52 -05:00
syl20bnr 68e67fbd1c Add achievements
3000th issue: malchmih
4000th issue: icymist
2000th merged PR: channingwalton
2015-12-07 23:43:46 -05:00
Fabien Dubosson ec8250ea1d Move `jump-in-buffer` to `SPC s j`
After a discussion on gitter with @TheBB and @syl20bnr, `jump-in-buffer`
is moved from `SPC s L` to `SPC s j`.
2015-12-07 13:12:10 +01:00
syl20bnr 5104593e89 spacemacs-base: swap SPC s l and SPC s L
SPC s l to bring last search buffer is a powerful binding, let it take
the easier binding.
2015-12-06 23:20:46 -05:00
syl20bnr 69dd09c9a0 Add achievements
The Tiler: bmag
The Geometer: TheBB

The Tiler is for being an Emacs windows expert.
The Geometer is for being an expert in Emacs mode-line and for the "line"
and "segments" (spaceline).
2015-12-06 02:12:13 -05:00
syl20bnr 8191a6695f Add Expert in Latin Language achievement
Attributed to vijaykiran
2015-12-04 00:49:33 -05:00
Eivind Fonn fa819a6634 Update documentation for packages binding 2015-11-27 10:32:51 +01:00
Fabien Dubosson ec308f0f8e Add a binding for helm-ag-pop-stack
Close #2736
2015-11-24 23:29:12 +01:00
syl20bnr c732c9ea22 Move vi-tilde-fringe toggle to `SPC T ~` 2015-11-24 09:59:16 -05:00
Eivind Fonn aa068a212a Fix neotree documentation 2015-11-23 20:20:25 +01:00
Adam Olsen ac9e81bf49 Set neo-vc-integration to nil by default
* Set `neo-vc-integration` to `nil` for much better performance
* Add documentation for the `neo-vc-integration` setting.
* Add documentation for the `neo-theme` setting.
2015-11-23 20:17:03 +01:00
syl20bnr b540b15afe Move describe-keymap to SPC h d K and document it 2015-11-22 22:31:29 -05:00
justbur 87d61dbd3f doc: Minor doc changes for evil-leader removal 2015-11-21 18:22:51 +01:00
Fabien Dubosson 7c160e8ae5 FAQ update
Close #1206
Close #1269
Close #1504
Close #1742
Correct #3839
2015-11-17 15:32:42 +01:00
Fabien Dubosson 471fce6106 Change behaviour of [=] [0] in zooms
As proposed in #2144, Use [=] as an alias of [+], and use [0] instead
for resetting the zoom.

Add a missing `q` binding/documentation.

Close #2144
2015-11-16 20:51:06 +01:00
Eivind Fonn f56e49f30e Document SPC h SPC 2015-11-16 20:51:06 +01:00
Eivind Fonn bd2e847a33 Move which-key top level to SPC hk
…and helm-make to SPC cm
2015-11-16 16:21:24 +01:00
Christian Wesselhoeft df5f8d3d13 Grammar fix in DOCUMENTATION.org 2015-11-15 12:26:25 +01:00
Eivind Fonn f6eb4f4290 Document SPC h h binding and move to init function
Also remove hl-anything docs
2015-11-15 12:24:49 +01:00
Christoph Paulik 9726033515 Don't use ido for sudo-edit of new files and bind key 2015-11-15 12:19:25 +01:00
Sebastian Wiesner a4882308a5 Move lorem ipsum package to il
Spacemacs already has the "i" prefix for insertion, why do we also need
a separate prefix "xi" for “text insertion”?
2015-11-14 00:33:46 -05:00
Christoph Paulik d1c8e4b9f7 Disable projectile-caching by default.
- Default projectile settings are to disable caching when indexing
  method is `alien. So setting the indexing method should be enough.
- On windows we keep the 'native method unless find is found
2015-11-14 00:32:43 -05:00
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Eivind Fonn 7518da2f49 Update mode-line documentation for spaceline 2015-11-13 14:02:51 +01:00
Joe Hillenbrand 3b6fd59245 Add `SPC c q` to close the compilation window
I found it annoying to have to re-navigate to the *compilation* window
and close it after every time I compile with `SPC p c`.

This patch adds a binding to make closing this window fast and easy.

Also a little bit of clean up.
2015-11-13 13:55:53 +01:00
nashamri f0a05d1d54 Fix grammar to be more consistent and discoverable 2015-11-13 13:40:17 +01:00
justbur 94fe2cb755 docs: Note commands for update/rollback packages
In case someone doesn't want to use the buttons
2015-11-09 18:42:18 +01:00
Joe Hillenbrand 5559060ab5 bind avy-goto-line to `SPC y`
After the change in 1d340dcc77,
there was some grumbling in gitter that `SPC L` is not as convenient
as `SPC l`. Apparently avy-goto-line is a popular function.

`SPC y` is chosen because it is:

- currently unused (as far as I can tell).
- sort of mnemonic because "avy" has a "y" in it.
- doesn't require SHIFT to type
- is accessible even on non-US keyboards
  (there were suggestions such ";" and "\" that are not as accessible
   on non-US keyboards)

This change also updates the documentation regarding the change from
ace-jump-mode to avy.
2015-11-06 01:29:49 -05:00
Joe Hillenbrand be817362ae update docs for switch to `SPC l` for perspectives 2015-11-06 01:17:10 -05:00
syl20bnr b405752f6c Remove global infix in dotspacemacs-global-line-numbers
I feel that it is not needed because it makes not a lot of sense to
have it non global since it is a dotfile variable.

Also remove ' from the docstring for consistency.
2015-11-03 00:00:55 -05:00
Fabien Dubosson 612c3df265 Introduce 'relative for global-line-numbers
Allow to use 'relative as value for the dotspacemacs-global-line-numbers
setting. This enable relative global line numbers as it is a common
usage.
2015-11-03 00:00:55 -05:00
syl20bnr 34ce7a0c23 Move lorem ipsum to `SPC x i l` and declare prefixes
This a rarely used key binding so we can nest it a little bit more and
free some key bindings in the `text insert` namespace.
2015-11-03 00:00:54 -05:00
Fabien Dubosson 5f7c3d067f Add the lorem-ipsum package
Add the `lorem-ipsum` package to insert text, and bind it to:

* `xil`: lorem-ipsum-insert-list
* `xip`: lorem-ipsum-insert-paragraphs
* `xis`: lorem-ipsum-insert-sentences

`x` as it's text related, and `l` for `list, `p` for `paragraph` and `s`
for sentences.
2015-11-03 00:00:54 -05:00
syl20bnr 6b2da3ca0c Add doc for describe-face binding 2015-11-03 00:00:54 -05:00
Piotrek Bzdyl 3c7658daa6 Fixed a typo in Editing Lisp code section. 2015-11-01 23:41:35 -05:00
Eivind Fonn 1070d4b56a Set up documentation publishing 2015-11-01 23:40:36 -05:00
Eivind Fonn 13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
Adam Olsen 68fa0330e4 Make NeoTree more "vim" friendly
This rebinds keys in NeoTree so that `g` and `G` work correctly
2015-10-31 14:10:57 +01:00
Eivind Fonn 72c569429d 4000th star achievement 2015-10-31 08:09:19 +01:00
Fabien Dubosson c3299f0eca Make linum toggle local and add a variable for global mode
`global-linum-mode` is making line numbers appearing in `*spacemacs*`
and `helm` buffers, what is annoying.

This change make the linum `SPC t n` toggle buffer-local, and add a
customization variable in `.spacemacs` to enable line numbers globally.
«Globally» here as to be understood as «in `prog-mode` and `text-mode`».
2015-10-29 19:30:06 +01:00
Ernestas Lisauskas ad97fd06ba Correct the documentation 2015-10-25 10:39:46 +01:00
Wieland Hoffmann a358eb0154 doc: Fix Markup in the projectile key binding table 2015-10-19 00:29:20 -04:00
Fabien Dubosson ab23559047 Adapt project-search keybindings
For buffers, `*` search for the word under the cursor, and `/` ask to
search for an expression. To keep the same mnemonic at project level,
this commit change `SPC /` to ask for an expression to search, and add
`SPC *` to search for the expression under the cursor (in fact the only
difference being the expression pre-filled inside the input field).
2015-10-19 00:20:59 -04:00