Commit graph

5788 commits

Author SHA1 Message Date
Fabien Dubosson e5dbfa0032 Add switch-to-scratch-buffer function and bind it
This change add a `switch-to-scratch-buffer` function allowing to – you
guessed it – switch to the `*scratch*` buffer, taking care of creating
it if necessary. The function is bind to `SPC b s`, `b` as it concerns
buffers, and `s` for `scratch`.
2015-10-12 09:34:46 -04:00
Allen Li 1f3a6a0941 Fix SIGQUIT bug #3324
This hook is duplicating the functionality of a multiterm hook, causing
it to be called after the multiterm hook has already switched to a
different buffer, thus quitting a job in the latter buffer.
2015-10-12 09:32:39 -04:00
syl20bnr 47ce251853 haskell: add documentation for SPC m g i 2015-10-12 09:32:05 -04:00
Benno Fünfstück 27efd8fc83 haskell layer: add key binding to jump to imports 2015-10-12 09:29:52 -04:00
Eivind Fonn df1cabe62f auto-completion: Remove outdated mention of C-/ 2015-10-11 10:34:31 +02:00
Uri Sharf 77d5fef312 Fix typo in var name for suppressing error popups 2015-10-10 23:56:09 -04:00
Sebastian Wiesner 2b87b3d8ea Use tab-width instead of default-tab-width
default-tab-width is obsolete since Emacs 23
2015-10-10 23:55:52 -04:00
Boris Buliga 75078b031f update tips for 'stuck' haskell repl
Based on #3292
2015-10-10 23:54:58 -04:00
syl20bnr 4df7958115 spacemacs-base: simplify url init func 2015-10-10 23:54:09 -04:00
Diego Berrocal 0be2e58308 Make Gravatar cache go into Spacemacs cache dir 2015-10-10 23:49:37 -04:00
Eivind Fonn cd702e0fd7 auto-completion: Add helm-company 2015-10-10 23:47:46 -04:00
Sebastian Wiesner 41a024c206 Use save-place-mode when available
Emacs 25 defines save-place-mode, to be used instead of
(setq save-place t)
2015-10-10 23:43:44 -04:00
Fabien Dubosson ef714fa4e3 [contrib] Add a bepo contributed layer
First version of the bepo contributed layer. I'm probably the only one
using it for now, let's wait for issues and contributions!

This is a snapshot-branch of my own development branch, it will not
change, except maybe if it reaches a new "clean" state before it gets
merged.
2015-10-10 23:43:05 -04:00
syl20bnr f0e1414994 osx: remove some comments 2015-10-10 23:42:11 -04:00
Sebastian Wiesner cd18b14a7a Use osx-trash for system trash on OS X 2015-10-10 23:38:04 -04:00
Eivind Fonn 48edef187f org: take control of evil-org 2015-10-10 23:34:56 -04:00
Sebastian Wiesner a3affa6554 Enable bug reference prog mode 2015-10-10 23:26:03 -04:00
syl20bnr 6edfdb550e nim: move local packages to local folder and simplify config 2015-10-10 23:19:23 -04:00
Eivind Fonn 56ecd43753 Add variables to opt-in to flycheck/flyspell 2015-10-10 23:18:46 -04:00
syl20bnr 74a717f2bb spacemacs-base: use new sorting function which-key-key-order-alpha
Which sorts the keys like in the READMEs and like the code.
2015-10-10 22:29:39 -04:00
Boris Buliga 9dab3b2e8e update haskell README
Improve PATH section. As requested in #2142.

