Commit graph

952 commits

Author SHA1 Message Date
Robert O'Connor c0e0702430 bind SPC gA to magit-cherry-pick-popup 2016-01-23 17:15:02 +01:00
Robert O'Connor f86ec0e047 add magit-rebase-popup command to init function 2016-01-23 17:13:00 +01:00
Christoph Paulik bddf9de8f1 Set global pyenv version if no .python-version file exists 2016-01-23 17:09:52 +01:00
Eivind Fonn 3271dbcf0f Move rspec popwin config to ruby layer 2016-01-23 17:08:18 +01:00
Josh Cass 94e08aa401 Use popwin for rspec-compilations
With the introduction of `rspec` support in version 0.105.0
tests run with rspec launch in their own `rspec-compilation`
which is not managed in `spacemacs-base/init-popwin` causing
those compilations to open a new buffer and take over an exisiting
window.

It is preferable to have the test compilation open in a popwin
that does not disrupt the current state of a workspace layout and
takes advantage of the full width of the current editor view
so it's easier to read. Popwin is also nice because it is easier
to dismiss with a simple `C-g` or `SPC w p p`.
2016-01-23 17:04:59 +01:00
Eivind Fonn 0f5d576ada Re-add py-yapf 2016-01-23 15:00:23 +01:00
JAremko 574dffbeeb added follow mode key binding 2016-01-23 14:11:20 +01:00
person808 efaef81ca5 Port helm-available-repls to spacemacs-ivy layer. 2016-01-23 14:09:05 +01:00
james sangho nah 4b0b5559a0 Additional key binding for symbol-highlight
Addressing #4720. Bind p to spacemacs/quick-ahs-backward for finding
previous match.
2016-01-23 23:15:17 +13:00
Eivind Fonn 44fd52d83b Register shells as REPLs 2016-01-22 16:31:47 +01:00
Eivind Fonn bedf807128 Fix ielm initialization and register as REPL 2016-01-22 16:31:42 +01:00
Eivind Fonn e8a10c3d54 Clean up REPL code 2016-01-22 16:31:37 +01:00
Alejandro Catalina Feliú fb99f3ff19 Add global access to all available REPLs
Enable a global binding to access a list of available REPLs to run
everywhere. If the requested REPL depends on a major-mode that hasn't
been loaded, it will be loaded along its dependencies.

To make this work, a new `spacemacs/register-repl` function is included.
This function adds a major-mode and its repl function to a global
variable.
2016-01-22 16:01:19 +01:00
person808 a956235678 Move regex for useful terminal buffers to shell layer.
Also add regex for M-x shell.
2016-01-22 15:53:13 +01:00
bogdanteleaga 6371784b2e Change regex to accomodate cases where there's no test suite 2016-01-22 15:50:43 +01:00
Eivind Fonn 248abe254f Don't auto-quote attributes in react 2016-01-22 15:47:21 +01:00
Jean-Alexandre Peyroux 9449798bfa Fix code examples in auto-completion layer 2016-01-22 15:46:54 +01:00
syl20bnr 3d8ca682bf ivy: remove blending hack
Last version of Spacemacs is fine with blending enabled
2016-01-21 19:27:34 -05:00
Eivind Fonn a47777696e Some eshell cleanup
- Move keybindings to named init function instead of lambda
- Autoload C-d binding from em-rebind
2016-01-21 22:11:49 +01:00
james sangho nah 1d6df486ec Quit shell only if there is no char left to delete
Addressing #4630. C-d is now bound to eshell-delchar-or-maybe-eof which
checks if there is a char after the point. If so, it performs the normal
delete-char, otherwise eshell-life-is-too-much.
2016-01-21 22:07:06 +01:00
Eivind Fonn a15f0f940c Move ahs setup to own function 2016-01-21 21:57:20 +01:00
Alejandro Catalina Feliú 6b4b15305e Add support for auto-highlight-symbol in lisp-mode 2016-01-21 21:57:20 +01:00
Fabien Dubosson 9ab4ddb3b5 Correct alignment in git's layer README 2016-01-21 21:53:52 +01:00
bogdanteleaga ef140f37c5 Improve indentation in golang 2016-01-21 21:53:52 +01:00
Christoph Neuroth 1d76daeef7 Bind SPC g r to magit-rebase-popup 2016-01-21 21:53:52 +01:00
Ernestas Lisauskas 28907bbeff Add development notes to Clojure's Readme
Related to #4608
2016-01-21 21:53:52 +01:00
Sébastien Bariteau 91c1528ef8 ipython-notebook: Fix typo in layer name in doc. 2016-01-21 21:46:59 +01:00
Fabien Dubosson 9eb64efc21 Fix typo in syntax-checking README 2016-01-21 21:20:00 +01:00
syl20bnr 2d2f4ab32a auto-completion: new key binding SPC e L
Open error buffer if needed and switch to it.
2016-01-21 14:13:50 -05:00
syl20bnr ba403b2df1 javascript: improve REPL
- add send region
- add send and focus functions
- add toggle for livid-mode
- lazy start the http server
2016-01-21 11:52:47 -05:00
Daniel Luna c035bca52c Added JS repl via skewer-mode and livid-mode. 2016-01-21 11:52:47 -05:00
Eivind Fonn c0a25983e3 Use-package conventions 2016-01-21 16:31:11 +01:00
Bailey Ling 79e8677419 Remove obsolete variable.
evil-jumper-auto-save-interval has been removed in favor of relying on
savehist to perform persistence.
2016-01-21 16:29:39 +01:00
Andreas Hilboll ef628eb978 [mu4e] update to README.org
Clarify usage for multiple accounts, as discussed by @darkfeline in #4670
2016-01-21 16:26:31 +01:00
Eivind Fonn e51cf6e863 Remove no-op use-package 2016-01-21 16:20:17 +01:00
Tu Do 58444a2daf Add common-lisp-snippets packages
This package contains useful snippets for Common Lisp.
2016-01-21 16:18:24 +01:00
Eivind Fonn 2967df9877 Document vagrant-reload 2016-01-21 16:15:10 +01:00
Kosta Harlan a6c521f7e9 Add keybinding for vagrant-reload
I use this fairly often, I imagine others do as well.
2016-01-21 16:13:18 +01:00
justbur e519dad118 evil: Bind evil-jump-forward for GUI
Bind to <C-i> so that evil-jump-forward works in the GUI and we don't
rebind TAB in the terminal.

