Commit graph

793 commits

Author SHA1 Message Date
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