Also make some minor improvements.
2015-10-09 12:17:51 +02:00
Eivind Fonn 812d35a100 Doc conventions for lisp layer READMEs 2015-10-09 12:15:35 +02:00
David Mohl 7947e2ee5b added documentation link to lisp-state to lispy languages 2015-10-09 12:12:19 +02:00
Fabien Dubosson 8d3c59c78f Discard buffer from marker, switch to it when asked 2015-10-09 12:11:24 +02:00
Fabien Dubosson 6442e00b2e Use a temp buffer to read the FAQ in helm-spacemacs
Correct a bug in helm-spacemacs: Whenever a function was needing the
FAQ's candidates in helm-spacemancs (`SPC f e h` and `SPC f e f`), the
`FAQ.org` file was open in a buffer and not closed. This commit corrects
this by loading the content of `FAQ.org` in a temp buffer and switch it
to `org-mode` in order to get the candidates.
2015-10-09 12:11:24 +02:00
Fabien Dubosson cde101955d Correct java layer's documentation (close #3293) 2015-10-09 12:09:03 +02:00
Pierre Radermecker f3f88b4d28 Fix #3214: add back split-window-and-switch func
Theses func came back from the old spacemacs/funcs.el file
2015-10-09 12:08:40 +02:00
Diego Berrocal c9612ffef0 Expand to className when using emmet
div.react-class >>> <div className="react-class"></div>
2015-10-09 12:06:40 +02:00
Bar Magal 83f1117bd7 spacemacs/backward-kill-word-or-region: handle rectangular selection correctly 2015-10-09 12:07:49 +03:00
syl20bnr cdea5716ed spacemacs-core: use new sort function which-key-prefix-then-key-order 2015-10-07 19:26:28 -04:00
syl20bnr 31229cb1f5 spacemacs: add evil-mc package
evil-mc is a new attempt to bring multiple cursors to evil users.
Enable it by adding `(global-evil-mc-mode)` then use
g r m to mark all
g r u to remove cursors
g r p to pause cursors
g r r to resume
g r h to add a cursor at point (cursors must be paused first)

