Commit Graph

1029 Commits

Author SHA1 Message Date
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
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
Jaremy Creechley 4a73b15503 General solution for underscores in word-motions
c.f. https://github.com/syl20bnr/spacemacs/issues/1261 

I am currently going between many programming languages and the current solution falls short for me. The 'prog-mode-hook seems to work pretty well.
2018-05-25 01:41:48 +03:00
syl20bnr 34739388a3 Add 15000th star achievement
Goes to missingfaktor
2018-05-21 00:29:40 -04:00
Alex cbf6de8ef1 Add 2x2 grid layout shortcut 2018-05-14 22:39:56 +03:00
syl20bnr 901fd09e67 Add SPC w 1..3 key bindings to documentation 2018-05-10 23:43:05 -04:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr 3731d0d3fc Move major specific error key bindings to SPC m E prefix
Also add a convention for it.
2018-03-03 16:45:00 -05:00
syl20bnr 80e792911b Add smile12341234 to the achievement, he is The Orgonaut! 2018-02-27 23:32:52 -05:00
syl20bnr e2b1cecb77 Update documentation for :defer t 2018-02-27 23:32:52 -05:00
Tad Fisher 662b73282c Make the Emacs server optional
Add `dotspacemacs-enable-server`, which if non-nil prevents Spacemacs from
calling `(server-start)` at init.
2018-02-24 19:49:39 -05:00
Olivier Verdier ef36dbb2a4 Key sequence to access FAQ 2018-02-24 19:49:38 -05:00
Nicolas Forgerit c73844f291 Fix typo 2018-02-17 16:09:06 -05:00
JAremko d2c3b847d8 doc fmt 2018-01-27 16:57:39 +02:00
syl20bnr 904523293c conventions: add SPC m f for web frameworks 2018-01-18 00:27:22 -05:00
syl20bnr a2f16fa876 Add toggle for spaceline responsivness under SPC t m r 2018-01-17 15:23:37 -05:00
syl20bnr 509ff96c66 It is not necesary to restart emacs when changing mode-line theme 2018-01-17 11:29:59 -05:00
syl20bnr 0f646b884d Add properties for mode-line theme, remove powerline-scale
Since we have now a variable for the mode-line theme, it makes sense to move
the scaling of the mode-line to this variable. Thus the property
=:powerline-scale= of variable dotspacemacs-default-font has been removed and
it is replace by the property =:separator-scale= used in the variable
=dotspacemacs-mode-line-theme=.

This commit also adds a the property =:sperator= for the variable
=dotspacemacs-mode-line-theme= which allows to set the separator type.

Example of the final result:

   dotspacemacs-mode-line-theme '(all-the-icons
                                  :separator cup
                                  :separator-scale 1.5)

Documentation has been updated to reflect the changes.
2018-01-16 22:59:29 -05:00
syl20bnr 4c231ae282 Replace SPC j j and SPC j J by evil-avy-goto-char-timer
evil-avy-goto-char-timer is a better all around solution.
2018-01-15 16:41:24 -05:00
Muneeb Shaikh 0d5f3cfe2f doc: fix supported spaceline-all-the-icons-separator-type 2018-01-12 23:31:24 -05:00
syl20bnr a7bca298ff Add doc for SPC b x and SPC w x 2018-01-12 23:20:30 -05:00
syl20bnr 8914e78537 doc: further tweaks of mode-line section 2018-01-12 00:06:50 -05:00
syl20bnr 726077faf1 doc: mention fonts to install for all-the-icons mode-line theme 2018-01-12 00:02:05 -05:00
syl20bnr a131c89909 core: add support for mode-line themes
New layer variable `dotspacemacs-mode-line-themes`:

Set the theme for the Spaceline. Supported themes are `spacemacs',
`all-the-icons', `custom', `vim-powerline' and `vanilla'. The first three
are spaceline themes. `vanilla' is default Emacs mode-line. `custom' is a
user defined themes, refer to the DOCUMENTATION.org for more info on how
to create your own spaceline theme."

