Commit graph

714 commits

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

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

cf #2698

Add new key in help-mode

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

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

- More keywords are supported out of the box.

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

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

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

Signed-off-by: Gergely Nagy <algernon@cloudera.com>
2015-12-07 19:34:29 +01:00
Muneeb Shaikh d18a6e1d2e layouts: add go to default layout functionality 2015-12-07 19:29:56 +01:00
Fabien Dubosson ec8250ea1d Move jump-in-buffer to SPC s j
After a discussion on gitter with @TheBB and @syl20bnr, `jump-in-buffer`
is moved from `SPC s L` to `SPC s j`.
2015-12-07 13:12:10 +01:00
Eivind Fonn b943d00ae4 Remove magit-push-always-verify documentation
It was removed upstream: 9e4f84f631
2015-12-07 11:23:24 +01:00
syl20bnr 5104593e89 spacemacs-base: swap SPC s l and SPC s L
SPC s l to bring last search buffer is a powerful binding, let it take
the easier binding.
2015-12-06 23:20:46 -05:00
syl20bnr 4d357cf001 git: enable gravatars in magit buffers
The default value is nil since magit 2.3.0
2015-12-06 20:19:44 -05:00
Eivind Fonn 8d3164f8ca Eyebrowse layer keybinding refactoring
- Move eyebrowse microstate to SPC l w
- Make eyebrowse microstate accessible from perspective microstate
- Change eyebrowse helm key to SPC l w w
2015-12-06 01:42:40 -05:00
Bar Magal b905cb5d91 Make eyebrowse workspaces local to perspective
Integrates persp-mode and eyebrowse, so each perspective has its own set
of eyebrowse workspaces.
2015-12-06 01:40:23 -05:00
syl20bnr a5ce15f03f Revert "fixed shift+hjkl, added leader major binding, adjusted doc"
This reverts commit 869e529b68.

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

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

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

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

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

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

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

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

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

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

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

Fix #3777
2015-11-23 20:23:11 +01:00
justbur 8ed77160bb layers: Fix missing owner for some layers
This is a partial fix for #3493. I didn't touch layers where I can't
tell what the intention was for how it should work.
2015-11-23 20:22:38 +01:00
Adam Olsen ac9e81bf49 Set neo-vc-integration to nil by default
* Set `neo-vc-integration` to `nil` for much better performance
* Add documentation for the `neo-vc-integration` setting.
* Add documentation for the `neo-theme` setting.
2015-11-23 20:17:03 +01:00
Eivind Fonn 2918ca2b56 Clean up org loading check 2015-11-23 20:15:09 +01:00
Tony Day 3f72bec69a Added check to catch when org has already been loaded. 2015-11-23 20:11:31 +01:00
Eivind Fonn ddcc697213 Clean up scala-eldoc code 2015-11-23 20:09:57 +01:00
Diego Alvarez a92cf03093 Disabled automatic eldoc-mode in scala layer
A conf var is provided to enable it automatically.
Default is null.
2015-11-23 20:06:39 +01:00
Martin Yrjölä 1f33ba3dcd osx layer: Set sensible Emoji font 2015-11-23 20:04:16 +01:00
Jaakko Luttinen 86aa4da4c4 Add key binding for saving perpectives by names 2015-11-23 20:01:22 +01:00
Eivind Fonn 1ca1ee3720 More org improvements
- Evil bindings in org agenda
- Evil bindings in org calendar minibuffer
- Restore windows after org agenda
2015-11-23 19:58:26 +01:00
Eivind Fonn 0e919507ee Insert missing HTML_HEAD_EXTRAs 2015-11-23 14:09:16 +01:00
Eivind Fonn 7c28986192 Fix some broken documentation 2015-11-23 13:57:27 +01:00
syl20bnr b540b15afe Move describe-keymap to SPC h d K and document it 2015-11-22 22:31:29 -05:00
syl20bnr 589ccded17 Add TODO in comment 2015-11-22 22:29:59 -05:00