Commit graph

1092 commits

Author SHA1 Message Date
justbur
1c94c84c09 bind-map: Add evilified state to evil major-mode keys
Fixes problem referred to in #4495
2016-01-08 20:52:53 +01:00
syl20bnr
c34c9d0acc ansible: refactor the configuration and change a key binding
use post-init functions and move `SPC m a ?` to `SPC m h a`.
2016-01-07 15:20:27 -05:00
syl20bnr
da94a257d9 auto-completion: refactor yasnippet config
- Move all setq outside of spacemacs/load-yasnippet
- Explicitly add each snippet dirs, even the one in elpa dir

Before this commit I still get error on yasnippet loading, with this
commit the error is gone.

I hope we get yasnippet loading right this time! :-)
2016-01-07 00:14:32 -05:00
Eivind Fonn
0a1b6f5690 Some yasnippet loading tweaks
- Don't enable yasnippet before setting folders (avoid explicitly
  loading them)
- Require yasnippet manually to get the yas-snippet-dirs value
- Don't include yas--default-user-snippet-dir (this is
  ~/.emacs.d/snippets)
- Allow `auto-completion-private-snippets-directory` to also be a list
  of directories
2016-01-06 23:37:25 -05:00
Eivind Fonn
c034acaa4b Fix jumping to nil perspectives 2016-01-06 23:35:01 -05:00
Eivind Fonn
0d273485ae Fix rbenv loading 2016-01-06 23:33:12 -05:00
Travis B. Hartwell
7fc743d255 Make sure the keymaps are set for ledger-mode.
Found in some cases that the major mode leader bindings were not set
until switching to holy mode and back.  This hook makes sure that isn't
necessary.
2016-01-06 00:49:27 -05:00
syl20bnr
cacc893c1d ocaml: move smartparens config to post-init function 2016-01-06 00:40:57 -05:00
Török Edwin
5b3719845a delay sp-local-pair initialization until after smartparens is loaded
otherwise on startup sp-local-pair wasn't set, but after 'SPC feR' it was.

use with-eval-after-load
2016-01-06 00:34:28 -05:00
Boris
c7771e5f3b fix docstring for private eyebrowse layer function 2016-01-06 00:29:26 -05:00
justbur
50ade79bc8 emacs-lisp: Fix mode hook
Fix incorrect use of spacemacs/add-to-hook which used emacs-lisp-mode
for the hook variable. Since we are only adding a single function to the
hook, just use add-hook.
2016-01-06 00:29:00 -05:00
justbur
f3c650472c transparency: Better version of toggle transparency
Before we could get an error if for some reason the user set the alpha
parameter to something other than a cons cell.