See DOCUMENTATION.org changes for more info.

This commit adds support for `spaceline-all-the-icons` package.
2018-01-11 23:53:44 -05:00
syl20bnr e9fb5285f4 core: execute all pre-init function before init and post-init
Fixes loading order issues when declaring use-package hooks.

Fixes #9979
2018-01-10 23:33:15 -05:00
Daniel Hodson 3342532f9c Update guidance on using external Git repository
Changed the wording to something that flows better.
2018-01-09 23:37:44 -05:00
Daniel Hodson 8a8e726561 Fix capitalization of changes
Update capitalization as per feedback.
2018-01-09 23:37:44 -05:00
Daniel Hodson f99dcfc985 Update DOCUMENTATION.org
Delete erroneous blank space in screenshots section.
2018-01-09 23:37:44 -05:00
Daniel Hodson bf0cabb356 Update wording in DOCUMENTATION.org for readability and consistency. 2018-01-09 23:37:44 -05:00
duianto 3dba3f6794 Add switch-to-help-buffer function and keybinding
`SPC b H` is available, for opening or selecting the help buffer (if it
exists). This makes it much easier to open the help buffer, than having
to open the buffer list (`SPC b b`), then typing one or more characters,
to select the help buffer, and finally pressing `RET`.
2018-01-09 23:19:57 -05:00
syl20bnr 05b626fc37 Add achievements
8000th issue goes to jonbash
9000th issue goes to shaunpatel
10000th issue goes to nikital
2018-01-06 22:40:16 -05:00
syl20bnr da0d965e9d Document maximize window horizontally and vertically 2018-01-06 11:25:23 -05:00
syl20bnr 6b865deebf core: add support for major mode specific toggles
Modify macro spacemacs|add-toggle to create additional sets of functions for
each supported modes when the toggle is major mode specific.

A toggle is major mode specific when it is bound to keys using the keyword
:evil-leader-for-mode

Updare documentation to add a section on toggles in the Spacemacs concepts.
2018-01-04 01:40:52 -05:00
Tim Stewart ce03968302 Changed 'the value is in second' to 'the value is in seconds'. 2018-01-04 01:40:52 -05:00
JAremko c47d88a098 Format docs 2017-12-31 02:41:22 +02:00
Dominik Schrempf 28d57c4248 diminish ggtags into doc 2017-12-17 21:59:23 -05:00
Max Beutelspacher eaa00be5a9 fix spelling of variable in documentation
dotspacemacs-lines-numbers -> dotspacemacs-line-numbers
2017-12-17 21:55:56 -05:00
duianto d4016dbb04 Change Frame delete bindings from c/C to d/D
The Frame delete bindings SPC F c and C, are inconsistent with the delete window
and buffer bindings, that use: d and D

Changed the dired-other-frame binding from d to O
2017-10-21 15:40:44 +03:00
duianto 5883d085d8 Update themes transient state, t for helm-themes
Add the key binding: t
to open helm-themes, without having to use the arrow up key.

Reorder/rename: cycles backward and cycles forward
to: next and previous

Next is listed first, because it's the most common action, and it matches the
order in other transient states.

Change the t argument in the call to spacemacs/cycle-spacemacs-theme, to the
symbol 'backward, to make it clear what the argument does.

