Commit graph

217 commits

Author SHA1 Message Date
bmag 407f98a1c8 Ensure new workspace/layout only shows home buffer
Previous code would show two windows when invoked from a window that is
dedicated to its buffer: the home buffer and the dedicated buffer.
2016-01-31 23:19:39 -05:00
Balaji Sivaraman 2b1ed603dc Change all references of micro-state in codebase to transient-state 2016-01-31 23:04:47 -05:00
Olivier Verdier a68cc58253 escape quits help mode 2016-01-31 23:04:46 -05:00
Fredrik Bergroth 757ffd13e8 Restore window layout when quitting ediff 2016-01-31 23:04:46 -05:00
Steven Allen 820b5d2704 Obey rust-mode indent setting 2016-01-31 23:04:46 -05:00
Igor Avdeev 41284a740b Update recentf after file renaming
Delete old filename from a list and append a new one.
2016-01-31 22:21:16 -05:00
Tu Do 03ec0cb4bb [#4137] Give useful Projectile commands key bindings
helm-projectile-find-file-dwim is equivalent to find-file-at-point,
but operate in project scope and does not require full path.
2016-01-31 21:48:52 +01:00
syl20bnr a000a03349 Move report error to SPC h I
h for help and I for issue
2016-01-26 01:21:02 -05:00
Fabien Dubosson aa39eb3fd0 Add a command for reporting issue to spacemacs 2016-01-26 01:21:02 -05:00
Xue Fuqiao 9dfc1d93aa Doc fix for spacemacs/show-and-copy-buffer-filename 2016-01-26 01:21:02 -05:00
justbur e97af03ff7 Call new micro-state a transient state 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 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 90df083ad3 spacemacs-base: Add hydra package 2016-01-26 01:20:59 -05: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
JAremko 574dffbeeb added follow mode key binding 2016-01-23 14:11:20 +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
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
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
Balaji Sivaraman ab109b1eb2 Add keybinding and evil-ex-cmd string for spacemacs/new-empty-buffer fn 2016-01-18 00:31:21 -05:00
Fabien Dubosson 123844cd51 Add text justification bindings 2016-01-18 00:25:31 -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 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
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
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
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
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -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
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
Fabien Dubosson a2ad920216 Enable hl-todo in text-mode derived buffers 2016-01-10 14:24:30 +01:00
syl20bnr ea333f7282 completion: move hjkl function to layers and treat ivy as a package 2016-01-09 15:29:37 -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 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
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 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
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