Bind <C-i> for the evil-jumper package too
2016-01-21 16:12:08 +01:00
Eivind Fonn 54fd0c1c55 Remove unnecessary :mode for thrift 2016-01-21 16:04:45 +01:00
secwang 70bb733dc2 Add thrift mode in extra-langs layer. 2016-01-21 16:02:54 +01:00
Coburn Berry 726b84b55f new rails logo 2016-01-21 15:59:34 +01:00
Tony Lotts 7b06611cdb Fix typo in shell documentation. 2016-01-21 19:08:09 +08:00
syl20bnr d3961f397c csv layer: sort key bindings 2016-01-18 01:26:06 -05:00
syl20bnr 9d42e055c2 csv: defer loading, add image and author 2016-01-18 01:23:25 -05:00
William Casarin 47250b0687 csv layer 2016-01-18 01:11:50 -05:00
syl20bnr f8550a4682 Move helm-locate-library to SPC f e l 2016-01-18 00:39:38 -05:00
zilongshanren e813e1624b fix keybindings for helm-locate-library 2016-01-18 00:37:03 -05:00
justbur 2f94ada233 spacemacs-base: Add evil-ediff
This is a simple package I wrote to add a few vim-like bindings to ediff
and make the help popup reflect these bindings.
2016-01-18 00:35:40 -05:00
Joris Engbers c5166bc155 Update the documentation for spacemacs-layouts
Two specific issues have been addressed. In README.org there was no
mention of the workspaces micro-state.
The micro-state documentation erroneously stated that 'R' could be used
to create a new layout. 'l' was mentioned nowhere as the way to create a
new layout.

The rest of this commit only updates both docs to contain the same info.
2016-01-18 00:34:57 -05:00
Balaji Sivaraman f63a2f4315 Link to official docs for setting config variables in JS layer readme 2016-01-18 00:33:01 -05:00
Balaji Sivaraman ab109b1eb2 Add keybinding and evil-ex-cmd string for spacemacs/new-empty-buffer fn 2016-01-18 00:31:21 -05:00
William Casarin 362b6998cf haskell: add helm-hoogle, bind to mhf 2016-01-18 00:28:00 -05:00
Fabien Dubosson 123844cd51 Add text justification bindings 2016-01-18 00:25:31 -05:00
Nate Wolfe e031903bc4 (4604) Restore avy-open-url and fix avy-goto-url
This commit restores the spacemacs/avy-open-url SPC x o keybinding,
and also adds spacemacs/avy-goto-url to the package :commands to fix the
missing function definition on the SPC j U keybinding.
2016-01-18 00:25:05 -05:00
ghoot ee9a734f8c Fix helm-source-header not updating
See issue #4605. When dotspacemacs-helm-header is changed from the
default nil, then the helm-source-header theming does not updated when
a new theme is loaded.

