Commit graph

5495 commits

Author SHA1 Message Date
justbur
35ad5f32ba core: Add defer-until-after-user-config
Add function that can be used to defer execution until after
dotspacemacs/user-config is run. If it has already been run the function
executes immediately.

Initially this is only used for deferring the definitions of
transient-states.
2016-01-26 01:21:01 -05:00
justbur
7a0933f4af ipython-nb: Fix transient-state doc 2016-01-26 01:21:01 -05:00
justbur
76cd590667 transient-state: Put code in new core file 2016-01-26 01:21:01 -05:00
justbur
9e097d898c transient-state: Load defs after user-config 2016-01-26 01:21:00 -05:00
justbur
f3e68b95a3 transient-state: Defer declaration of transient states 2016-01-26 01:21:00 -05:00
justbur
bbcac824ef transient-state: Add/remove bindings with variables
spacemacs-STATE-transient-state-remove-bindings is a list of keys whose
associated bindings should be removed for a transient state, when this
variable is defined.

spacemacs-STATE-transient-state-add-bindings is a list of bindings
suitable for a hydra whose associated bindings should be added to a
transient state, when this variable is defined.
2016-01-26 01:21:00 -05:00
justbur
e97af03ff7 Call new micro-state a transient state 2016-01-26 01:21:00 -05:00
justbur
154cfeea19 micro-state: Add :title option 2016-01-26 01:21:00 -05:00
justbur
0f4105d09d core-funcs: Cleaner expansion of create-key-binding-forms 2016-01-26 01:21:00 -05:00
justbur
da645c627e micro-state: Add add-micro-state-bindings
Macro that allows additional bindings to be specified for a micro-state
before that micro-state is declared.
2016-01-26 01:21:00 -05:00
justbur
48846ed824 New version of wind-manip-micro-state doc 2016-01-26 01:21:00 -05:00
justbur
7ed141b7dd hydra: Disable evil-local-mode in the corelv buffer
Otherwise evil calls evil-refresh-cursor which reverts the cursor from
being nil
2016-01-26 01:21:00 -05:00
justbur
4123b19314 which-key: Add rules for new micro-state 2016-01-26 01:21:00 -05:00
justbur
d38d64dad7 layouts: Translate layouts micro-states 2016-01-26 01:21:00 -05:00
justbur
ca5b67c2f2 eyebrowse: Translate workspaces micro-state 2016-01-26 01:21:00 -05:00
justbur
3862c6ef36 vc: Translate vcs micro-state and fix bug
There's no diff-hl-margin-minor-mode function
2016-01-26 01:20:59 -05:00
justbur
7b819fff5e git: Translate time-machine and git-blame micro-states 2016-01-26 01:20:59 -05:00
justbur
484c56342a ipython: Translate ipython-notebook micro-state 2016-01-26 01:20:59 -05:00
justbur
81a56c2cd7 web-mode: Translate web-mode micro-state 2016-01-26 01:20:59 -05:00
justbur
f19e54e06e agda-mode: Translate goal-navigation micro-state 2016-01-26 01:20:59 -05:00
justbur
d2c4b2b78e erc: Translate erc-log micro-state 2016-01-26 01:20:59 -05:00
justbur
102e2e8b45 helm: Translate helm-navigation micro-state 2016-01-26 01:20:59 -05:00
justbur
dbd9725c39 spacemacs(-base): Translate micro-states to use new macro
1. spacemacs: scroll
2. spacemacs-base: paste
3. spacemacs-base: macrostep
4. spacemacs-base: transparency
5. spacemacs-base: scale-font
6. spacemacs-base: wind-manip
7. spacemacs-base: buffer
8. spacemacs: symbol-highlight
9. spacemacs: move-text
10. spacemacs: zoom-frm
11. spacemacs: evil-numbers
2016-01-26 01:20:59 -05:00
justbur
13c41947b1 micro-state: Define wrapper for defhydra
Try to use as many of the old keywords from spacemacs|define-micro-state
as possible in the new macr spacemacs|define-micro-state-2 (the 2 is
just to use for the transition period)
2016-01-26 01:20:59 -05:00
justbur
90df083ad3 spacemacs-base: Add hydra package 2016-01-26 01:20:59 -05:00
Martin Yrjölä
2d7d704c5b mu4e: Add support for ivy 2016-01-26 01:20:59 -05:00
Eivind Fonn
ad6efee8a2 Don't accidentally overwrite skip-install 2016-01-26 01:20:59 -05:00
justbur
1bf4052f37 counsel: Allow command line args in search
If " -- " appears in the search string split the search string on the
first occurrence with everything before treated as args to the search
and everything after treated as part of the regex.
2016-01-26 01:20:58 -05:00
justbur
2ed37e4a33 counsel: New async implementation
This version of counsel--async-command feels smoother for me. Right now
it is just being used for the search functions. If others like it, I'll
propose it upstream.
2016-01-26 01:20:58 -05:00
Christoph Paulik
0057df5cf5 Only load pyenv if it is installed
fix #4779
2016-01-24 14:42:59 +01:00
justbur
d69c40d320 counsel: Bind M-x to counsel-M-x 2016-01-23 18:28:34 +01:00
justbur
bdddaa2bb6 search-engine: Add ivy support 2016-01-23 18:23:35 +01:00
justbur
c166b3ab54 ivy-spacemacs-help: Add ivy-spacemacs-help-faq 2016-01-23 18:22:34 +01:00
justbur
c3823970f0 spacemacs-ivy: Add counsel-search-docs
Command to grep the spacemacs docs using dotspacemacs-search-tools
2016-01-23 18:20:22 +01:00
Eivind Fonn
c62b294b9d Sort org-agenda keybindings 2016-01-23 17:44:43 +01:00
Skorzhinskiy Mikhail
16cb4f2d54 org: more convenient key bindings for agenda mode 2016-01-23 17:44:42 +01:00
Skorzhinskiy Mikhail
5b1eef2742 org: document evil calendar bindings 2016-01-23 17:44:30 +01:00
Skorzhinskiy Mikhail
18f5b1a137 org: remove useless code 2016-01-23 17:27:35 +01:00
Ken Wu
fb3f548fe8 Fix bugs when version-control-diff-tool = diff-hl
The original code is confused by diff-hl-mode and diff-hl-margin-mode.
This modification fixes all typos due to the confusion.
2016-01-23 17:21:13 +01:00
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
Eivind Fonn
2d29953200 Enhance theme handling
- Restrict default theme code to spaceacs/load-theme
- Don't download package for default
- Explicitly call post-theme-init for default
- Explicitly disable existing themes when loading
2016-01-23 14:40:24 +01:00
Ista Zahn
86dd7926b7 Allow default theme in dotspacemacs-themes 2016-01-23 14:13:25 +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