Commit graph

893 commits

Author SHA1 Message Date
syl20bnr
d28990537f Add new variable dotspacemacs-import-env-vars-shell-file-name
Used to fetch the environment variables. This allows to keep shell-file-name
untouched.
2018-06-15 02:40:44 -04:00
syl20bnr
9ee832955a core: async import of env.vars and add new dotfile variable
* new variable dotspacemacs-import-env-vars-from-shell
 * asynchronous import of environments variables
 * move loadenv function to funcs.el
 * update documentation
2018-06-15 01:38:07 -04:00
Carl Lange
d423965862 add a bit of documentation about setting the server socket 2018-06-14 00:42:15 -04:00
syl20bnr
c12b72090c Cache PATH and env vars. fetched with exec-path-from-shell
See updated documentation in this commit.
2018-06-11 03:54:51 -04:00
syl20bnr
1ddd843130 Update conventions for test generation 2018-06-09 00:36:32 -04:00
syl20bnr
5004e05d44 Add hybrid-style-visual-feedback variable 2018-06-08 02:32:05 -04:00
syl20bnr
434df17f8b Rename hybrid-mode-xxxx variables to hybrid-style-xxxx
Use aliases to retain backward compatibility.
2018-06-08 02:24:38 -04:00
syl20bnr
2b4d90ba20 Set default value of vim-style-visual-feedback to nil 2018-06-08 02:24:38 -04:00
syl20bnr
9539e4206d Rename Vim style related variable to vim-style-xxxxx
Update the documentation
Define alias for backward compatibility
2018-06-08 02:24:38 -04:00
syl20bnr
e39b3495bd Add vim-style-visual-feedback variable and documentation 2018-06-08 02:24:38 -04:00
syl20bnr
834c39c2fd Update promotion and demotion conventions and apply them to markdown 2018-06-06 01:15:48 -04:00
Miciah Masters
e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Guido Kraemer
769add7c7e add keybinding to documentation 2018-06-02 18:34:30 +03:00
Codruț Constantin Gușoi
390462e36d Adds some profiling keybinding under SPC h P 2018-05-31 01:23:02 +03:00
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