This was due to the helm-source-header-default-xxx variables being set
only once and not updated when a new theme is loaded. The fix adds an
advice to spacemacs/post-theme-init to update these variables.

This allows for all other code including theming to take place and then
set the variables correctly i.e

load-theme -> post-theme-init -> helm-header

This also ensures the code is correctly decoupled now that helm is one
of the optional completion layers.

When a single source helm is viewed the source face-attribute was
changed from helm-selection to default as this gives a more consistent
result for themes that have bright highlight lines and/or no helm face
values.
2016-01-18 00:14:12 -05:00
justbur 0f0f583489 evil-jumper: Remove hack for evil-jumper bindings
A recent change in evil-jumper makes this unnecessary. The keys are now
bound as remaps, which means they have the same priority as the location
of the evil-jump-forward and evil-jump-backward commands. This is
exactly what this hack was trying to accomplish, so it's no longer
necessary.
2016-01-18 00:06:09 -05:00
Ernestas Lisauskas e2be2b9a37 Remove Clojure indentation rules
1. There is a new syntax for the indentation rules.
2. These rules are library specific and not from the core language.
2016-01-18 00:05:42 -05:00
Diego Berrocal e7e7f75d3f Add evil-scroll-line bindings to evilified state
Unless there is a valid reason why these shouldn't be included I think
we should keep them. after all we can yank with `v y` right?

squash! Add documentation
2016-01-17 23:56:56 -05:00
syl20bnr 194a42db74 Move unimpaired to spacemacs layer 2016-01-17 23:28:09 -05:00
syl20bnr e7f26b79b7 mu4e: use :skip-install keyword 2016-01-17 23:27:50 -05:00
Fredrik Bergroth 061805c7ea Add prev/next file navigation to unimpaired layer 2016-01-17 22:48:12 -05:00
syl20bnr 33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
syl20bnr 9b7789124b ivy: fix removal of blending 2016-01-16 03:25:46 -05:00
syl20bnr 8198b332a0 ivy: removed forced blending method for dark theme
Temporary hack to make the occurrences highlighting more visible in
ivy minibuffer.
2016-01-16 03:02:40 -05:00
syl20bnr 8adb066e8f Revert bad renaming of function spacemacs/resume-last-search-buffer 2016-01-13 08:39:07 -05:00
syl20bnr 052e8dfc08 Move helm and search key bindings
Key bindings should not be choosen given a package name, some helm
key bindings are under `SPC h` which are corrected the following way:

SPC h l for helm-resume to SPC r l (resume last completion)
SPC s l for last-search to SPC r s (resume search) (SPC s l is still
available)
SPC h L for helm-locate-library to SPC s L

Resolve #4592
2016-01-13 08:32:16 -05:00
syl20bnr 8c0a4452b0 Move open bookmarks on SPC f b 2016-01-13 08:01:52 -05:00
Alejandro Catalina Feliú 7cadd905d8 Add bracketed-paste for tty
Enable a hook in +distribution/spacemacs layer to enable bracketed-paste
in tty setups. This allows a better paste functionality in tty.

squash! Sort packages.
2016-01-13 00:48:19 -05:00
Syohei YOSHIDA aec2437071 Don't call exec-path-from-shell function on Windows 2016-01-13 00:43:30 -05:00
rustyplanet 4265e0e35c make curly braces optional for the R language indication in markdown 2016-01-13 00:42:59 -05:00
rustyplanet 1bff8a2f61 add ESS (R-mode) support to markdown files 2016-01-13 00:42:59 -05:00
Alejandro Catalina Feliú f8ad9b6103 Remove spacemacs/init-dired+ function
The package dired+ is initialized but it's not in the spacemacs-packages
list, so it is not finally loaded.
2016-01-13 00:42:25 -05:00
Alejandro Catalina Feliú f93e9376cf Add default keybinding for org-capture
It adds the default keybinding for the `org-capture` function, as stated
in its documentation it should be `C-c c`.
2016-01-13 00:42:16 -05:00
Thomas Boby efc94a20e5 Fix early creation of empty org directory
Move org-default-notes-file from ~/.notes to org-directory/notes.org
and remove forced creation of org-directory. User will be prompted
to create directory on completing capture.
2016-01-13 00:40:52 -05:00
Fabien Dubosson ad448d6683 Add helm-apropos on SPC h d d
Bind it to `SPC h d d` as it's a way to describe a lot of elements:
- commands
- functions
- classes
- generic functions
- variables
- faces
- helm-attributes