Add documentation for the Themes Transient State bindings.
2017-10-21 15:00:38 +03:00
syl20bnr a24dabf57a Fix documentation about shadowing mechanism
Wrongly mentioned the config.el file instead of layers.el
2017-10-15 11:08:01 -04:00
Benjamin Reynolds ee81381dc1 Fix typo in layer shadowing documentation 2017-10-15 11:08:01 -04:00
syl20bnr e6ef759fb0 Move SPC h U to SPC f e U to upgrade packages
SPC f e stands for Files Emacs so it makes sense to have it under this prefix.
Also there is already the reloading of the dotfile under SPC f e.
2017-10-15 11:08:01 -04:00
Codruț Constantin Gușoi d987ded361 Adds keybinding for updating packages 2017-10-15 11:08:01 -04:00
syl20bnr 07014deead Add documentation for layer shadowing in LAYERS.org 2017-10-08 18:31:44 -04:00
syl20bnr 67aaf51631 Move neotree to its own layer in new +filtree folder
Add neotree layer to default spacemacs distribution.
2017-10-08 07:51:43 -04:00
syl20bnr 82220fce3a Remove old wording "contribution layer" 2017-08-28 11:33:55 -04:00
syl20bnr 78931f4ccd conventions: add `m g u` to go to/find usage of things under point 2017-08-27 21:45:08 -04:00
JAremko a1101eb38f fix links 2017-08-18 22:12:17 +03:00
JAremko 06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
J. Patrick Lanigan 955f828cd4 Fix links in BEGINNERS_TUTORIAL.org
See #9346
2017-08-06 04:50:43 +03:00
JAremko 2ef230369a Convert new exporter into standalone tool 2017-08-02 09:16:23 +03:00
Dela Anthonio d874f21a48
spacemacs-base: Add key bindings for projectile-edit-dir-locals 2017-08-01 16:49:41 +03:00
d12frosted e4894a474d
fix travis build
Somehow TOC wasn't rebuild.
2017-07-29 20:49:59 +03:00
d12frosted 24d013bbb7
remove partial ivy documentation from DOCUMENTATION.org
We have README files for helm and ivy. Completion section says that user should
refer to specific readme file for further instructions and details. There is no
point to duplicate ivy documentation.
2017-07-29 20:31:52 +03:00
d12frosted c77d826079
sort transpose functions and update documentation 2017-07-26 13:36:02 +03:00
tzhao11 b60cec6f09 fix typo in DOCUMENTATION.org 2017-07-23 15:19:50 +03:00
JAremko 106f98497e Update README.org template
Replace some local Org links with GitHub ones
2017-07-23 01:22:20 +03:00
Alex Palaistras 4c57939fb3 Add `SPC b u` keybinding for reopening killed buffers
This is similar to the `Ctrl+Shift+T` keybinding found in major browsers, and
helps when accidentally killing a buffer (i.e. fat-fingering `SPC b d` when
meaning to press `SPC b s`).

Only buffers that resolve to existing files will be considered, and stored in a
stack which is pushed to and popped from on buffer kill.
2017-07-06 14:34:46 +02:00
Sam Pablo Kuper 6c15fca82d Fix typo. Improve grammar. 2017-07-06 12:30:58 +02:00
syl20bnr e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Tim Jäger 0b2dfd0297 Implement helm-dir-search
This is equivalent to helm-file-search with the current directory as the scope
2017-07-01 12:41:03 +02:00
Ben Lloyd 51bcba8964 Added frame manipulation commands 2017-06-18 14:10:42 +02:00
duianto c6fda1a1d4 string-inflection: group which-keys, sort code/doc
Group together the which-key entries that call the same command:
k and - becomes k,-
u and _ becomes u,_

Declare a prefix name for SPC x i, this changes the SPC x entry:
from: "i -> +prefix"
to: "i -> +inflection".

Capitalize the transient state title, so that it matches the other TS titles.

