Commit graph

956 commits

Author SHA1 Message Date
syl20bnr 438bce3d29 Move request package storage directory to .cache 2016-01-11 21:59:34 -05:00
Alejandro Catalina Feliú 1ec305463d Add javascript support on markdown
Enable syntax highlighting.
2016-01-11 21:45:13 -05:00
Diego Berrocal 24dcc599cc Rename Add Layer to Install Layer in helm-spacemacs 2016-01-11 21:43:49 -05:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Fabien Dubosson 46c7bce575 [bugfix] helm-spacemacs-faq has been renamed 2016-01-11 16:16:30 +01:00
syl20bnr 6bf066584a Ivy: choose ivy--regex-ignore-order as regexp builder
Allow to type some text and then refine them by adding other word
separated by a space.
2016-01-11 01:27:38 -05:00
syl20bnr ce33918714 Use spacemacs/add-to-hooks 2016-01-11 01:15:47 -05:00
Eivind Fonn d8833215b0 Make scratch buffer major mode configurable 2016-01-11 01:13:10 -05:00
Chris Barrett de4c7502c0 Remove reference to undefined fn haskell-cabal-hook
Resolves #4512
2016-01-11 01:13:10 -05:00
Fredrik Bergroth c9e459fd14 Clean up rust layer 2016-01-11 01:13:10 -05:00
Alejandro Catalina Feliú 7f3267e48b IRC layers: Add the buffers to the persp
Right after initializing the custom layout, add the buffers to the
persp.
2016-01-11 01:13:10 -05:00
Fredrik Bergroth c302ae4e67 Properly read version in .python-version
Fixes #4514
2016-01-11 01:13:09 -05:00
justbur c5528a5031 ivy: Minor changes to make more consistent w/ helm
1. Ask for intial directory in "file" search commands
2. "ry" -> counsel-yank-pop (browse kill ring)
3. Shorten which-key description for project search commands.
2016-01-11 01:13:09 -05:00
Will Maier 6d8222cedc Avoid clobbering golang variables
Instead of checking for our platform, simply test if the variables have
already been set. If not, let exec-path-from-shell figure out the right
values.
2016-01-11 01:13:09 -05:00
justbur d91b6e4902 ivy: Correct sp and sP bindings
They were bound to a nonexistent function. Fixes one of the issues in
issue #4528.
2016-01-11 01:13:09 -05:00
Fabien Dubosson a2ad920216 Enable hl-todo in text-mode derived buffers 2016-01-10 14:24:30 +01:00
syl20bnr ebad32293f Remove remaining mentions of dotspacemacs-command-key 2016-01-10 01:22:49 -05:00
syl20bnr 9f7914fa04 helm: unified :config blocks in init-helm 2016-01-10 01:21:52 -05:00
syl20bnr 6747e9a9f6 Fix prefix error triggered by Helm
See docstring in changes.
2016-01-10 01:20:26 -05:00
Fabien Dubosson 36f09b1b77 [doc] Change org wrong quoting -> =…= 2016-01-09 21:56:18 +01:00
syl20bnr 23e9ebd2f6 spacemacs-ivy: hide ivy-mode lighter 2016-01-09 15:51:18 -05:00
syl20bnr d447e96bb2 Respect 80 chars max per line and progn in use-package
when multiple sexps
2016-01-09 15:51:18 -05:00
Fabien Dubosson 5685af2abb [bepo] Update the README 2016-01-09 21:44:45 +01:00
Fabien Dubosson 278e67db5e [bepo] Remove c and , from aw-keys 2016-01-09 21:44:45 +01:00
Fabien Dubosson 687c75de5c [bepo] Add basic ivy support 2016-01-09 21:44:45 +01:00
syl20bnr ea333f7282 completion: move hjkl function to layers and treat ivy as a package 2016-01-09 15:29:37 -05:00
syl20bnr d729045f89 Fix SPC h SPC function 2016-01-09 14:18:35 -05:00
justbur 4872c711a2 spacemacs-ivy: Fix imenu jumping for ivy split
Make spacemacs/jump-in-buffer aware of ivy and move jI into the
spacemacs-helm layer
2016-01-09 13:36:03 -05:00
justbur 00b25656a0 spacmacs-helm: Move binding for hdm
For some reason this fixing a problem with helm refusing to load
2016-01-09 13:36:03 -05:00
justbur 9497cbee44 spacemacs-helm: rename dotspacemacs-command-key
Corresponds to commit 58e5241c8d
2016-01-09 13:36:03 -05:00
justbur e4b865d88f ivy: Move persp keybindings out of projectile init
Now in post-init functions in the spacemacs-layout layer

Cleans up f74fbc6baba044b559917f6b15cb6f91934cdeee
2016-01-09 13:36:03 -05:00
justbur 3e2b5c88c3 ivy/helm: Reorganize help bindings
Mainly, reduce the duplication in bindings, but also issue message for
common spacemacs commands that are not implemented in spacemacs-ivy yet.
2016-01-09 13:36:03 -05:00
justbur a8c5119a50 ivy: Fix recentf loading
ivy-use-virtual-buffers was triggering recentf-mode to be called before
the recentf init function was called leading to problems with where the
recentf file was placed.
2016-01-09 13:36:03 -05:00
justbur 99140bc679 spacemacs: Port spacemacs/helm-open-junk-file for ivy
This is now spacemacs/open-junk-file and decides whether to use ivy or
helm based on the use of the spacemacs-ivy layer
2016-01-09 13:36:03 -05:00
Alexandr Skurikhin e64555d9d3 Map <escape> to minibuffer-keyboard-quit in ivy-minibuffer-map 2016-01-09 13:36:03 -05:00
justbur 08ec94a373 Update previous commit for new layer 2016-01-09 13:36:03 -05:00
Alexandr Skurikhin c7008108f5 Add ivy-persp-switch-project 2016-01-09 13:36:03 -05:00
justbur b0ee301845 layers: Conditionally load helm packages
Only use them when the spacemacs-helm layer is used.
2016-01-09 13:36:03 -05:00
justbur 32f523e062 spacemacs-helm: New layer
Collect helm configuration from spacemacs and spacemacs-base into one
place. The purpose is to allow choice between this layer and
spacemacs-ivy.
2016-01-09 13:36:03 -05:00
justbur 67abb7df58 spacemacs-ivy: New layer
This layer configures spacemacs to use the ivy/counsel/swiper family of
packages. Default completion is done with ivy. This is meant to replace
helm for those who want it.
2016-01-09 13:36:03 -05:00
Fabien Dubosson 72a89ab312 Use jump-forward C-i binding only in GUI mode
Background: `C-i` and `TAB` are the same keycode for historic reasons.