Ref #4388
2016-01-06 00:26:53 -05:00
syl20bnr
cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Matt Baker
4a3de3be0a Clarify README regarding the installation of the os x layer 2016-01-05 21:40:00 -05:00
syl20bnr
29a7eab537 Remove unneeded variable spacemacs-mode-line-new-version-lighterp 2016-01-05 12:50:21 -05:00
Eivind Fonn
de17125e6d Fix void variable error for new version segment 2016-01-05 15:31:51 +01:00
Jonathan Boiser
fb1b94047e Add monokai-theme to themes-megapack. Fixes #4254. 2016-01-05 01:34:46 -05:00
Sebastian Wiesner
f074c3887b Bind hn to view-emacs-news 2016-01-05 01:27:25 -05:00
syl20bnr
2f479eedc3 holy-mode: fix handling of evil-escape 2016-01-05 00:58:05 -05:00
Sebastian Wiesner
f707993d2e scala: Fix typo in variable name
Sorry :(
2016-01-05 00:44:10 -05:00
justbur
8a5882ec6b evil-jumper: Move bindings to global motion map
Having them in a minor mode map gives them precedence over other minor
modes. It's better to put the bindings in the same place as the original
evil jump commands which is the global motion map.
2016-01-05 00:40:16 -05:00
syl20bnr
1fc798139b nyancat: Add support for emacs --daemon and GUI client 2016-01-04 23:48:55 -05:00
syl20bnr
c913ec89f8 Improve support for GUI client of emacs --daemon
Fix spacemacs|do-after-display-system-init
Delay setup of spaceline separator
Explicitly reload the theme for the first GUI client
2016-01-04 23:18:45 -05:00
Fabien Dubosson
dba8e0b661 Remove bepo hack and use evil-magit state 2016-01-05 01:05:50 +01:00
Fabien Dubosson
3cb1b6ec74 Add a temporary hack to make bepo work with magit 2016-01-04 23:08:56 +01:00
syl20bnr
a9f9c1bd97 Fix some links in README.org files 2016-01-04 02:00:18 -05:00
syl20bnr
4b94de0623 Update LAYERS.org 2016-01-04 02:00:04 -05:00
Erwan Loisant
5361447599 Auto-activate for react native index files 2016-01-04 00:23:56 -05:00
Diego Berrocal
734cf98b3e Add eshell keybindings for exiting and clearing
Define an eshell clear function and avoid duplicates for history in
eshell
2016-01-04 00:07:46 -05:00
Robert O'Connor
7dcbde1a95 Add push to matching branch to git layer README 2016-01-03 23:57:17 -05:00
syl20bnr
2d20a46b16 org: update doc for SPC m D 2016-01-03 23:52:35 -05:00
syl20bnr
b0e4232868 latex: move folding on SPC m z and update doc 2016-01-03 23:51:19 -05:00
syl20bnr
96a648d1da Update deprecation TODO to 0.106 2016-01-03 22:46:01 -05:00
Christoph Paulik
cbabf88325 Add binding for org-drawers and fix drawer surround 2016-01-03 22:23:13 -05:00
Diego Berrocal
877fc32eb7 Add Align-cljlet function to Clojurescript mode
Derived modes don't inherit evil keybindings from their parents, this is
interesting to note, also it would be so great if we could have a
`set-leader-keys` macro that could take a list of modes as well.
2016-01-03 22:23:13 -05:00
Muneeb Shaikh
1d79589e7c layout: make layout name shorter in microstate line
If layout name is long path, it takes up too much space.
2016-01-03 22:23:13 -05:00
Yiming Chen
954104a792 Bind g and G in helm micro state
Fix #4233
2016-01-03 22:23:12 -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
Bjarke Vad
5c92f7dc2c [haskell-layer] Fixed ghci-ng for stack projects 2016-01-03 22:23:12 -05:00
justbur
93cfc876a6 latex: Add tex-fold-mode option and reorganize
Add the latex-enable-folding variable which turns on TeX-fold-mode and
adds some related bindings.

Reorganize the layer:
1. Move reftex into packages.el and delete the extensions file.
2. Don't duplicate the binding of keys. Use a loop to bind in tex-mode
   and latex-mode. Then just add the additional latex-mode bindings
2016-01-03 22:23:12 -05:00
justbur
f3d3404bdb latex: Fill out bindings some more
1. Add ,, and ,k for C-c C-c and C-c C-k.
2. Add useful auctex commands (C-c C-[key] => ,[key]).
2016-01-03 22:23:12 -05:00
justbur
9051fffd7c latex: Fix enabling of minor modes
TeX-PDF-mode and TeX-source-correlate-mode are minor modes with the
usual functions. They should be enabled using the functions and not by
setting the variables as their docstrings both state.
2016-01-03 22:23:12 -05:00
Joe Hillenbrand
66e2da22ac puppet: remove puppetfile-mode
puppetfile-mode package no longer exists.

69d3c7a24a
http://melpa.org/#/puppetfile-mode
2016-01-03 22:23:12 -05:00
justbur
564e2611bf Fix transparency toggle
The docs state that the parameter should be a cons cell instead of a
list. Cleaned up the toggle function a bit, too.
2016-01-03 22:23:12 -05:00
Diego Berrocal
01d3c007cc Fix #4279 Comint mode showing weird symbols
Before:
[![alt](https://i.imgur.com/4BKayT5.png)](https://i.imgur.com/4BKayT5.png)

After:

[![alt](https://i.imgur.com/AGg3mt9.png)](https://i.imgur.com/AGg3mt9.png)
2016-01-03 22:23:12 -05:00
Xue Fuqiao
e8e679ba6d Re-enable lockfiles 2016-01-03 22:23:12 -05:00
Justin Holguin
d9e42e4c28 idris: use popwin/motion state for special buffers
Idris development results in a lot of transient popup buffers, which
the layer currently doesn't handle particularly well. This commit uses
popwin so that these special buffers appear in a predictable location
and opens them in motion state so that they can be closed immediately by
pressing ~q~.

These changes are largely based on the Clojure layer, which has worked
very well in my experience.
2016-01-03 22:23:11 -05:00
Boris
14699cb8de don't force elfeed-org 2016-01-03 22:23:11 -05:00
Sebastian Wiesner
c8e1ee0026 scala: Automatically insert asterisk in multiline comments 2016-01-03 22:23:11 -05:00
Sebastian Wiesner
ffb4eded3a Keep cleaning up whitespace in scala-mode
Remove the advise around scala-indent
2016-01-03 22:23:11 -05:00
Eivind Fonn
fd014b6908 Add some text objects 2016-01-03 22:23:11 -05:00
Christoph Paulik
ab0abb823c Remove custom write-file function, use save-buffer
Could not find a use case where the custom function performs differently
it is just missing functionality for indirect buffers.
2016-01-03 22:23:11 -05:00
isphinx
9b0ae1d214 rust: add a keybinding for jump to definition 2016-01-03 22:23:11 -05:00
Fabien Dubosson
e3f23ea920 Use spacemacs/set-leader-keys in the bepo layer 2016-01-03 20:41:25 +01:00
Fabien Dubosson
e6733ba552 Map elfeed bindings in the bepo layer 2016-01-03 20:41:02 +01:00
Jean-Christophe Petkovich
421b49c7e5 Change octave-mode keys to mirror other modes.
The keybindings in octave-mode don't follow the same standards as the
others. Also use the function `spacemacs/set-leader-keys-for-major-mode`
for setting mode specific keys.
2016-01-03 14:29:49 -05:00
Eivind Fonn
24d0fe3b7b Set helm-org-format-outline-path to t by default
Also ensure FAQ source works regardless of this setting
2016-01-03 18:30:41 +01:00
Eivind Fonn
02585f72a2 Fix ruby-end hook removal 2016-01-03 15:49:38 +01:00
Eivind Fonn
50e1fd6e65 Fix call to eyebrowse-rename 2016-01-03 15:49:22 +01:00
Eivind Fonn
208b1ca158 Fix layouts TAB behavior 2016-01-03 15:49:00 +01:00
Eivind Fonn
ee42853ac6 Fix helm grep 2016-01-03 15:47:39 +01:00
Fabien Dubosson
92bc0049e8 Change order of arguments in (equal …) to be more explicit 2016-01-03 15:12:56 +01:00
Luke Burton
5fc1033815 Unquote ruby-version-manager variable (fix #4289) 2016-01-03 15:11:11 +01:00
Fabien Dubosson
3e570dd595 Fix markup and justification in Rust auto-completion documentation 2016-01-03 14:32:03 +01:00
Immortalin
66402eb406 Add rust auto-completion documentation 2016-01-03 14:26:39 +01:00
scloudyy
ef5bea1207 Fix push/pull keybindings in git README 2016-01-03 14:17:45 +01:00
Eivind Fonn
8105e19d5e Fix eyebrowse documentation 2016-01-01 13:16:46 +01:00
Eivind Fonn
dee5d7369c Fix haskell SPC mht and SPC mhi 2015-12-29 17:33:33 +01:00
Eivind Fonn
9642c35a6a Fix helm-spacemacs FAQ candidates
Yes helm, please do keep changing your API
2015-12-27 13:03:20 +01:00
Fabien Dubosson
374e37e32c Add information about global-git-commit-mode
Fix #2522
2015-12-21 13:56:38 +01:00
syl20bnr
f9bd708311 elfeed: move J binding to gu and update documentation 2015-12-21 01:19:19 -05:00
Gergely Nagy
d9068c2154 elfeed: Add an unjam keybinding
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-12-21 01:14:49 -05:00
Wieland Hoffmann
31c73913b5 Remove rxt-fontify-regexp-at-point
It has been removed from pcre2el more than a year ago with
e1e8593db1.
2015-12-21 01:07:52 -05:00
Fabián Heredia Montiel
1f4d034897 Add badwolf-theme to themes-megapack layer 2015-12-21 01:00:27 -05:00
justbur
864fd54209 Use spacemacs/set-leader-keys in evil-lisp-state config
Given the intended behavior of having evil-lisp-state-map available
under SPC k, it is simplest to bind it directly to
spacemacs-default-map.

This requires no changes to evil-lisp-state itself.

Fixes #4151
2015-12-21 00:59:24 -05:00
Fabien Dubosson
275f645f94 Fix web-mode and erc-log micro-states bindings
Without this change, `erc-log-micro-state` is overriding all `SPC m .`
bindings, and `web-mode` micro state is under `SPC m m .`.
2015-12-21 00:57:48 -05:00
justbur
0b02475772 Use built-in evil functions to set default states
evil-set-initial-state is safer than manually adding and deleting from
the lists, because it knows about all available states and ensures that
the mode only shows up in one list. If it is in multiple list the
initial state depends on which is checked first, which we don't want.
2015-12-21 00:22:18 -05:00
syl20bnr
5463a370bd holy-mode: fix toggle rule regression
From doc:
SPC t e E toggles between vim and emacs styles (corrected)
SPC t e h toggles between vim and hybrid styles (was correct)
2015-12-21 00:14:46 -05:00
justbur
27fa611af6 holy-mode: Disable certain modes on activation
Includes evil-escape-mode and hybrid-mode for now, but more can be added
to holy-mode-modes-to-disable-alist.
2015-12-21 00:13:34 -05:00
justbur
84a8f124df hybrid-mode: Add option to change default state
Useful for those who want to start in hybrid state with emacs bindings.
2015-12-21 00:13:29 -05:00
justbur
1d05f3887a holy-mode == (evil-mode -1)
The proper holy-mode (IMO). Simply disable evil-mode and reset the
cursor and mode-line settings.
2015-12-20 23:25:48 -05:00
syl20bnr
a5022743e5 core: remove dash and f from boostrap and attempt to remove evil
Cannot remove evil due to bind-map requiring it.
2015-12-20 23:00:09 -05:00
Eivind Fonn
49cb5b3510 Fix eyebrowse/layouts layer re-syncing 2015-12-20 13:40:21 -05:00
syl20bnr
522366bbd1 spacemacs: hide cursor in helm buffers
fixes #4236
2015-12-20 01:16:36 -05:00
syl20bnr
e3a816b37d org: move orgit to git layer and add documenation 2015-12-20 01:02:12 -05:00
Mikhail Skorzhinskiy
76ebff66f0 org: support org links to magit buffers 2015-12-20 00:52:53 -05:00
syl20bnr
88fba59879 evilified-state: normalize modified evil keymaps
on visual state entry
also remove ESC key binding in evilified state
2015-12-20 00:49:52 -05:00
syl20bnr
8d76f600b2 purescript: move SPC m m t to SPC m h t
by convention
2015-12-19 22:51:01 -05:00
Christoph Hegemann
acd3ffcdd3 adds psc-ide support to purescript layer 2015-12-19 22:49:00 -05:00
Fabien Dubosson
af76cd85e4 Add C-[jk] to navigate entries in elfeed-show 2015-12-19 22:37:10 -05:00
KK
5dfbc5f3cd Update package version in Quick Start with lein 2015-12-19 22:35:00 -05:00
syl20bnr
db5901b3be python: Remove call to dash -when-let
Plus remove unnecessary defer t
2015-12-19 22:33:24 -05:00
Fredrik Bergroth
577e7b2d86 Auto-activate local pyenv version 2015-12-19 22:30:07 -05:00
Driftcrow
c9c3d685ea fix toggle-truncate off bug 2015-12-19 23:19:43 +01:00
Eivind Fonn
03c83e169c helm-spacemacs: Fix FAQ source
See commits regarding https://github.com/emacs-helm/helm/issues/1294
2015-12-18 11:27:37 +01:00
Eivind Fonn
11daa77866 Fix #4215 2015-12-17 20:38:21 +01:00
Eivind Fonn
4ccc4f9f13 Remove custom persp segment
Ported to Spaceline
2015-12-15 00:18:54 -05:00
Eivind Fonn
fb8ca59583 Remove custom fancy battery modeline
Now in Spaceline
2015-12-15 00:18:47 -05:00
Fabien Dubosson
b199706f40 Bepo layout improved 2015-12-15 00:25:44 +01:00
syl20bnr
17fae46f8b evilified state: fix visual state bindings
Clear the normal state keymap when in visual state
2015-12-14 00:38:02 -05:00
Martin Yrjölä
26a4b9c55e Eyebrowse doesn't have a lighter anymore
Fixes #4172
2015-12-13 15:46:03 -05:00
syl20bnr
abf121d4b8 Revert "eyebrowse: remove diminish"
This reverts commit 8ae367e558.
2015-12-13 15:45:50 -05:00
syl20bnr
8ae367e558 eyebrowse: remove diminish
Seems unnecessary and triggers an error on startup.
2015-12-13 15:41:24 -05:00
syl20bnr
59c72c59b4 vim-powerline: remove exclusion of spaceline
Now that the layer can work with the MELPA version of powerline we
don't need to exclude spaceline.
2015-12-13 15:41:24 -05:00
syl20bnr
34a5c83a73 vim-powerline: remove extensions.el and vim-powerline-excluded-packages 2015-12-13 15:41:24 -05:00
syl20bnr
ae51f97ce6 vim-powerline: add explicit dependency on powerline
Simplify the local files and make them work smoothly with the MELPA
version of powerline

Fixes #4093
2015-12-13 15:41:24 -05:00
Eivind Fonn
edd7364db8 Fix smartparens bindings 2015-12-13 01:44:26 -05:00
Bar Magal
ddb806827f Add command-log layer: logs key strokes, commands
Uses command-log-mode package, useful for createing demos.
2015-12-13 01:37:46 -05:00
dptd
0144b39a3b removed unnecessary white char 2015-12-12 23:02:53 -05:00
justbur
7eefe0df2f spacemacs-base: Don't use obsolete variable
default-fill-column is marked obsolete since 23.2. Use setq-default on
fill-column.
2015-12-12 23:02:24 -05:00
Michel Kuhlmann
4ff861dbef ess: fix company-mode 2015-12-12 23:01:43 -05:00
Sebastian Wiesner
3aa8e755dd Compare system-type as symbol
As per documentation, system-type holds a symbol denoting the OS type; let's treat it as such.
2015-12-12 10:58:12 +01:00
syl20bnr
dac714cdd6 evilified-state: allow back and forth between normal and evilified
using ESC.
2015-12-11 21:24:33 -05:00
syl20bnr
4a6fd1b364 core: hide mode-line at startup 2015-12-11 03:07:15 -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
justbur
f2878d594a core: Factor out spacemacs-buffer creation
Factor out the code related to creating the spacemacs buffer, so that it
can be recreated easily if it gets deleted.
2015-12-11 02:25:19 -05:00
Diego Berrocal
8fb3af3e56 Add ability to **add** a layer in helm-spacemacs
I've been introducing tons of people to Spacemacs, and most of them
always think that having to read documentation in how to add a layer is
too much.

I made this modification to make it easier to install layers.
2015-12-11 02:13:17 -05:00
Daniel Luna
cf11545cc4 spacemacs/sudo-edit working on remote ssh buffers with multi-hops 2015-12-11 02:11:32 -05:00
Eivind Fonn
ac0ba50154 Make flycheck/flyspell hooks more explicit 2015-12-11 02:08:55 -05:00
Darian Moody
a221be59a6 Add leader support for alchemist-mix-rerun-last-test
A command in Alchemist which allows a user to rerun the last test ran.

See https://github.com/tonini/alchemist.el#testing for command docs.
2015-12-11 02:08:23 -05:00
Joe Hillenbrand
310a6c9a9c haskell: haskell-process-load-or-reload is obsolete
Fixes:

    `haskell-process-load-or-reload' is an obsolete command (as of
 2015-11-14); use `haskell-process-load-file' instead.
2015-12-11 02:06:26 -05:00
syl20bnr
4601747910 Chinese: fix typo and formulation in README 2015-12-11 02:03:02 -05:00
codefalling
c64f438ca0 improve document of fcitx.el and disable it in Windows
fcitx.el works with `fcitx-remote` in Linux or `fcitx-remote-for-osx` in
Mac OS X.But not working in Windows.
2015-12-11 01:58:28 -05:00
syl20bnr
f20dfec4db ruby: use post-init func for smartparens config 2015-12-11 01:55:37 -05:00
Bar Magal
995a5a0f88 Fix early call to smartparens in ruby
sp-with-modes was called before smartparens was loaded, so wrap it in a
with-eval-after-load.
2015-12-11 01:49:01 -05:00
Jonathan del Strother
a62da0f4ae Add ,tb binding for rspec-verify 2015-12-11 01:48:32 -05:00
Tim Buchwaldt
724efaaa79 Add new alchemist-iex-reload-module functionality
Since https://github.com/tonini/alchemist.el/commit/395e6717
calling `alchemist-iex-reload-module` reloads the module in
the current buffer via `r(Module)`

(Also my first contribution to spacemacs, hope I'm holding it right)

Update Readme to reflect changes to packages.el
2015-12-11 01:36:16 -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
syl20bnr
da2a7b8729 spacemacs-layout: temporary switch to a fork of persp-mode
Waiting for PR https://github.com/Bad-ptr/persp-mode.el/pull/25
to be merged or a proper fix.
2015-12-11 01:04:09 -05:00
Fabien Dubosson
1a3c3a0fdb Add missing parenthesis in evil-snipe README 2015-12-10 22:08:20 +01:00
syl20bnr
eaf6b8c134 selectric: tweak configuration, declare SPC C-t prefix name 2015-12-09 18:56:08 -05:00
Gergely Nagy
354948fd7d New +fun layer: selectric
This layer makes Emacs sound like a typewriter, for those moments when
one's loud, clicky mechanical keyboard is not at hand, yet, one would
still wish to enjoy its sound.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-12-09 18:56:08 -05:00
Eivind Fonn
98c07024f9 Fix flycheck clang args loading (zhengyangfeng00) 2015-12-09 12:35:06 +01:00
Eivind Fonn
549219e583 Fix C/C++ flycheck hooks 2015-12-09 12:18:20 +01:00
William Casarin
c4a80efcb8 keybinding: ck -> kill-compilation 2015-12-09 01:31:42 -05:00
syl20bnr
9151f4b7e8 octave: update README and change SPC m h d for SPC m h h 2015-12-09 01:30:01 -05:00
Ista Zahn
b0945bef20 add octave layer
add octave layer
2015-12-09 01:27:26 -05:00
justbur
76d82869a8 bind-map: Define minor-mode name
New bind-map option allows defining the name for the overriding-mode.
This does that and removes the now redundant :evil-use-local option.
2015-12-09 01:25:19 -05:00
syl20bnr
0860d64660 Replace old evilify macro for neotree 2015-12-09 01:22:43 -05:00
syl20bnr
4a75ab4dfb Require helm in spacemacs/helm-open-junk-file 2015-12-09 01:14:15 -05:00
Muneeb Shaikh
7309c861f0 junk: open junk file using helm, allow searching with prefix
Also renamed `open-junk-file-directory` to new var
`open-junk-file-format`
2015-12-09 01:10:12 -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
AdrieanKhisbe
ccb5ce5578 Add new keys in help-mode for navigation
Add keys to browse back and forward in help-mode

cf #2698

Add new key in help-mode

Last changes for motion in help buffer
2015-12-09 00:59:07 -05:00
person808
2fa11f8c22 Fix extra dash in org documentation. 2015-12-09 00:58:04 -05:00
Bar Magal
0ce04e0518 Evilify Neotree 2015-12-09 00:55:44 -05:00
syl20bnr
086c11af2c git: add SPC m a for with-editor-cancel 2015-12-09 00:53:33 -05:00
justbur
01b9b29d0b with-editor: Update keys for c-c c-c convention
Add `,,` for finish and use `,k` for cancel instead of `,a`.
2015-12-09 00:52:50 -05:00
syl20bnr
eb7ca651fe spacemacs-layout: simplify spacemacs/helm-perspectives
Also reindent some sexps.
2015-12-09 00:48:58 -05:00
Muneeb Shaikh
7b931a9f5b Switch to Spacemacs Home on creating *new* layout 2015-12-09 00:45:22 -05:00
zilongshanren
81aea286ad Chinese layer: add fcitx support 2015-12-09 00:43:56 -05:00
syl20bnr
410d3d9572 git: add gr and GR bindings to evilfiied magit buffers
since magit uses keymap text properties we need to explicitly define
them in each section keymap. Could be refactored a bit.
2015-12-08 02:10:06 -05:00
syl20bnr
30e9a294d9 evilified-state: use a copy of evilified-state
instead of the map itself.
2015-12-08 02:08:50 -05:00
syl20bnr
e0b3f5e1de spacemacs-base: enable hl-todo only when needed 2015-12-07 22:59:14 -05:00
Eivind Fonn
d75e5254e5 Make framework layers depend on language layers
- Ruby on rails: Ruby
- Django: Python
2015-12-07 22:36:40 +01:00
Eivind Fonn
f3815505af Add documentation for emacs-style vc binding 2015-12-07 19:49:27 +01:00
Muneeb Shaikh
e6f3835add vc: add emacs style [p]revious binding for prev-hunk 2015-12-07 19:44:27 +01:00
Fabien Dubosson
6def1a480b Use hl-todo for TODOs/FIXMEs highlighting
The current way to highlight TODOs is `spacemacs/highlight-TODO-words`
which is a spacemacs' hard-coded function.

This commit changes it for the `hl-todo` package. This imply:

- More keywords are supported out of the box.

- Keywords are associated to faces, so they are shown in different
  colors.

- Keywords are stored with their faces in a list, so it's easier for
  users to add their own keywords and faces (as contrary to a regexp).

- It is possible to disable highlighting by simply excluding the
  package.
2015-12-07 19:39:38 +01:00
Channing Walton
49b06a7c8a Added a keybinding for inactive time stamps in the org layer 2015-12-07 19:36:14 +01:00
Gergely Nagy
2b89037a7c +tools/elfeed: elfeed-goodies is on MELPA now
No need for a :location anymore, elfeed-goodies is on MELPA now.

Signed-off-by: Gergely Nagy <algernon@cloudera.com>
2015-12-07 19:34:29 +01:00
Muneeb Shaikh
d18a6e1d2e layouts: add go to default layout functionality 2015-12-07 19:29:56 +01: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
Eivind Fonn
b943d00ae4 Remove magit-push-always-verify documentation
It was removed upstream: 9e4f84f631
2015-12-07 11:23:24 +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
4d357cf001 git: enable gravatars in magit buffers
The default value is nil since magit 2.3.0
2015-12-06 20:19:44 -05:00
Eivind Fonn
8d3164f8ca Eyebrowse layer keybinding refactoring
- Move eyebrowse microstate to SPC l w
- Make eyebrowse microstate accessible from perspective microstate
- Change eyebrowse helm key to SPC l w w
2015-12-06 01:42:40 -05:00
Bar Magal
b905cb5d91 Make eyebrowse workspaces local to perspective
Integrates persp-mode and eyebrowse, so each perspective has its own set
of eyebrowse workspaces.
2015-12-06 01:40:23 -05:00
syl20bnr
a5ce15f03f Revert "fixed shift+hjkl, added leader major binding, adjusted doc"
This reverts commit 869e529b68.

It shadows `J` in normal state which is an important key binding.
2015-12-06 01:14:53 -05:00
Joe Schafer
52a27af171 emacs-lisp: add missing keys to lisp-interaction 2015-12-06 01:10:00 -05:00
syl20bnr
0438ee43cf evilified-state: better tag for evilified state 2015-12-06 01:06:41 -05:00
syl20bnr
6fd2af2af3 evilified-state: support for magit remap entries in section maps
Add :pre-bindings keyword argument used to restore explicit key binding
in section maps.
2015-12-06 01:04:13 -05:00
syl20bnr
085d8f150a evilified state: fix visual state
reintroduce the pre-command hook which is required for visual state
borrow code from evil-magit to fix ESC bug in visual state in magit buffers
2015-12-05 23:13:40 -05:00
Daniel Luna
e9684f34a2 ruby: add rspec key bindings 2015-12-05 21:36:21 -05:00
syl20bnr
f1ee2c7333 ruby: update doc 2015-12-05 21:19:18 -05:00
syl20bnr
c8ac0c08a9 ruby: remove unused variable ruby-use-ruby-test 2015-12-05 21:08:45 -05:00
syl20bnr
4ef8fcac78 ruby: sort packages and configuration 2015-12-05 21:08:22 -05:00
syl20bnr
9eb8f86b9a ruby: improve configuration for rbenv and rvm
Update documentation
2015-12-05 21:02:40 -05:00
syl20bnr
d1ec732cd4 ruby: improve chruby configuration
Look for a .ruby-version file, if it does not exist then use the
currently activated ruby.

Update documentation.
2015-12-05 20:40:27 -05:00
Immortalin
c5e260f46d ruby: chruby support 2 2015-12-05 20:01:52 -05:00
Bo Jeanes
db5016d75b ruby: Add chruby support 2015-12-05 19:59:42 -05:00
justbur
899123258a keys: Don't specify C-i as a binding key
(kbd "C-i") == (kbd "TAB") so for consistency sake we always bind to TAB
by convention.
2015-12-05 13:18:37 -05:00
R. Haluk Öngör
d498c091bf Enable js-mode snippets in react mode 2015-12-04 00:08:26 -05:00
Diego Alvarez
adc9f6cda0 Update Readme with latest ensime-sbt version
Added a note to use sbt 0.13.9 and remove unnecessary sonata repository
from the instructions.

Finally removed a link to a non existent page and added a link to
ensime-sbt GitHub page for further instructions.
2015-12-04 00:06:10 -05:00
syl20bnr
bef8d26688 Fixes typos 2015-12-04 00:04:46 -05:00
AdrieanKhisbe
6e8d89ef61 Add Documentation about how to avoid conflict
built on #3277 cf #3562
2015-12-04 00:01:32 -05:00
jupl
f9293cb190 Run set-fontset-font only if available
#4026
2015-12-04 00:00:55 -05:00
Allen Li
7e60d534d8 Add term binding for CTRL-Z
Add a binding for stopping jobs in term buffers.
2015-12-04 00:00:14 -05:00
mike-work
b358f6c7f7 added gorename to docs 2015-12-03 23:59:43 -05:00
hyh
979867447e Fix makefile for python version 2.7.10 2015-12-03 23:59:15 -05:00
Eivind Fonn
c3225ad788 Fix smartparens workaround in auto-completion 2015-12-03 23:58:44 -05:00
Adrian Staniec
869e529b68 fixed shift+hjkl, added leader major binding, adjusted doc 2015-12-03 23:56:33 -05:00
Sebastian Wiesner
dc9459305e haskell: Fix command name 2015-12-03 23:54:57 -05:00
vijaykiran
d6be41a4e8 Fix Latin function name
Apparently ` in-nominus-patris-et-filii-et-sipritus-sancti` should be
`in-nomine-patris-et-filii-et-sipritus-sancti`

See: https://en.wikipedia.org/wiki/Trinitarian_formula
Via: https://twitter.com/PeterHilton/status/672133909795196928
2015-12-03 23:54:15 -05:00
Fabien Dubosson
f5584a7f86 Bugfix for spray package loading
And some small UX improvements when on it.

Fixes #3882 (again :-))
2015-12-03 23:53:15 -05:00
syl20bnr
e9f8653a34 Update layer REAMDE title for swift and elfeed 2015-12-03 23:51:31 -05:00
Eivind Fonn
c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
Daniel Choi
2d17a08138 core: fix: 'ahs-edit-mode' func requires argument
func signature is (defun ahs-edit-mode (arg &optional temporary))
2015-12-03 23:49:32 -05:00
ralesi
993300ce4d Fix loading of git gutter fringes. 2015-12-03 23:48:25 -05:00
syl20bnr
afca744880 swift: various fixes
Remove Emacs column in README tables
Update README headers
Use post-init function instead of layer-usedp
Clean stand-alone closing parentheses
Replace deprecated evil-leader/set-key-for-mode
2015-12-03 23:46:52 -05:00
Uri Sharf
bc20b25300 Swift support initial import 2015-12-03 23:34:01 -05:00
syl20bnr
2cfd284332 elfeed: add elfeed-goodies 2015-12-03 23:03:24 -05:00
syl20bnr
2c9e68ae6d elfeed: various fixes
Rename variable `elfeed-web-enabled-on-emacs-startup` to
`elfeed-enable-web-interface`
Change screenshot for a logo
Fix loading of elfeed when elfeed-enable-web-interface is non nil
Replace deprecated functions calls like `evil-leader/set-key` or
`spacemacs|evilify-map`.
2015-12-03 22:56:00 -05:00
d12frosted
df2de47c56 add elfeed layer 2015-12-03 21:25:50 -05:00
Boris
c9de044549 fix typo in haskell readme
Sorry, someone just told me that this script is not working :-P
2015-12-03 13:52:43 +01:00
Fabien Dubosson
b7eb9f52fa Fix a typo in `version-control' README 2015-12-03 13:49:09 +01:00
Eivind Fonn
87b6d3fbe9 Fix vcs microstate documentation 2015-12-01 12:45:37 +01:00
Eivind Fonn
4870030ba1 Auto-set evil-shift-width based on mode settings 2015-12-01 02:19:56 -05:00
syl20bnr
c85dcb6596 speed reading: minor cleanup 2015-12-01 01:46:51 -05:00
AdrieanKhisbe
5a69b6dd9c Extract spray speed reading layer
cf #3882
2015-12-01 01:45:05 -05:00
syl20bnr
22cba50ab6 git: move stage/unstage commands to SPC g S and SPC g U 2015-12-01 01:43:29 -05:00
syl20bnr
74bc25c32c git: add autoloads for popup functions 2015-12-01 01:43:01 -05:00
ralesi
3fb775877b Update git bindings. Make use of popup. 2015-12-01 01:37:48 -05:00
dotneter
658b8dfbf0 dash: Enable zeal on Microsoft Windows 2015-12-01 01:26:39 -05:00
justbur
81765e9f8f keys: Fix #3927
Use new bind-map option to override minor-mode maps with the emacs
leader key.
2015-12-01 01:22:53 -05:00
Eivind Fonn
1e63a4a009 Fix diminish timing of git gutter packages 2015-12-01 01:19:30 -05:00
Allen Li
4321fccb05 Fix issue #3978
Duplicate prefix maps when evilifying maps to fix prefix binding getting
shared and overwritten between maps.
2015-12-01 01:18:01 -05:00
syl20bnr
97ae903317 evilified-state: remove unnecessary pre-command-hook 2015-12-01 00:46:19 -05:00
syl20bnr
1e6e4023e8 evilified-state: handle minibuffer
Fix isearch not working with evilified keys.
Requires last version (3.11 or above) of evil-escape to be fully
functional.
2015-11-30 11:30:18 -05:00
justbur
648a4e9937 keys: Fix #3981
Make bind-map use default behavior of evil-leader, which used local
state maps for global bindings.
2015-11-29 23:21:09 -05:00
syl20bnr
c6e625882f version-control: move SPC T D to SPC T C-d
By convention.
2015-11-29 23:08:38 -05:00
syl20bnr
a41308d528 version-control: convert newlines to unix format 2015-11-29 23:03:38 -05:00
syl20bnr
b843b77f32 version-control: minor changes to respect 80th column 2015-11-29 23:00:57 -05:00
ralesi
792d4471e7 VCS micro-state / Customizable diff margins 2015-11-29 22:44:18 -05:00
syl20bnr
64caca76c3 shell: remove usage of use-package for comint 2015-11-29 22:34:55 -05:00
Jenan Wise
d850fbc9aa declare-prefix-for-mode for all derived clojure-modes.
Previously, prefixes only worked for `.clj` files, not `.cljs`, `.cljx`,
or `.cljc`. `clojure-mode.el` defines derived major modes for each of
those other filetypes.

In other parts of the clojure layer, `(dolist (m '(...` is used to apply
effects to all of the derived modes, but it was missing from the usage
of `spacemacs/declare-prefix-for-mode`.

`cider-repl-mode` was also added to this list.
2015-11-29 12:15:06 +01:00
Jenan Wise
8998c1de71 Declare prefixes for go layer. 2015-11-29 12:14:44 +01:00
Diego Berrocal
07e5a0ca9d Protect prompt in comint-mode 2015-11-29 12:14:01 +01:00
Chris Perkins
d99259bcd5 Add some missing which-key prefixes 2015-11-29 12:12:43 +01:00
Alex Charlton
2e717e8ca5 Declare helm prefixes for scheme layer 2015-11-29 11:57:23 +01:00
Eivind Fonn
1ce8e28dc1 Fix smartparens loading in web-mode 2015-11-29 09:17:37 +01:00
syl20bnr
a19c0f3d24 core: remove spacemacs/set-key funcs and add a new pre-command-hook
This pre-command-hook translates the special key to the corresponding
emacs function key. This effects only happens in terminal, this hook is
a no-op in GUI.

By doing this we attempt to bring more consistency between the GUI
and the terminal regarding TAB and RET keys.
2015-11-28 23:11:48 -05:00
Ben
fb62086b34 Binding added to open Tex-output-buffer 2015-11-28 15:03:05 +01:00
syl20bnr
d5233a9706 core: new spacemacs function to set keys
spacemacs/set-key
spacemacs/set-key-for-state

These functions find normalized keys which should handle as sanely as
possible the GUI and the terminal.

See docstring of spacemacs//normalize-key for more info.
2015-11-28 00:13:31 -05:00
syl20bnr
c1446d3650 Revert "Binding added to open Tex-output-buffer"
`SPC m o` is reserved to the user.

This reverts commit f839f4a6b7.
2015-11-27 21:08:31 -05:00
Ben
f839f4a6b7 Binding added to open Tex-output-buffer 2015-11-27 10:32:51 +01:00
Caleb Meyer
7ea379dbde Changed hotkeys for processes and packages. Fixes #3507.
This commit changes:
<leader> a p from proced to list-processes
<leader> a P from paradox-list-packages to proced
and <leader> a k to paradox-list-packages.
2015-11-27 10:32:51 +01:00
Aku Kotkavuo
d5a63a2794 Clojure: recommend using :repl profile with CIDER
See http://blog.maio.cz/2015/11/cider-slows-down-leiningen-startup-here.html.
2015-11-27 10:32:51 +01:00
Brenton Alker
94ae7b1b40 javascript: Declare prefix for "text" "move" menu 2015-11-27 10:32:51 +01:00
Diego Alvarez
bf0d4dc397 Fix period from triggering complete
Fixes https://github.com/syl20bnr/spacemacs/issues/2702
2015-11-27 10:32:51 +01:00
Eivind Fonn
2d4ee99843 Disable typo in LaTeX 2015-11-27 10:32:51 +01:00
Eivind Fonn
01b587ccf7 Add TeX-font bindings 2015-11-27 10:32:51 +01:00
Chris Perkins
57fd8b2504 clojure: use cljr--all-helpers for refactorings
clj-refactor defines a list of all available refactorings, along with
the standard two-letter keybindings. Use it, so that spacemacs will get
any added refactorings for free, with no code-change needed in the
clojure layer.
2015-11-27 10:32:51 +01:00
Muneeb Shaikh
4ce11551ec Fixed undefined (ruby-)mode which key prefix declaration
* layers/+lang/ruby/config.el (ruby-mode): Fix
2015-11-27 12:33:40 +05:30
syl20bnr
4df3f55206 evil-cleverparens: update doc and use progn 2015-11-27 00:43:42 -05:00
justbur
73945543e3 Add evil-cleverparens layer 2015-11-27 00:40:04 -05:00
syl20bnr
7e0d8f2d32 ruby: replace ruby-use-ruby-test by ruby-test-runner
Also cleanup configuration.
2015-11-27 00:28:38 -05:00
Alex Girdler
cf5bc0a634 ruby: Add support for botch rspec and ruby-test
Add more keybinds and update README
2015-11-27 00:11:01 -05:00
syl20bnr
ecf237af18 ruby: correct prefix command name for RuboCop 2015-11-26 23:57:33 -05:00
syl20bnr
7d281f2671 ruby-on-rails: move SPC m r r : to SPC m r :
So `SPC m r r` prefix becomes available for RuboCop
2015-11-26 23:56:21 -05:00
syl20bnr
5b99a60617 ruby: update RuboCop bindings
Make them available in both ruby-mode and enh-ruby-mode
2015-11-26 23:55:43 -05:00
Daniel Luna
3d64532047 Adding rubocop to ruby layer 2015-11-26 23:40:18 -05:00
syl20bnr
3624ff2eb8 scheme: update documentation 2015-11-26 23:34:11 -05:00
Diego Berrocal
062a89f8e5 Add Scheme Leader keybindings for evaluation (,ee)
This was missing
2015-11-26 23:30:36 -05:00
troydm
e8d3ecee0e scheme implementation selection keybinding added for scheme layer 2015-11-26 23:29:16 -05:00
Eivind Fonn
7adca30aeb Fix void variable error: smartparens-strict-mode 2015-11-26 23:25:48 -05:00
Fabien Dubosson
ec308f0f8e Add a binding for helm-ag-pop-stack
Close #2736
2015-11-24 23:29:12 +01:00
tcallan
54fda31f6d elm: fixed misnamed function in repl bindings
When pull request #3855 was cherry picked in (due to conflicts),
spacemacs/elm-repl-push-decl-focus was incorreclty referenced as
spacemacs/elm-repl-push-decl in the keybindings.
2015-11-24 17:38:24 +01:00
syl20bnr
c732c9ea22 Move vi-tilde-fringe toggle to SPC T ~ 2015-11-24 09:59:16 -05:00
syl20bnr
093ae18d26 yaml: enable company 2015-11-24 09:56:10 -05:00
Robert O'Connor
a842d5bdf8 company-nim is now bundled with nim-mode
Fixes #3935
2015-11-24 15:47:07 +01:00
Eivind Fonn
0c57b94cf4 Temporary disable org loading check 2015-11-24 15:43:18 +01:00
Travis B. Hartwell
a3635045c3 Fix major mode bindings for finance layer.
Key definitions no longer need to be prefixed with "m".
2015-11-23 13:01:32 -07:00
tcallan
881ac19114 elm: fix incorrect bindings
Upstream elm-mode renamed REPL related functions from *-elm-repl to
elm-repl-*, but the elm layer was still referencing the old names (except
for elm-repl-load which had previously been fixed).
2015-11-23 20:32:48 +01:00
Eivind Fonn
1b54bb4ebd Move elm prefixes to packages.el 2015-11-23 20:27:36 +01:00
Brenton Alker
426d500574 elm: define key binding prefixes for major mode 2015-11-23 20:25:23 +01:00
d12frosted
4b9b61e5a0 [haskell] fallback to interactive mode
When user disabled ghc-mod, haskell mode should fallback to interactive
mode, so type bindings (and some others) are working properly. It's also
useful for ghci-ng users, but doesn't affect ghci-ng-only bindings.

Fix #3777
2015-11-23 20:23:11 +01:00
justbur
8ed77160bb layers: Fix missing owner for some layers
This is a partial fix for #3493. I didn't touch layers where I can't
tell what the intention was for how it should work.
2015-11-23 20:22:38 +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
Eivind Fonn
2918ca2b56 Clean up org loading check 2015-11-23 20:15:09 +01:00
Tony Day
3f72bec69a Added check to catch when org has already been loaded. 2015-11-23 20:11:31 +01:00
Eivind Fonn
ddcc697213 Clean up scala-eldoc code 2015-11-23 20:09:57 +01:00
Diego Alvarez
a92cf03093 Disabled automatic eldoc-mode in scala layer
A conf var is provided to enable it automatically.
Default is null.
2015-11-23 20:06:39 +01:00
Martin Yrjölä
1f33ba3dcd osx layer: Set sensible Emoji font 2015-11-23 20:04:16 +01:00
Jaakko Luttinen
86aa4da4c4 Add key binding for saving perpectives by names 2015-11-23 20:01:22 +01:00
Eivind Fonn
1ca1ee3720 More org improvements
- Evil bindings in org agenda
- Evil bindings in org calendar minibuffer
- Restore windows after org agenda
2015-11-23 19:58:26 +01:00
Eivind Fonn
0e919507ee Insert missing HTML_HEAD_EXTRAs 2015-11-23 14:09:16 +01:00
Eivind Fonn
7c28986192 Fix some broken documentation 2015-11-23 13:57:27 +01:00
syl20bnr
b540b15afe Move describe-keymap to SPC h d K and document it 2015-11-22 22:31:29 -05:00
syl20bnr
589ccded17 Add TODO in comment 2015-11-22 22:29:59 -05:00
syl20bnr
878c986f5f Update evil-lisp-state configuration for version 8 2015-11-22 22:10:41 -05:00
Eivind Fonn
fbc6bc56cc Remove temp workaround for evil-lisp-state 2015-11-22 22:10:35 +01:00
Eivind Fonn
4937a83900 Fix evilify bug in vinegar layer 2015-11-22 19:48:58 +01:00
Fabien Dubosson
3a5c375c6c Correct forgotten python major mode bindings 2015-11-22 18:45:12 +01:00
Eivind Fonn
d16be23def Add workaround for #3901 2015-11-22 10:33:57 +01:00
Eivind Fonn
17a2ae74ce Fix bug with org ctrl-c-ctrl-c binding 2015-11-21 19:38:55 +01:00
Eivind Fonn
6a51119889 Fix erroneous org-mode leader keys 2015-11-21 19:33:11 +01:00
justbur
53e2c9ac27 layers: Fix leader key in some modes
Specifically need to be concerned with modes that make their maps
overriding.

 1. dired
 2. evil-magit
2015-11-21 18:22:51 +01:00
justbur
e1e850f179 core: Assume all which-key funcs available now 2015-11-21 18:22:51 +01:00
justbur
4e25b7609c spacemacs-base: Add help-fns+
Adds useful help functions like describe-keymap.
2015-11-21 18:22:51 +01:00
justbur
9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
justbur
ee6a486d4c core: Add new set-key functions to core-keybindings
Set up to use bind-map instead of evil-leader for leader key
functionality.

Alias evil-leader funcs and remove package
2015-11-21 18:18:01 +01:00
Eivind Fonn
e7fbc84ff0 Remove package guards for evilified
See discussion in #3879
2015-11-21 11:07:14 +01:00
kr5x
05a40a2ee2 holy-mode: fix #3876 2015-11-19 12:36:03 +01:00
syl20bnr
28097d8ca8 typography: move SPC t Y to SPC t T 2015-11-19 01:16:46 -05:00
syl20bnr
f95422c61d git layer: remove obsolete test since the package is protected 2015-11-19 00:56:25 -05:00
syl20bnr
629d736b79 core: add package keyword :protected
A protected package cannot be uninstalled nor excluded.
2015-11-19 00:53:57 -05:00
syl20bnr
e3df025eff evilified-state: fix tests and rename library to evil-evilified-state 2015-11-19 00:24:27 -05:00
justbur
b294461957 evilified-state: Make into local package 2015-11-18 23:35:01 -05:00
syl20bnr
0b2efd4e4e ansible: add dependency on yaml layer 2015-11-18 15:00:22 -05:00
Eivind Fonn
a13486d2d2 Delimit TODO keywords as words
words like “HACKER” becoming partially highlighted
2015-11-18 16:32:14 +01:00
David Hashe
16d6b0363c Switch mode-line toggle meanings 2015-11-17 15:31:02 +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
Fabien Dubosson
98fa5e8d7c Make dired "guess" target directory
Make dired "guess" target directory for some operations, like copy to
directory visited in other split buffer.

Close #2835
2015-11-16 20:51:06 +01:00
Fabien Dubosson
00d21bb69f Add SPC h SPC as an alias of SPC f e h
Add `SPC h SPC` to access helm-spacemacs. Mnemonic
is **h**elp **SPC**macs. As suggested by syl20bnr on #2145.

Close #2145
2015-11-16 20:42:12 +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
Eivind Fonn
acce2e84bd Update documentation for typography layer 2015-11-16 14:04:42 +01:00
Eivind Fonn
fdc221a383 Diminish typo-mode to Y 2015-11-16 12:40:02 +01:00
Sebastian Wiesner
4c65ea9c89 Refine typography layer
- Move tildify toggle from SPC t T d to SPC t ~
- Move tildify region from SPC x T T to SPC x ~
- Use ~ as mode line indicator for tildify mode
- Move typography toggle from SPC t T y to SPC t Y
- Use circled capital Y as mode line indicator for typo mode
2015-11-16 12:39:49 +01:00
Sebastian Wiesner
607d0549f3 Don't set match data needlessly 2015-11-16 12:39:42 +01:00
Wieland Hoffmann
602a21beb9 python: list the correct keybindings for interacting with pyenv 2015-11-16 12:39:16 +01:00
Ben
bb2ca5117d Spelling correction in funcs.el file (latex layer) 2015-11-16 12:39:00 +01:00
Eivind Fonn
58f17f7b8a Fix helm microstate 2015-11-15 10:25:40 -05:00
justbur
b82fb4cee8 spacemacs-base: Fix paren problem 2015-11-15 08:44:26 -05:00
Eivind Fonn
c609f48cba Refactor zsh shell-script code
- Move to packages.el
- Give setup function an explicit name
- Guard for non-file buffers
2015-11-15 12:49:49 +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
justbur
b3e24604a1 Add bindings for which-key-show-top-level
This is a function that shows unprefixed bindings
2015-11-15 12:20:23 +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
Eivind Fonn
6887320420 Fix up latexmk code
- Use a use-package hook instead of eval-after-load
- Set auctex-latexmk-inherit-setup during init
- Don’t set TeX-command-default in hook
2015-11-14 15:10:26 +01:00
Ista Zahn
852ec8fb41 Configure latexmk as the default build command 2015-11-14 15:10:17 +01:00
codefalling
7dca03151c Add pinyin support for avy-goto-char 2015-11-14 00:46:15 -05:00
Eivind Fonn
de1cce8ba6 Add C-j and C-k history commands in shells
Based on work by mijoharas
2015-11-14 00:37:21 -05:00
Eivind Fonn
38e48aa95d Highlight TODO keywords in all prog modes
Also make the colon optional
2015-11-14 00:34:05 -05: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
Adam Olsen
bc82ec0bec Fix layout-switch-by-pos
Now it resets the window layout if there isn't already a perspective
loaded for that position.

Fixes #3774
2015-11-14 00:26:24 -05:00
Eivind Fonn
0da1bda904 Revert flycheck fixes
Revert "Add some flycheck autoloads"

This reverts commit e18ff186ef.

Revert "Move flycheck leader bindings to init"

This reverts commit 830212c509.
2015-11-13 18:39:07 +01:00
Eivind Fonn
e18ff186ef Add some flycheck autoloads 2015-11-13 15:40:11 +01:00
Eivind Fonn
830212c509 Move flycheck leader bindings to init 2015-11-13 15:38:25 +01: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
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
Rich Alesi
2a2505de49 Allow restart-emacs to work with persistent-server
Allow `restart-emacs` to work when `dotspacemacs-persistent-server` is enabled.
2015-11-13 13:55:05 +01:00
Nate Wolfe
ea9ce5ef6d (mu4e) Don't require multiple account list
This commit deactivates account selection and switching support if the
account list isn't defined. We also don't need the follow-up action of
undoing the account selection changes, so we can just skip both of the
hooks.

This is useful for users who only have 1 account - they don't need the
helm popup to select which account to use. They can just define the
variables outside of the `mu4e-account-list`.
2015-11-13 13:53:08 +01:00
Sebastian Wiesner
954ed2d3de react: Fix Flycheck setup
Do not disable jshint globally, but only for React Mode.  It’s perfectly
fine to use jshint for a Javascript project and eslint for a React
project.  A layer should not enforce its language specific preferences
upon everything else, and above all, you should NEVER disable syntax
globally without a very good reason.

Also remove the redundant expression disabling json-jsonlist, which
simply does not exist.
2015-11-13 13:52:20 +01:00
Ben
2698d2ae40 Spelling corrections in README.org of the bepo layer. 2015-11-13 13:41:14 +01:00
jason
b67cd298c4 Update layers README.org to include projects 2015-11-13 13:39:19 +01:00
Eivind Fonn
72f4fed57f Fix eshell linum-mode check 2015-11-13 11:59:01 +01:00
Sebastian Wiesner
2c97605833 Fix flycheck-pos-tip-mode setup
Enable Flycheck Pos Tip Mode in :init, and remove explicit assignment to
flycheck-display-errors-function.  I’m not sure whether that was
somehow intended, but it looks like it’s been working by accident only.
2015-11-13 11:31:16 +01:00
Eivind Fonn
57fd074d6b Fix flycheck-pos-tip initialization
- Don’t manully set variable
- Don’t guard mode initializer

Also fix long line
2015-11-13 11:19:31 +01:00
Fabien Dubosson
39c69def5c Guard flycheck-pos-tip-mode
Guard `flycheck-pos-tip-mode` as it's a new feature that not all user
will have if they update spacemacs without updating packages first.
2015-11-12 13:23:27 +01:00
Fabien Dubosson
b8564ba1ea Enable new global minor mode flycheck-pos-tip-mode
This global minor mode is used to hide the flycheck tooltip when an
event occurs (moving cursor, focus-out, etc.). This change was
introduced upstream and it's already available in MELPA.
2015-11-12 13:04:50 +01:00
Ben
6d411da303 Correct osx layer keybindings documentation
Correction of key binding for Scale up text in the documentation
Close #2865
2015-11-12 11:54:35 +01:00
Eivind Fonn
88c019d4d6 Fix helm-spacemacs package action 2015-11-12 10:49:31 +01:00
Eivind Fonn
a991927288 Beautify helm-spacemacs 2015-11-11 23:01:54 +01:00
Eivind Fonn
5f3793a50e Clean up mu4e layer
- Clarify installation instructions
- Bring README in line with conventions
- Create layer variable for installation path
- Move mu4e-account-alist to config.el
- Move extensions.el to packages.el
- Define mu4e as built-in and not local
- Add commands to ensure mu4e is deferred
2015-11-11 21:48:37 +01:00
Allen Li
f8368f9c94 Add mu4e layer 2015-11-11 21:36:59 +01:00
Swaroop C H
7b3436bece [org] Add key for org-set-property 2015-11-11 21:31:16 +01:00
justbur
0b3207ba4e Declare org global prefix 2015-11-11 21:30:33 +01:00
Muneeb Shaikh
647ca88008 evilify package menu 2015-11-11 21:30:17 +01:00
Fabian Wilk
40270206dc Fixed default value of `open-junk-file-directory'.
This variable does NOT specify the directory portion for the junk file
creation; it is an alias for `open-junk-file-format'. Hence, it should
contain format markers for the randomisation of the junk file name.

The previous value would not auto-generate a junk name for the junk
file: the prompt would ask for a file extension without having an
auto-generated junk file name.
2015-11-11 21:29:28 +01:00
syl20bnr
fde6c60bae layouts: fixes reset of layout upon creation of new layouts
with SPC l l and SPC p l

Fixes #3740
2015-11-11 01:20:18 -05:00
syl20bnr
9290acf058 layouts: new variable dotspacemacs-auto-resume-layouts
If non nil then layouts are automatically resumed upon start.
Also always enable persp-mode (i.e. remove lazy loading of it).

Fixes #3736
2015-11-11 00:59:17 -05:00
syl20bnr
4004f8d383 layouts: split dotspacemacs-default-layout-name into 2 variables
dotspacemacs-default-layout-name is only to set the name
new variable dotspacemacs-display-default-layout controls the display
of the default layout in the mode-line
2015-11-11 00:55:42 -05:00
syl20bnr
5d9f6b67cd Refactor smooth-scrolling configuration
Use :if keyword for use-package
Move erc hook to post-init function in erc layer
2015-11-11 00:06:27 -05:00
syl20bnr
3ff39f10e4 layouts: move SPC l p to SPC p l and bind SPC p to previous layout 2015-11-10 23:39:21 -05:00
geksilla
c39e8a9e53 Switch between columns layout toggle golden-ratio.
While columns layout change between 2 and 3 golden-ratio-mode toggle but
should not.

Fixes syl20bnr/spacemacs#3750.
2015-11-10 22:48:56 +01:00
taksuyu
b811475077 Restructured haskell/init-haskell-mode settings 2015-11-10 22:47:16 +01:00
Eivind Fonn
8125ccea8f Use evil-indent-plus for indent textobjs 2015-11-10 11:55:06 +01:00
Eivind Fonn
b779846d14 Properly honor helm setting 2015-11-10 08:09:19 +01:00
d12frosted
2670d01a78 [haskell] configure C-c C-l so it doesn't error
By default `C-c C-l` shows following error:

```
haskell-mode-enable-process-minor-mode: Run ‘C-h f haskell-mode‘ for instruction how to setup a Haskell interaction mode.
```

Which might confuse users and they might end up setting
interactive-haskell-mode, which in most cases not what we want.

Also, it gives short key binding for emacs-only editing style users to
bring up REPL.
2015-11-09 19:29:29 +01:00
Allen Li
42c97967b9 Unset unneeded scroll-margin in some modes
Fixes https://github.com/syl20bnr/spacemacs/issues/3098
2015-11-09 19:28:42 +01:00
codefalling
91c00fe76a Add farmhouse-theme 2015-11-09 19:01:35 +01:00
Eivind Fonn
7c3d679a40 Update elm docs for elm-repl-load 2015-11-09 18:57:22 +01:00
Justin Holguin
6fdc2a2e40 elm: fix incorrect binding for elm-repl-load
The function that loads a new Elm REPL is `elm-repl-load`, but it was
incorrectly referenced in the elm layer as `load-elm-repl`.
2015-11-09 18:56:27 +01:00
Eivind Fonn
a9e15236b2 Enhance default selection of face in helm-faces
Use symbol under point if no face
2015-11-09 18:55:53 +01:00
Muneeb Shaikh
b5dbcf5027 Fix helm-faces to select face under point 2015-11-09 18:48:23 +01:00
Muneeb Shaikh
17f6225c5d Allow last-search-buffer to resume last search even if no saved search
With this patch, it's possible to resume last search done with ag even
if there's no saved search

Fixes #3707
2015-11-09 18:47:51 +01:00
justbur
951462f316 evil-magit: Update for MELPA 2015-11-09 18:44:31 +01:00
justbur
51600ef9f0 Use MELPA version of evil-mc 2015-11-09 18:44:11 +01:00
Boris
c4b8767006 fix typo in spacemacs-layouts readme 2015-11-09 18:43:50 +01:00
Muneeb Shaikh
6b3e82d2d9 Allow customization of the default layout name in mode-line
- Changed dotspacemacs variable
2015-11-09 18:43:05 +01:00
Eivind Fonn
d14f10e47d Override evil mouse support in helm (#3700) 2015-11-09 13:05:29 +01:00
syl20bnr
771b74ebf9 distribution: add layouts to spacemacs distribution 2015-11-09 00:36:17 -05:00
syl20bnr
6541877a83 layouts: remove q key binding in custom layouts micro-state 2015-11-09 00:36:15 -05:00
syl20bnr
b1fb37cef1 perspectives: rename layer to "spacemacs-layout" 2015-11-09 00:36:13 -05:00
syl20bnr
d7164bd452 perspectives: update documenation 2015-11-09 00:36:11 -05:00
syl20bnr
aed1811f76 perspectives: big refactoring
- Rename micro-states to "layouts"
- Rename some functions to include "layout" instead of "perspective"
- cleanup variables
- move functions to funcs.el
- move package specific stuff to post-init functions
- changes key bindings
- micro-state documentation rewrite
- change format of the layouts line in the micro-state doc
- defer loading of persp-mode which loads with `SPC l`
- always display the spacemacs home buffer with no switch
- various fixes
- various new bugs :-)
2015-11-09 00:36:09 -05:00
Eivind Fonn
ee2442d8ce Fix snippet prompt on multiple valid keys (#1922) 2015-11-08 22:14:42 +01:00
Eivind Fonn
4969833cb2 typography: typo-language is buffer-local 2015-11-08 19:33:23 +01:00
Eivind Fonn
3fb38773b3 org: add drawer evil-surround pair 2015-11-06 15:28:30 +01:00
Eivind Fonn
5e05b79432 org: add some multi-purpose keybindings 2015-11-06 15:28:29 +01:00
Eivind Fonn
826d6b700b Fix up typography layer documentation
- Add ToC tags
- Tildify only available on Emacs 25
- Move insert state comments
2015-11-06 15:26:58 +01:00
Sebastian Wiesner
05fe68ba23 Add typography layer
Provides typo mode for typographic substitutions and tildify mode for
automagic non-breaking space insertion.
2015-11-06 15:21:34 +01:00
Eivind Fonn
89a5abac29 Clean up aya-persist-snippets-dir setting 2015-11-06 15:18:00 +01:00
Taian Su
3c32938f5c aya-persist-snippets-dir should reference the configuration-layer-private-directory 2015-11-06 15:16:22 +01:00
Andre0991
7176a49877 Make mdfind the default backend for helm-locate 2015-11-06 15:07:31 +01:00
Matthías Páll Gissurarson
9714644a8f added keyboard shortcuts for ghc-mod in haskell 2015-11-06 14:53:00 +01:00
Yiming Chen
8bafbb1c9b Add back rcirc persp to perspectives layer 2015-11-06 01:29:49 -05: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
fd95f9090f perspectives: bind SPC l l to helm-perspectives
`SPC l l` makes more sense for switching perspectives with helm
because it is a faster/easier binding to use.

- Document binding to helm-perspectives
- Bind persp-load-state-from-file to `SPC l L`
2015-11-06 01:19:08 -05:00
Joe Hillenbrand
be817362ae update docs for switch to SPC l for perspectives 2015-11-06 01:17:10 -05:00
syl20bnr
1d340dcc77 Switch bindings avy-jump-line and perspective micro-state
So perspectives are on SPC l
and avy jump to line on SPC L

This is to have consistent lower case keys for "scopes":
- b for buffer
- f for files
- p for project
- and l for layout (perspective)
2015-11-05 00:28:30 -05:00
Diego Berrocal
69959a576f Prefix persp-curr-name 2015-11-05 00:23:25 -05:00
Eivind Fonn
00885ba1c3 Remove spaceline configuration 2015-11-05 00:23:05 -05:00
Diego Berrocal
50ceba2a6e Pimp perspectives layer (using persp-mode) 2015-11-05 00:21:32 -05:00
syl20bnr
a256c4434b evil-snipe: use a post-init function instead of layer-usedp 2015-11-04 23:17:39 -05:00
justbur
aa5b252786 evil-snipe: Use separate hooks for override mode 2015-11-04 15:51:54 -05:00
Joe Hillenbrand
1714e4bab7 fix obsolete method in vagrant layer
Fixes warning:

    Compiling no file at Tue Nov  3 13:42:42 2015
    ../../init.el:Warning: `vagrant-tramp-enable' is an obsolete function; use
        `vagrant-tramp-add-method' instead.
2015-11-04 20:21:26 +01:00
Christoph Paulik
4e302bc0c0 Deactivate loading of evil-snipe in magit-mode if git layer is used 2015-11-04 20:20:44 +01:00
Eivind Fonn
3341ab4e4c Enable custom info+ modeline 2015-11-04 20:20:13 +01:00
Eivind Fonn
0567f5cdac Fix spacemacs/kill-other-buffers 2015-11-03 13:53:10 +01:00
Eivind Fonn
b7fff9e903 Actually disable flyspell buffer in flyspell hook
Missing from 02fb2bd3f4 after rebase
2015-11-03 08:59:34 +01:00