Sort the code and documentation key bindings alphabetically.
2017-06-12 12:32:46 +02:00
Eivind Fonn 377cb2f417 doc: code, not keys 2017-06-10 16:32:18 +02:00
Eivind Fonn 2db9958894 string-inflection: transient state for cycling 2017-06-10 16:31:05 +02:00
Eivind Fonn c366991422 doc: add new bindings 2017-06-10 16:30:36 +02:00
Eivind Fonn 4610351b60 Format editorconfig documentation 2017-05-26 10:46:51 +02:00
Swaroop C H 7bd3390dae [docs] Mention EditorConfig support
Fixes #8960
2017-05-26 10:44:46 +02:00
Martin Račák f63132cd16 Fix Evil URL 2017-05-24 14:54:12 +02:00
ralesi d28d9beed4 emacs-restart: make debugging commands accessible. 2017-05-24 13:53:19 +02:00
Niko Felger 24c46d6698 Correct minor errors in DOCUMENTATION.org 2017-05-24 11:45:45 +02:00
ralesi e7d01304b8 ivy: define matcher desc, deprecated from package, add M-SPC 2017-05-24 10:00:53 +02:00
Eivind Fonn 5290456304 Modify evil-lion config
- Adjust keys not to collide with evil-little-word
- Add documentation
2017-05-23 11:08:06 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
JAremko dc5781f715 fix link 2017-05-22 18:32:47 +03:00
syl20bnr 7cd8e1fee5 Add password-generator package under SPC i p 2017-05-18 23:12:56 -04:00
Fuqiao Xue 6835e7605b Change HTTP to HTTPS in docs 2017-05-18 18:42:33 +02:00
Fuqiao Xue 00db1e3d4b Mention the change of dotspacemacs-check-for-update in the documentation
Its default value was changed to nil in 9d72b12245.
2017-05-18 18:22:24 +02:00
deb0ch 7280f1a6be FAQ: add "where to start learning elisp" section 2017-05-14 22:08:13 -04:00
David eaf7ef05b8 FAQ: Fix git clone command for trying Spacemacs 2017-05-14 22:05:31 -04:00
MadAnd 9f3e656c8f Add support for building multi-file local packages with Quelpa
At the moment a Quelpa recipe like `(recipe :fetcher local)` is being translated
to something like
`(recipe :fetcher file :path "my-layer/local/my-pkg/my-pkg.el")`. So we can
build simple single-file local packages.

This commit changes it to translate to the package directory instead of exact lisp
file, so we can build multi-file local packages. Thus, the above example will be
translated to `(recipe :fetcher file :path "my-layer/local/my-pkg")`.

Also, add the relevant info to LAYERS.org.
2017-05-14 13:39:02 -04:00
JAremko bd866b6c99 docker: add develop tag to spacemacs-docker images
also fix some links
2017-05-14 12:48:53 -04:00
duianto dba5dd34e1 CONVENTIONS.org: update evilify macro name 2017-05-14 12:33:16 -04:00
Benjamin Reynolds 68364b969e Add custom layout for mu4e buffers
This commit adds a custom layout for mu4e related buffers. Four different major
modes are used in mu4e buffers based on their purpose, so a function is used to
add buffers in these modes to the new layout. This setup is largely based on
that of the ERC layers custom layout.
2017-05-04 00:32:35 -04:00
Benjamin Reynolds 9e17d9e6bf Add @Slack layout to documented list of default custom layouts
This commit adds the custom layout defined in the Slack layer to the list of
custom layouts that spacemacs ships with in `doc/DOCUMENTATION.org`
2017-05-04 00:31:08 -04:00
Nikolai Myllymäki 3b4aff8cdb Remove redundant installation instructions
The readme.md documents the first startup comprehensively, so the duplicate
information is removed from the beginners tutorial.
2017-05-03 22:47:58 -04:00
Darkhan Kubigenov a5c94b3328 Fix typos in documentation 2017-05-03 22:46:24 -04:00
Henry Marshall 82cfce0768 Fixed url with unescaped `+` causing broken link 2017-05-03 08:59:05 -04:00
JAremko 94205a3e81 Fix css links and various org links 2017-04-29 10:45:52 -04:00
JAremko f805d0ebd9 Fix spacefmt test on deleted files
Also fix some links
[ci skip]
2017-04-28 23:29:43 -04:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
Kepi 7e266f4f3c Improve support for fancy frame title 2017-04-28 23:16:22 -04:00
Darkhan a488a56e8e Fix a typo in beginners tutorial 2017-04-28 23:09:52 -04:00
Rafi Khan dc8bb7ae3b typo 2017-04-28 22:50:28 -04:00
Archenoth 45f02b09bb Minor typo in VIMUSERS Elisp intro ("arg1 arg1" -> "arg1 arg2") 2017-04-28 22:25:24 -04:00
Fabian Wilk fe9de0afd8 Add key binding SPC d w SPC for built-in commnand just-one-space 2017-04-23 13:03:51 -04:00
Kristoffer Haugsbakk a9a8f1e905 docs: correct keybinding for `helm-resume`
The keybinding has changed from `SPC h l` to `SPC r l`; see the changelog, entry
0.200.0 (2016/10/02). So correct the documentation to reflect that.