Is also bound on `SPC F1` and will also stay there.
2016-01-13 00:40:25 -05:00
syl20bnr 813114efa1 Unify key bindings for helm/ivy-spacemacs-help
SPC h .        helm/ivy-spacemacs-help-dotspacemacs
SPC h SPC      helm/ivy-spacemacs-help
SPC h f        helm/ivy-spacemacs-help-faq
SPC h l        helm/ivy-spacemacs-help-layers
SPC h p        helm/ivy-spacemacs-help-packages
SPC h r        helm/ivy-spacemacs-help-docs
SPC h t        helm/ivy-spacemacs-help-toggles
2016-01-13 00:37:26 -05:00
justbur 56f656fdeb ivy: Move ivy-spacemacs-help cmds down a level
There's not that many commands under `SPC h` so this gives easier access
to these commands. It also makes `SPC h SPC` get you straight to the
docs in both helm and ivy.
2016-01-13 00:19:05 -05:00
justbur 9edc44df66 ivy: SPC ? -> counsel-descbinds
Note that this is a new function and may require an update of the
counsel package.
2016-01-13 00:15:39 -05:00
syl20bnr a94539c3ec ivy: move counsel config to init-config 2016-01-13 00:15:11 -05:00
justbur 1d28c96fae ivy: Better C-h in counsel-find-file-map
Use new function counsel-up-directory which keeps track of the directory
you left.

Also add way to get to C-h through C-S-h.
2016-01-13 00:13:18 -05:00
fenxian 1ce399d24f Fix key binding part in c-c++/README.org 2016-01-13 00:12:45 -05:00
syl20bnr da385d6a48 spacemacs-ivy: simplify handling of smex 2016-01-13 00:07:04 -05:00
justbur 36a0756211 spacemacs-base: Add back view-emacs-news
Some how it got lost moving helm into its own layer.
2016-01-12 08:19:47 -05:00
syl20bnr a5857b3d7c Optimize SPC j prefix
`SPC j j` is now for avy-goto-char (SPC SPC in 0.105)
`SPC j J` is for avy-goto-char-2
`SPC j s` is for splitting strings or sexps
`SPC j S` is for splitting strings of sexps, insert new line and indent
`SPC j n` is to split line at point, insert new line and indent
2016-01-12 01:17:41 -05:00
syl20bnr 9a7c22152c mu4e: no error if org-mu4e cannot be found 2016-01-12 00:08:51 -05:00
syl20bnr 3d63dd4392 core: fix red mode-line when an error occurred
Rename function configuration-layer//set-error to
configuration-layer//increment-error-count
2016-01-12 00:08:36 -05:00
syl20bnr ac8a4bc7df org-mu4e: use pre-init and post-init functions 2016-01-11 23:20:20 -05:00
syl20bnr 408e710e39 asm: clean up and tweaks
- Fix typos in README.org
- Add missing image
- Remove unecessary post-init functions
- Move SPC m h to SPC m h h to follow conventions
- Add correct copyright attribution
2016-01-11 22:58:57 -05:00
Tu Do 4675760cf5 Add asm-layer 2016-01-11 22:35:37 -05:00
syl20bnr 5c3fb7d20e mu4e: remove redundant require of org-mu4e and add a note
about the usage of `:location built-in` for mu4e package
2016-01-11 22:25:03 -05:00
Christian E. Hopps 3cf2eee3b5 load org mu4e functionality when org or mu4e loads 2016-01-11 22:06:59 -05:00
isphinx aaa94b012e rust: format rust code using rustfmt 2016-01-11 22:01:48 -05:00
justbur 3e507eb225 org: Set org-imenu-depth to 8
This makes the depth of imenu consistent with
helm-org-headings-max-depth when ivy is used instead of helm.
2016-01-11 22:01:28 -05:00
Fabien Dubosson 78b8d939f4 Add spacemacs/describe-last-keys 2016-01-11 22:01:01 -05:00
Fabien Dubosson 2441b5861f Remove duplicate definition of SPC hds 2016-01-11 22:01:01 -05:00
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