With the current settings, evil [1] and evil-jumper [2] associate
`jump-forward` to `C-i` (==`TAB`), what overrides bindings set to
`TAB` (==`C-i`) in terminal mode, like `orc-cycle`. To fix this,
this commit:

- Set `evil-want-C-i-jump` to `nil`, to prevent `evil` and `evil-jumper`
  to use the `C-i` (==`TAB`) keycode.

- Remove the spacemacs' code that bind `jump-forward` to `TAB`(==`C-i`)

The current spacemacs code already rebind `jump-forward` to the GUI-only
`<C-i>` keycode.

[1] 082bd65ccc/evil-maps.el?fileviewer=file-view-default#evil-maps.el-323
[2] efaa841ca4/evil-jumper.el (L241)

Fix #4505
Fix #4487
2016-01-09 18:43:48 +01:00
syl20bnr fa50f4600a Move avy bindings to spacemacs/init-avy, remove "SPC `" 2016-01-09 02:28:19 -05:00
syl20bnr 58e5241c8d dotfile: rename dotspacemacs-command-key for dotspacemacs-emacs-command-key
And change the key from ":" to "SPC"
This key does not try to bind evil ex-command anymore, it only bind
M-x behind the leader key.
2016-01-09 01:53:24 -05:00
syl20bnr 454027df35 Remove undocumented and duplicated SPC j m and update doc. 2016-01-09 01:30:05 -05:00
justbur 02e2ce4d5a keybindings: Add SPC j for jumping
Use mnemonic j for jumping commands. Although some of these commands
exist in other places, they are duplicated here when they don't
conflict.

Add:

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

Move:
  1. jh to j0 (push mark and go to beginning of line)
  1. jl to j$ (push mark and go to end of line)
2016-01-09 01:00:44 -05:00
Eivind Fonn c4a1a56e6a Add <C-i> binding for forward jump 2016-01-08 23:10:44 -05:00
Ken Wu 6480d755ad Don't enter evil-insert-state for holy-mode after aya-expand
Key binding "SPC i S e" enters evil insert state afterwards, it's
pretty annoying if you are using emacs editing style.
2016-01-08 23:08:19 -05:00
syl20bnr 3494f92a39 csharp: fix typo in doc 2016-01-08 22:42:14 -05:00
syl20bnr ae64d5b955 python: sort key bindings 2016-01-08 22:37:35 -05:00
syl20bnr dc60667813 squash! mu4e: remove mu4e-use-maildirs and defer loading of package 2016-01-08 22:34:52 -05:00
syl20bnr bb07eeccad mu4e: remove mu4e-use-maildirs and defer loading of package
To deactivate maildirs extension, simply add the package to
dotspacemacs-excluded-packages
2016-01-08 22:33:26 -05:00
syl20bnr bd9ad83f4b yasnippet: add support for dotspacemacs directory
as well as a minor refactoring for the definition of yas-snippets-dirs

Fixes #4502
2016-01-08 22:05:09 -05:00
syl20bnr 4ed2229c5c shell: move deactivation of smooth-scrolling to shell layer 2016-01-08 21:27:26 -05:00
Eivind Fonn a5be67bf10 Document eshell-z 2016-01-08 21:45:56 +01:00
Eivind Fonn f549333762 Unset scroll margin in eshell 2016-01-08 21:43:35 +01:00
Eivind Fonn 1d722b29ac Defer eshell-z 2016-01-08 21:41:42 +01:00
Diego Berrocal ee6968863d Add eshell-z to eshell (awesome autojump) 2016-01-08 21:38:08 +01:00
Eivind Fonn 83f18ae538 Document auto-completion key sequence delay var 2016-01-08 21:29:58 +01:00
MadAnd f6b981b329 auto-completion: make key seq timeout configurable 2016-01-08 21:24:49 +01:00
Andrew Vasilyev 60d06e2c29 Add more commands to omnisharp layer 2016-01-08 21:19:52 +01:00
Eivind Fonn 6b80c30839 Fix mu4e installation instructions 2016-01-08 21:13:02 +01:00
Christian E. Hopps 48ab6e57e1 add mu4e-maildirs-extension to mu4e layer 2016-01-08 21:10:36 +01:00
Christoph Paulik d4dfb385e7 Improve Python virtual environment docs and keybindings
Inspired by the discussion in
https://github.com/syl20bnr/spacemacs/issues/2841 I thought it was
useful to improve the Documentation and provide keybindings for all the
useful `pyvenv` functions.
2016-01-08 21:04:28 +01:00
Michael Hauser-Raspe f3f6988f0a remove tern port files 2016-01-08 20:59:08 +01:00
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