`SPC h l` is currently bound to `helm-spacemacs-help-layers` (on branch
`develop`).
2017-04-20 23:13:37 -04:00
Kristoffer Haugsbakk 31a11abd54 Use `RET` instead of `return` for return key
It is an Emacs-wide convention to use `RET` when referring to the act of
pressing the return key.  Spacemacs seems to follow that convention as well.  So
fix some Org files that were deviating from this convention.

In particular, replace usages of `<return>` and `return` with `RET`.

Also update the description of an `M-RET` keybinding[1] based on the docstring
of `ido-select-text`.

[1]: Suggested-by: bmag <bmag@users.noreply.github.com>
2017-04-20 23:09:46 -04:00
Jonas Strømsodd be72fe17f4 Update documentation on window manipulation to clarify behavior of window 0 2017-04-20 23:00:34 -04:00
Chase Adams c646a6b22d change spelling and grammar in quick start 2017-04-20 22:58:53 -04:00
Nikolai Myllymäki 419fc605ec Add commands for font install on macOS
Add brew commands for Source Code Pro installation to installation instructions
in README.md, describe command usage and add missing capitalisation.

Concentrate installation instructions

Make installation instructions more beginner-friendly, concise and thorough:
- Add Git to prerequisites
- Move specific git clone instructions for Windows users from beginners
tutorial to README.md
- Move fallback font installation instructions and info from beginners tutorial
to README.md
- Remove redundant install steps from beginners tutorial
- Misc. typo fixes and wording improvements
2017-04-20 22:29:25 -04:00
person808 6dc447cf5f Documentation fixes.
Fixes:
  - Typo
  - Code block indentation
  - Put keybindings on one line so they look nicer when viewed in Spacemacs
  - Make one sentence sound better
2017-04-19 22:51:08 -04:00
Max Nordlund 37de114ea5 Fix documentation about replace mode
There is in fact a replace mode in vanilla Vim, see
http://vimdoc.sourceforge.net/htmldoc/insert.html#mode-replace
and not exclusive to Evil.
2017-04-17 23:43:13 -04:00
Ric da Silva c1e805cb46 Add string inflection to spacemacs-editing
Add string inflection doc
2017-04-17 23:31:58 -04:00
syl20bnr f20ef3477d Remove redundant create-align-repeat "brackets" 2017-04-17 23:27:24 -04:00
Nikolai Myllymäki ec08c9d734 Fix links and instructions in beginners tutorial
- Fix broken org link, make links relative as in other documentation and get
them to work correctly in github, spacemacs.org and Spacemacs.

- Add instructions for copying the tutorial and editing it for org mode intro
purposes. The instructions for testing org-mode did not work when the tutorial
was opened in read-only mode.

- The link to the FAQ was said to be online while it would open inside
Spacemacs when clicked. The wording is improved to reflect the actual
behaviour.