Package repo: https://github.com/gabesoft/evil-mc
2015-10-07 18:17:01 -04:00
Christoph Paulik 806573b09b javascript: add instruction for installation of JSHint 2015-10-07 15:51:40 -04:00
Severen Redwood 7924a782a2 Add a function and keybinding for cargo clean 2015-10-07 15:51:40 -04:00
mahinshaw 58f2937260 Use exec-path-from-shell-copy-env to set RUST_SRC_PATH for racer 2015-10-07 15:51:40 -04:00
Markus Bertheau fff86b6a4e Add CIDER quick start for boot 2015-10-07 15:51:40 -04:00
Andrew Burkett cb65a9adaf Remove server-kill-buffer from frame-killer 2015-10-07 15:51:40 -04:00
William Casarin 5dd4aa5fd2 hoogle-lookup-from-local key binding 2015-10-07 15:51:40 -04:00
Swaroop C H 0a6c619194 [python] Allow user to customize fill column 2015-10-07 15:51:40 -04:00
GeorgeLenton a28e776b84 Enable Emmet tab expansion using hybrid mode
Previously only worked for vim & emacs.
2015-10-07 15:51:40 -04:00
syl20bnr 0cbe01433d Move (setq help-window-select 't) to spacemacs-base 2015-10-07 15:51:40 -04:00
syl20bnr c070f81951 spacemacs-base: add <backtab> binding to go up a directory with helm 2015-10-07 15:51:39 -04:00
justbur bb1ed81aca helm: Backtab to go up directory in helm
The key binding wasn't taken, so I figured it couldn't hurt. There's a
nice symmetry with using Tab to enter a directory.
2015-10-07 15:51:39 -04:00
Fabien Dubosson b1fc99bdee Improve keybindings for text-region counting.
Emacs provides a `count-words-region' which is badly named as it counts
not only words, but also characters and lines. The current keybinding
for this function `SPC x w c' implies it's referring to words only. The
new mapping `SPC x c` is more coherent since it means counting text,
whether it is characters, words or lines. An alias `count-region` is
created to be less confusing in which-key description.

`SPC x w c` being free, `spacemacs/count-words-analysis` is remapped to
it instead of `SPC x w C` to save one keystroke.
2015-10-07 15:51:39 -04:00
Eivind Fonn 1c06e2369c Use helm or ibuffer to provide :ls 2015-10-07 15:51:39 -04:00
Fabien Dubosson 66bd2d326e Improve count-words-analysis output
The `spacemacs/count-words-analysis' function displays results with the
default elisp formatting of associative list. This change improves it by
changing the format to a more human-readable form, and also by ordering
results by frequencies first, and then alphabetically in case of tie.
2015-10-07 15:51:39 -04:00
person808 c1b6293268 Replace eval-after-load with with-eval-after-load.
We now backport the macro for 24.3 so we can use it everywhere.
2015-10-07 15:51:39 -04:00
Fabien Dubosson 6a18cad5c0 Add avy-open-url and its keybinding to open urls
The function `spacemacs/avy-open-url` allows to easily select an URL on
the screen with `avy` and open it. The function is bind to `SPC x o`,
`x` as it is text-related and `o` for open.
2015-10-07 15:51:39 -04:00
Eivind Fonn dfd84809ba ocaml: Document opam initialization 2015-10-07 15:51:39 -04:00
Eivind Fonn 560f77f901 ocaml: Don't error if command returns empty string 2015-10-07 15:51:39 -04:00
Diego Berrocal 33cd5097ff Fix typo with ~= in the doc 2015-10-07 15:51:39 -04:00
Robert O'Connor f710f3e501 add org-mode flyspell hook 2015-10-07 15:51:39 -04:00
Eivind Fonn e9c5e168d6 core: remove special handling of spacemacs-theme and solarized theme
Also remove the local solarized-theme package
2015-10-07 15:51:39 -04:00
Robert O'Connor 59be5b43df Fix erc-tex warning when starting spacemacs
`flet' is an obsolete macro (as of 24.3); use either `cl-flet' or
`cl-letf'.
2015-10-07 15:51:39 -04:00
Yen-Chin Lee 2a983671af Fix some cl-lib function with prefix
Since emacs 24.3, function in cl-lib should with cl- prefix.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
2015-10-07 15:51:39 -04:00
justbur 4b8a5ffb1b org: Use RET in normal-state for links 2015-10-07 15:51:39 -04:00
Eivind Fonn c1561eadb7 Fix pylookup
- Set executable bit on pylookup.py
- Add update functions to autoload
- Document use of update functions
- Fix path setup
2015-10-07 15:51:39 -04:00
Fabien Dubosson 5e3dbd9234 Add FAQ as a source in helm-spacemacs
Add the `FAQ.org` file as a source in helm-spacemacs (`SPC f e h`).
Define a new keybinding for looking directly inside the FAQ with helm:
`SPC f e f`.

With help from TheBB, thanks!
2015-10-07 15:51:38 -04:00
Boris Buliga a4642ef774 update haskell README file
- update section about setting up PATH by updating value of
  =exec-path= (previously it was saying to update it in =user-init=
  function, but looks like you need to do it in =user-config=) -
  following #1718
- add FAQ section
  - add note about setting up =stack-ghci= as =haskell-process= (as
  noted in #2142)
  - add note about fixing problems with =ghc-mod= and =stack=
  - add note about fixing stuck REPL (following #3271)
2015-10-07 19:22:28 +02:00
nashamri 3d52925b14 Update documentation 2015-10-07 18:57:18 +02:00
nashamri 80d4c37ce6 Keybinding for setting flycheck checker executable 2015-10-07 18:57:18 +02:00
d12frosted 377ac14454 add notes on using stack 2015-10-07 18:18:00 +03:00
Christoph Paulik 0dce7a648d Remove global ranger deer binding, document SPC a d 2015-10-06 21:24:26 +02:00
d12frosted 6b8df266ca fix key binding for switching back from REPL 2015-10-06 21:09:53 +02:00
Eivind Fonn 7a546bb7ba Add h and l bindings to eyebrowse micro-state 2015-10-06 15:23:03 +02:00
Eivind Fonn 873536250d Evilify flycheck error list (thanks to bmag) 2015-10-06 11:34:51 +02:00
person808 28c5298f4c Use built-in evil variable to set Y behavior. 2015-10-05 12:17:27 +02:00
Eivind Fonn 273d6b5d11 helm-spacemacs: action to open readme for editing 2015-10-05 12:16:46 +02:00
Eivind Fonn 9e58476ffe Document ESS toggle underscore
Fix #3222

[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn 8d1c7c8c20 Document v/V discrepancy in magit
Fix #2476

[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn b85c153291 Document other layers in go
Fix #2750

[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn 31ec9091cc Document magit update key
Fix #2826

[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn 5d04465c69 Document gofmt-command
Fix #3065

[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn b92eb41e2d bugfix: Wrong variable name in evil-state-face 2015-10-03 16:15:00 +02:00
Eivind Fonn d5084510a6 vim-powerline: Remove unused sections in README 2015-10-02 19:33:41 +02:00
Robert O'Connor f991073759 Add README for vim-powerline layer
Resolves #3218
2015-10-02 19:33:32 +02:00
Eivind Fonn f4b3f43961 Fix cljr-extract-def binding (again) 2015-10-02 13:45:27 +02:00
Eivind Fonn 95a7d266b1 clojure: add SPC msI to README 2015-10-02 13:43:20 +02:00
immortalin 90660ac315 Updated README with appropriate keybindings and link to the library that
cider use to format code.
2015-10-02 13:40:38 +02:00
immortalin d8b3abfa8f Added keybinding for cider-format-buffer. 2015-10-02 13:40:38 +02:00
Eivind Fonn e8f146acfb Fix cljr-extract-def binding and update README 2015-10-02 13:40:30 +02:00
Markus Bertheau f5ca69f059 Add key binding for cljr-extract-def and prefix declarations for clojure 2015-10-02 13:36:23 +02:00
Benjamin Albrecht 7f0c32a2d0 Add keybinding for cider-jack-in-clojurescript
as described in https://github.com/clojure-emacs/cider#clojurescript-usage
2015-10-02 13:35:48 +02:00
Robert O'Connor 5cec2f6db7 Fix vim-powerline layer so it works.
Resolves #3216
2015-10-01 08:40:02 +02:00
Eivind Fonn 98380b3f72 Remove dead mode-line code 2015-09-30 15:07:01 +02:00
Eivind Fonn 6757ce7607 Use spaceline to provide mode-line 2015-09-29 23:48:03 -04:00
syl20bnr f21d1bb6e8 markdown: move SPC mcr to gh-md init function 2015-09-29 21:41:58 -04:00
Tommi Komulainen 81f6ab4dc2 markdown: include missing gh-md package
Needed for `SPC m c r` (gh-md-render-buffer) command. Fixes #3192
2015-09-29 21:37:32 -04:00
Carl Lange 8b6517a9be Fix a typo, githib->github 2015-09-29 21:36:55 -04:00
Tommi Komulainen e22b2eadd0 doc: haskell: fix link to structured-haskell-mode visualizations
Include an anchor to try to get as close to the visualizations as
possible.
2015-09-28 23:22:06 -04:00
David Mohl 15de481a80 forcing jsx content type, fixes #3163 2015-09-28 23:21:03 -04:00
syl20bnr 14fd2b48e9 New variable dotspacemacs-remap-Y-to-y$ 2015-09-28 23:09:44 -04:00
syl20bnr afa537d341 Update automatic highlight of symbol toggle 2015-09-28 22:12:08 -04:00
syl20bnr 3e5c98d880 Add toggle for automatic highlight of current symbol 2015-09-28 16:49:09 -04:00
syl20bnr 383b1bec20 Update dotspacemacs/config and dotspacemacs/init occurrences 2015-09-28 02:05:18 -04:00
justbur 776c4f0a97 emacs-lisp: Add eval funcs and fix leader bindings
Functions for evaluating the form (not an atom) that the point is
currently in, and for evaluating the symbol underneath the point. Both
require smartparens to work.

Also, add all evil-leader bindings to lisp-interaction-mode and declare
prefixes.
2015-09-27 22:15:31 -04:00
justbur 1e76127e26 better-defaults: Add backward-kill-word-or-region
This function merges the functionality of `evil-delete-backward-word`
and `kill-region`. Which is called depends on whether a region is active
or not. This is the perfect `C-w` binding (for me).
2015-09-27 21:46:34 -04:00
Yufan Lou 83c971070b Fix typo "SPV" in layers/org/README 2015-09-27 21:06:24 -04:00
Eivind Fonn 1e290b4282 Fix smartparens configuration in html layer 2015-09-27 21:06:07 -04:00
Yufan Lou 084dd7bde1 Remove "symbol" from list of changed charsets
This prevents minor mode lighters from being displayed in the Chinese font. Since the new glyphs are often higher, separators of powerline do not match the new height.
2015-09-27 21:04:47 -04:00
Fabien Dubosson 560d2acb6e Focus current file when opening project's neotree
The `SPC p t` keybinding opens the neotree at the project root.
Currently the neotree only shows the root of the project, nothing is
expanded and no file is focused/selected. With this modification, the
neotree is still showing the project root, but with the current file
being focused/selected in the hierarchy (its path being expanded).

Signed-off-by: Fabien Dubosson <fabien.dubosson@gmail.com>
2015-09-27 20:58:13 -04:00
Eivind Fonn 88fb27af72 Don't wrap simple functions in lambdas 2015-09-27 20:54:49 -04:00
syl20bnr b256475325 helm-find-files: use C-h and C-l to go up down a directory
Import TheBB configuration into Spacemacs and add `C-S-h` to replace
redefined `C-h` binidng.

Also remove the go up a directory behavior on backspace, now backspace
is a regular backspace.
2015-09-27 10:20:14 -04:00
syl20bnr 61c97b7dda ibuffer: use new evilify macro 2015-09-27 09:19:31 -04:00
syl20bnr ae475c06c4 base: move toggles for editing styles
SPC t E e -> emacs
SPC t E h -> hybrid
2015-09-26 11:06:45 -04:00
syl20bnr 48b3fb2cad Improve which-key prefix command names for toggles 2015-09-26 11:06:16 -04:00
syl20bnr 983e569de6 hybrid: redefine evil-insert-state-p
If it has nasty side effects we will just revert it in favor of the
precedent commit.
2015-09-26 00:54:56 -04:00
justbur 90fc25a19c hybrid: Prevent C-SPC toggling visual from hybrid
Redefines the `evil-visual-activate-hook` to add hybrid to the list of
states that don't go into visual state when the mark is activated
2015-09-26 00:45:45 -04:00
syl20bnr 3832a601c4 org: add :step pre to org-plus-contrib package 2015-09-25 01:02:02 -04:00
Diego Berrocal e2e1fe515e Add config phase to Wakatime
This Adds the `spacemacs/wakatime-dashboard` function which opens the
dashboard in the browser.
2015-09-24 13:54:45 -04:00
Eivind Fonn b908c654d3 Exclude erc-gitter and erc-yank 2015-09-24 18:04:20 +02:00
Diego Berrocal 35525e99fa Add erc-gitter module 2015-09-24 00:46:11 -04:00
person808 a7c4014c3f Add new descriptions for new files in helm-spacemacs. 2015-09-24 00:36:53 -04:00
syl20bnr 5c53427c35 spacemacs-base: Remove outdated comment and sort packages 2015-09-23 23:47:36 -04:00
person808 706185b771 Simplify setting anaconda-mode server directory.
There is now a built-in variable we can use to customize the directory.
2015-09-23 23:32:02 -04:00
syl20bnr 7e8c275bc5 Rework editing style toggles
Put the toggles on SPC t E with
SPC t E h -> holy-mode
SPC t E y -> hybrid-mode

Make the mode-line diminished lighter consistent with the key bindings,
so holy is Ⓔh and hybrid is Ⓔy

Add seamless switch between holy and hybrid.
2015-09-23 23:27:51 -04:00
Ben Hayden ea805fdc7a Add diminish for hybrid. 2015-09-23 23:11:56 -04:00
Alexandr Skurikhin 4eb83f2079 python-mode: fix py-yapf for yapf >= 0.3.0
yapf >= 0.3.0 now returns 2 if source code was changed.
2015-09-23 23:11:04 -04:00
Colin McLear b0e7566f92 Remove deprecated "deft-extension" and add setting for recognition of multiple extensions
Change README to reflect change in recognition of extensions

Modify "deft-extensions" example in README

Clarify README config instructions
2015-09-23 23:10:17 -04:00
Robert O'Connor e43ebf20a4 tweak evil-matchit for ruby 2015-09-23 23:09:21 -04:00
Robert O'Connor 24c642ff3d Add back and fix evil-matchit for python-mode 2015-09-23 23:09:08 -04:00
Robert O'Connor b2628fb6b7 gnus layer: fix conflicting key bindings
change:
SPC m h -> SPC m M
SPC m H -> SPC m m
2015-09-23 22:51:09 -04:00
Pierre Faure 42e2009e85 Add org layer keybindings for subtree & TODOs
* Move whole subtrees up/down/right/left with SPC mS commands
* When using more complex TODO sets, move between them with SPC m C-S
commands
* Add more cycling options with SPC mL SPC mK, etc.
(for timestamps, headlines, items, properties)
* Insert timestamps with SPC m.
2015-09-23 22:38:04 -04:00
syl20bnr c0a66452a7 gnus: move org-mime to org layer
org-mime is installed by org-plus-contrib so it makes more sense to
configure in org layer.
2015-09-23 22:04:07 -04:00
syl20bnr 3f1f1a9fbc org: install org-plus-contrib from org ELPA repo 2015-09-23 22:03:38 -04:00
syl20bnr 25ee106bdb Migrate some configuration to new built-in location 2015-09-23 22:02:39 -04:00
syl20bnr c505fde5e4 python: put anaconda-mode dir in cache dir 2015-09-22 19:28:53 -04:00
Martin Račák e89ff3544e Update org layer doc to reflect 194f7d5 2015-09-22 11:10:38 +02:00
Timothy Jones 2f6a45f561 Rename the idris-lang layer to idris
The idris-mode package has been updated to no longer use the
idris-packages variable, which allows the Idris layer to safely be
renamed to the standard for other languages.
2015-09-22 11:08:22 +02:00
Muneeb Shaikh 1fc73d671f Evilify magit-stash-mode 2015-09-19 18:44:32 -04:00
syl20bnr 0ab2c89628 evil: remove evil-move-beyond-eol and comment out cursor refresh hack 2015-09-19 18:16:00 -04:00
justbur 89ec2d7096 Add back core-keys: Rewrite emacs-leader handling
Brings back the changes made in
dad786bc8d with an additional fix for
evil-org whose config was unbinding important leader keys in org-mode
2015-09-19 01:07:26 -04:00
Robert O'Connor 3839e1a925 Temporarily disable evil-matchit for python.
See #3068; redguardtoo/evil-matchit#18 and redguardtoo/evil-matchit#58
2015-09-19 01:02:22 -04:00
Chris Grindstaff 88daf79ad1 Update config.el
Fix spelling
2015-09-19 01:00:25 -04:00
Tim Jäger e06ee1f9f2 Updated README.org file for extra-langs layer 2015-09-19 00:57:32 -04:00
Brian Hicks a9a26e5b18 shell: fix bad casing in README 2015-09-19 00:57:16 -04:00
Joris Engbers 68bbe0eaa9 Fix wrong variable name in README for rcirc layer. 2015-09-19 00:57:06 -04:00
Eivind Fonn d0d2b15ae2 Fix org-repo-todo loading
- Incorrect function name
- Remove explicit list of commands (they all have autoload cookies)
2015-09-18 10:27:27 +02:00
syl20bnr 220b15a734 Revert "core-keys: Rewrite emacs-leader handling"
This reverts commit dad786bc8d.
2015-09-17 23:41:48 -04:00
justbur dad786bc8d core-keys: Rewrite emacs-leader handling
This is how evil-leader gets `SPC m` to work for mode specific bindings,
and we need to mirror this step for `M-m`. This is big change, but in
order for `M-m` to work properly we need to remap it to the mode-map
whenever possible.
2015-09-17 22:35:51 -04:00
Eivind Fonn 41459bea12 Set evil-move-beyond-eol to nil for now 2015-09-17 22:05:04 +02:00
syl20bnr 5e0fa16a32 go: move SPC m h p to SPC m h h
To follow conventions
2015-09-17 13:45:37 -04:00
bogdanteleaga 9daac9b306 lang/go: change keybindings to removed shadowed oracle and follow conventions 2015-09-17 14:45:27 +02:00
Robert O'Connor 3f2e885811 Rename spacemacs-core to spacemacs-base
Per the discussion in #3002. A comment in #3047 prompted this PR.
2015-09-16 21:22:35 -04:00
Eivind Fonn 21146f4fed Fix #2390
Sets up company in eshell-mode-hook during the init phase so that it can
be reliably disabled in user config.
2015-09-14 15:09:28 +02:00
Eivind Fonn 4f95d58bd4 Fix evil-matchit for python and ruby 2015-09-14 12:05:13 +02:00
Robert O'Connor 08ce016d63 add evil-matchit support for python 2015-09-14 12:03:30 +02:00
Robert O'Connor 79e2b1a646 add evil-matchit support for ruby files 2015-09-14 12:03:28 +02:00
luxbock 7b404f46c6 clojure: various tweaks
- Add missing leader prefixes
- Stop using deprecated cider-jump-to-var (Use cider-find-var instead)
- Add toggle for indentation style in clojure-mode
- Remove cider-debug-defun-at-point in repl leader (It doesn't do
  anything other than messing up the buffer)
- Add spacemacs/cider-display-error-buffer
- Gives faster access to display the last error buffer.
2015-09-13 23:01:15 -04:00
syl20bnr 8aa4eadc74 core: move prefix funcs to new file core-keybindings.el 2015-09-13 22:53:15 -04:00
syl20bnr 9bc754c50c spacemacs-core: cleanup prefix functions
Also change the way the command symbols are constructed
2015-09-13 22:47:09 -04:00
justbur 846fa3075c spacemacs-core: Fix issues with major-mode-leader
Use same hook as evil-leader for major-mode-leader. This fixes an
inconsistency that could arise between the leader key being bound but
the major-mode leader key not being bound (See for example #3000). By
using the same hook as evil-leader-mode, we ensure that either both keys
or bound or neither.

A minor problem that was fixed was `mode-map` and `major-mode-map` were
not let bound and had global scope.
2015-09-13 22:23:47 -04:00
Or Neeman 18ea193be7 Correct Idris layer's name in its README 2015-09-13 22:22:03 -04:00
Eivind Fonn 9a76e9dd9e CSS improvements
- Add binding for helm-css-scss in css mode
- Add smartparens to all css-like modes
2015-09-13 22:21:50 -04:00
syl20bnr 071c92e131 Move gc-cons-threshold to init.el and increase it to 100MB
Resolves #3011
2015-09-13 21:59:13 -04:00
Eivind Fonn 0f1b573e7e Fix #3015 (void function)
company-mode/more-than-prefix-guesser is only defined if the c-c++ layer
is used and clang support is enabled.
2015-09-13 23:12:23 +02:00
syl20bnr 139b32398c spacemacs-core: change hybrid lighter to " hybrid"
TO better fit with holy lighter which is not abbreviated
2015-09-11 23:17:56 -04:00
justbur 89443ad220 hybrid-mode: Cleaner implementation
Using setf is better than using the previous advice, because it was
ignoring the arguments passed to evil-insert-state and the arguments
control whether the state message displays in the minibuffer. In this
version we just switch out the function definition for
evil-insert-state, and all arguments are handled perfectly.

spacemacs-core: Don't defer hybrid-mode

hybrid-mode is now extremely lightweight, and deferring it causes
problems if someone wants to bind keys in hybrid-mode but doesn't have
it selected as their editing style on startup. The reason is the
hybrid-mode keymap will not be available and an error will be thrown.
This requires using eval-after-load in this case, and this seems overly
complicated just to avoid loading this file.
2015-09-11 23:06:03 -04:00
syl20bnr 62fb20c7c5 Move ido-vertical-mode package to spacemacs-core 2015-09-11 22:59:14 -04:00
syl20bnr 520fa4bdb8 spacemacs: fix undo of auto-indentation of pasted text
Fixes #2346
2015-09-11 21:01:11 -04:00
Bar Magal 44672329fb hybrid-mode: fix error when using vim/emacs style 2015-09-11 12:15:27 +03:00
Bar Magal 1f3e6fabac Adding back hybrid-mode.el 2015-09-11 11:38:37 +03:00
syl20bnr b45911f3d5 spacemacs: remove duplicated files 2015-09-11 00:16:56 -04:00
justbur 6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00
syl20bnr 30e6d213aa spacemacs-core: revert layout-double-columns and layout-triple-columns 2015-09-11 00:05:08 -04:00
d12frosted 82be34d36f restore spacemacs/new-empty-buffer 2015-09-11 00:02:22 -04:00
Christoph Paulik c33a1db41a python: use quit-window to close documentation popup 2015-09-11 00:00:07 -04:00
Eivind Fonn 5e2fe96f35 Temporarily exclude evil-terminal-cursor-changer 2015-09-10 23:59:53 -04:00
justbur 631778ac84 hybrid-mode: Define hybrid-emacs state
This state is functionally equivalent to insert state but uses a new
keymap `evil-hybrid-emacs-state-map` that is just populated with escape
and the evil-leader bindings.
2015-09-10 14:38:36 -04:00
Kai von Fintel a767ad6e21 markdown: fix smartparens configuration
If smartparens package is not installed (perhaps, because spacemacs-core
option is chosen), smartparens-mode should not be added to the
markdown-mode-hook.
2015-09-09 23:45:06 -04:00
Andrew Burkett ad0f26abde Attempt to delete-frame first in frame-killer
This is needed to get the frame to properly close when running a client
from the terminal. server-kill-buffer will close the frame for the
terminal only if the terminal was opened with a file argument and you
haven't changed buffers. make-frame-invisible is still needed as a fall
back if you are still working from the first emacs window since it won't
let you delete the last frame.
2015-09-09 23:45:05 -04:00
Ben Hayden e6843a94ea Fix salt layer keybinding. 2015-09-09 23:45:05 -04:00
syl20bnr ea5ac6b1ad php: sort package configuration 2015-09-09 23:45:05 -04:00
Martin Račák ef7dc66612 Turn flycheck on by default for php files 2015-09-09 23:45:05 -04:00
luxbock 5d86782101 Fix SPC u not repeating universal-argument
- Addresses #371
2015-09-09 23:45:05 -04:00
syl20bnr bb24c36304 org: tweak gnuplot package configuration
- remove variable org-disable-github-support, users can excluded it
the usual way (updated the documentation to mention this)
- lazy load gnuplot
2015-09-09 23:45:05 -04:00
JP-Ellis df3a0a5fab Add gnuplot as a dependency to the org layer.
It is possible to plot data from tables in org-mode; however, this
requires `gnuplot.el`.  Shortcut also added to plot (the single shortcut
is added to the README.org in another pull request).

http://orgmode.org/worg/org-tutorials/org-plot.html

Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-09-09 23:45:05 -04:00
syl20bnr 4e87c1286b org: tweak and sort org table key bindings
Use hjkl whenever possible.
Arrow are not defined for now, should be done when we have a micro-state
2015-09-09 23:45:05 -04:00
JP-Ellis 1968f7ce95 Add table related shortcuts to org-mode.
Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-09-09 23:45:05 -04:00
syl20bnr 0c0f537893 spacemacs: remove call to set-default-evil-insert-state-cursor in spray 2015-09-09 23:45:05 -04:00
justbur b034e7c7d8 spacemacs-core: Cleanup the init function for evil
There were a bunch of functions being defined to just be called once. It
was all very repetitive, and I thought this was a simpler way to
organize things. This just does the required work in one loop.
2015-09-09 23:45:05 -04:00
Boris b8f3d395fd Update doc string for haskell-enable-hindent-style
Info was updated in README file, but not in doc string. Following #1786.
2015-09-08 18:51:20 +02:00
syl20bnr b53b5db967 spacemacs-core: remove SPC f e s and SPC f e c
Now the user should use `SPC f e h` helm-spacemacs.
This is due to the fact that spacemacs layer is now a regular layer
stored in the "layers" directory.
2015-09-08 01:01:46 -04:00
syl20bnr 27f0cd7374 spacemacs: remove spacemacs-theme (it is part of spacemacs-core) 2015-09-08 00:42:29 -04:00
ralesi 8bcd42b33e Better accomodate helm on left and right. 2015-09-08 00:40:22 -04:00
d12frosted 14ef7d7c88 disable global-hl-line mode only locally 2015-09-08 00:36:43 -04:00
justbur 2ecfdb84fe spacemacs-layer: Correct use of setq-local in ahs 2015-09-08 00:35:34 -04:00
syl20bnr f7d7374802 spacemacs: fix vertical-ido-mode configuration 2015-09-08 00:05:55 -04:00
syl20bnr 6b33031dc5 core: dotspacemacs-distribution, spacemacs-core layer and rename contrib
- Rename contrib directory to layers
- Add new variable dotspacemacs-distribution
- Move spacemacs layer to layers/!distribution
- New layer spacemacs-core in layers/!distribution
- User can now set dotspacemacs-distribution to spacemacs or
  spacemacs-core (default spacemacs)

spacemacs-core is very lightweight layer sufficient to build upon
spacemacs.
2015-09-07 23:44:43 -04:00