- Replace instances of "enter" with "~RET~".
2017-04-17 23:18:35 -04:00
smile13241324 c8e8280660 Add missing "m key" to debugging and help base prefix 2017-04-17 23:11:00 -04:00
Phil Pirozhkov 2dc9feafb4 Update Evil repo
Gitorious is now defunct and Evil moved to Bitbucket
2017-04-17 22:42:08 -04:00
Steven Allen 830b252bdc Change the frame-killer mapping to `SPC q f`
It was `SPC q z` but:

1. 'z' is not a mnemonic for "frame" (although it may be more familiar to vim
   users).
2. More importantly, it's *really hard* to type 'qz' on a qwerty keyboard.
2017-04-17 22:41:11 -04:00
syl20bnr ff0bd88b0c Move all "new empty buffer" key bindings under SPC b N
and add documentation
2017-04-17 22:10:16 -04:00
smile13241324 289e963218 Remove CUSTOM ID from documentation to fix #8216
Previously we entered the CUSTOM IDs manually into the
documentation files to fix the html export.
However today this is done automatically during export.
In this case the manually added ids are interfering
with this process and consequently are visible in the
web pages. Therefore I have removed them again.
2017-04-17 18:37:26 -04:00
syl20bnr a4be86cb5d Update documentation to remove explicit mentions to helm
Move some helm explicit sections the helm layer README.
2017-04-16 11:14:59 -04:00
duianto c9e21e0e53 Update doc/LAYERS.org: Fix 2 Use-package titles/links
problem:  The TOC link: Layers tips and tricks > Use-package
          navigates to: The Emacs loading process > Use-package
solution: Rename: Layers tips and tricks > Use-package
          to: Layers tips and tricks > Use-package init and config
2017-04-16 11:14:59 -04:00
Sebastien Duthil b756498ae8 fix some typos in the docs 2017-04-16 11:14:59 -04:00
Jonathan Arnett 817f6e9fc0 Minor typo fix
Change "no tied to" to "not tied to" for the `keybindings.el` file description.
2017-04-13 00:31:51 -04:00
syl20bnr f7599c4665 core: Fix spacemacs/diminish-undo and add documentation about it 2017-04-13 00:17:24 -04:00
Reverend Homer 4c3e3b86a7 doc: fix typo 2017-04-12 23:47:30 -04:00
syl20bnr d65cd1ebd9 Add documentation for SPC x a { 2017-04-11 23:50:06 -04:00
syl20bnr bb57dc8cd9 Move symon to spacemacs-modeline layer 2017-04-11 23:36:13 -04:00
syl20bnr 5cb0fd735b doc: fix nesting 2017-04-10 00:07:10 -04:00
John Wood de6284d963 Fix typos 2017-04-09 17:17:50 -04:00
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 87cd00eac7 conventions: update debug conventions
Step in and Step out are now, i and o respectively.
Inspect a value is now v.
Next step is now s.

These new conventions better fit evilificiation.
2017-02-12 13:02:55 -05: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 9ab4453029 Add convention for clean build project. 2017-02-03 11:40: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 0c04d3892d doc: add mention of `layers.el` file in LAYERS.org 2017-01-15 23:14:20 -05:00
bmag 0c3afd5a3f Fix old documentation of loading order 2017-01-13 23:11:38 +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
smile13241324 84c36ade86 Fix links in documentation which breaks org html export
Since org 9 internal links must be declared either as #customID
or textTargetOrFullTextSearch. Relative path links must
be either file:relative/path or ./relative/path. Many links
are using the #customID form to trigger a full text search which is not
defined as to the org documentation. In addition relative file paths are
declared as relative/path which is also not defined. If this is done
the html export can fail. Therefore these links must be corrected
for the files where they break the html export.
Fixes #8054 for all spacemacs documentation files.
2017-01-12 22:48:57 -05:00
Nikolai Myllymäki f4368bc092
Add info about the fallback fonts 2017-01-04 20:27:52 +02:00
Nikolai Myllymäki 0265aca91a
Add explanation of menu usage and accessing files 2017-01-04 20:27:49 +02:00
Nikolai Myllymäki c5a6006563
Direct font installation link to the right section 2017-01-04 20:27:45 +02:00
Nikolai Myllymäki 2dd0befc6a
Add Spacemacs ABC and Gitter chat to further info 2017-01-04 20:27:40 +02:00
Nikolai Myllymäki 4de3611648
Improved link formatting, minor text edits
Also fixed a broken link
2017-01-04 20:27:30 +02:00
Leandro Lisboa Penz 998f5dcf9a
Fix a link on beginner's tutorial 2017-01-04 20:26:17 +02:00
syl20bnr 74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00
John Stevenson 8840c94448 evil-escape documentation link update
Updated the FAQ evil-escape documentation link to point to the "14.1.1 Escaping" section of the documentation, where the evil-escape function is described.

Currently the FAQ evil-escape documentation link points to http://spacemacs.org/doc/DOCUMENTATION.html#orgheadline78, which takes you to the "13.1 Layouts" section of the documentation.
2016-12-27 19:20:00 +00: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
Rory O’Kane 31bc9425ff Fix typo in beginner’s tutorial – “differend” 2016-11-20 18:54:48 -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
syl20bnr c379cd46cd Beginnier tutorial: refill paragraphs to respect 80col/line 2016-11-07 10:05:27 -05:00
Nikolai Myllymäki 8dd2eb410f Add beginners tutorial - further amendments
Amend suggested fixes:
- Add chapter on key notation
- Fix document structure according to conventions
- Add note on emacs path on Windows
- Expand on evil and emacs mode explanations
- Expand on first startup procedure
- Various typo fixes and clarifications
2016-11-07 10:02:45 -05: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
Peter Nagy 781aa079ab Update layer docs for packages.el to note where should local packages reside
The information about location of local packages is noted in the parent section. While this can be considered enough I kept re-reading `packages.el` and couldn't find the information. Adding the information here as well makes the section more self-contained.
2016-10-17 13:56:53 +02:00
syl20bnr 5e4f609a19 FAQ: add explanation about the usage of the word "distribution" 2016-10-09 12:25:56 -04:00
bmag c337eb083e Paste TS: fix doc 2016-10-08 19:36:11 +02:00
Andrew Schwartzmeyer 00e0b99c35 Change 'SPC :' to 'SPC SPC' in quick start
The former was deprecated.
2016-10-08 19:27:11 +02:00
syl20bnr bcf2ce6ca4 Move SPC b k to SPC b C-d 2016-10-03 00:23:15 -04:00
ChuntaoLu e659965a70
fix typo 2016-09-23 10:45:59 +03: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
JAremko 95f4119366 disabled by default centering in space-doc-mode.
Fix centered-buffer-mode conflict with Emacs 25
2016-09-05 21:12:52 -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
Allen Li 5877d2fd54
Fix references to declare-used-layer(s) in docs 2016-08-25 21:01:31 -07: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
JAremko 328c6b81aa Add aspect ratio check for centering.
Fix git conflict.
minor improvements and cleanup.
2016-08-21 17:29:19 +02:00
JAremko 7140e8dfa8 Add extra checks, cleanup
simplify space-doc customization

rearrange defcustom groups

more checks
2016-08-21 17:29:16 +02:00
JAremko 9ba525cdde simplify space-doc-mode
refactoring
2016-08-21 17:29:13 +02:00
Eivind Fonn e94ab321cd faq: add exec-path-from-shell entry 2016-08-21 17:25:36 +02: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
syl20bnr 1e64768fb7 core: rename dotspacemacs-download-packages
Rename dotspacemacs-download-packages to dotspacemacs-install-packages
to better reflect the changes in the previous commit.

Also change the value 'used to 'used-only (note that 'used is still
supported for backward compatibility).
2016-08-19 21:31:57 -03: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
d12frosted 72cec40cd2
fix docs for declaring layer dependencies 2016-07-29 14:25:16 +03:00
eareese 421b97f36f Correct key binding 2016-07-26 16:22:03 +09:00
bmag fe60d0fc1e Set buffer-predicate to spacemacs/useful-buffer-p
Prevent next-buffer, other-buffer, etc. from choosing useless buffers.
No need for spacemacs/next-useful-buffer,
spacemacs/previous-useful-buffer anymore.

Also fix spacemacs/alternate-buffer to respect buffer-predicate.

When spacemacs-layouts is used, buffer-predicate filters useful buffer
that belong to the current layout.
2016-07-25 20:02:28 +09:00
ivanbrennan 3c85dd7f0c fix typo in VIMUSERS Customization section
Pluralize "four top-level functions".
2016-07-25 14:03:55 +09:00
Caleb Meyer 94d71cda83
Fix notes on wrong powerline separators
I recently uninstalled railwaycat's emacs-mac-port (the old
recommendation for OS X) and installed @d12frosted's emacs-plus.

When I did that my powerline separators became just slightly off in
color from the rest of the spaceline. Asking on chat yielded that
ns-use-srgb-colorspace is set to true by default but should be nil.
2016-07-22 12:59:29 +03:00
syl20bnr bd50484689 conventions: add code formatting key bindings 2016-07-06 22:10:34 -04:00
syl20bnr 98a4a81375 Add 3000th PR achievement
Goes to darkfeline.
2016-07-06 21:57:39 -04:00
JAremko f9a846d2ee Integrate centered-buffer-mode and space-doc-mode. 2016-07-06 21:27:34 -04:00
JAremko 7a52759aa3 Rework buffer centering mode.
Add functions:
  - `spacemacs/maximize-horizontally` `SPC w _`
  - `spacemacs/toggle-centered-buffer-mode` `SPC w c`
  - `spacemacs/centered-buffer-mode-full-width` `SPC w C`
2016-07-06 21:27:17 -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
JAremko e3c86859b3 refactor space-doc, add to the FAQ. 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
syl20bnr 829f00a824 Add more info for fish shell and ansi-term 2016-06-22 23:28:41 -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
Eivind Fonn 92b48eadea 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 22:05:56 -04:00
syl20bnr 117dcba0ed Revert "Drop support for Emacs 24.3"
This reverts commit 31bab70397 making
a new commit to put TheBB as the author.
2016-06-20 22:05:12 -04:00
syl20bnr 31bab70397 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 21:55:36 -04: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
d12frosted 52202cc927
fix double equals sign in FAQ 2016-06-17 09:28:09 +03: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 f23ecf0b12 Rename `+distribution` to `+distributions` 2016-06-08 22:17:04 -04:00
Markus Koller 58bb7d122f spacemacs-base: Always kill buffers with SPC b d
Fixes #4929
2016-06-05 21:22:50 -04:00
Allen Li 5c1f56f636 Use defconst in LAYER documentation 2016-06-02 23:14:55 -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
syl20bnr 60f5a3a0fa New dotfile variable dotspacemacs-download-packages
This new variable replace dotspacemacs-delete-orphan-packages

It defines the behaviour of Spacemacs when downloading packages.

Possible values are `used', `used-but-keep-unused' and `all'.
- `used' will download only explicitly used packages and remove any
unused packages as well as their dependencies.
- `used-but-keep-unused' will download only the used packages but won't
delete them if they become unused.
- `all' will download all the packages regardless if they are used or
not and packages won't be deleted by Spacemacs.

Default value is `used`.
2016-05-30 22:58: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
sooheon 15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
MadAnd 87f5d89d3e FAQ.org: fix text 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 9502ed1f86 Add FAQ entry about font settings 2016-05-05 15:13:30 +02:00
Li Xinyang 22a47a5e97 Fix a typo 2016-05-05 12:57:13 +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
tj@data-driven.de 65faafd766 Improve dotdirectory section of QUICK_START.org. 2016-04-21 20:58:53 -04: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