Commit graph

326 commits

Author SHA1 Message Date
syl20bnr ae97e1b85c Move eshell cache directory and remove duplicate code for url cache 2016-02-16 23:40:25 -05:00
justbur 85a7cd9b5b Fix toggle-maximize-buffer
Was using the symbol _ as the name of a register when the docs for
register-alist state that the name of a register should be a character.
2016-02-16 22:45:49 -05:00
justbur 8d45f27631 spacemacs: Remove old file
packages-backup.el in the spacemacs layer was kept around while
factoring the layer into smaller components. Since it's out of date now,
the backup file should be removed.
2016-02-16 17:50:42 -05:00
adrsta feefea4b18 Update align function documentation 2016-02-14 23:39:37 -05:00
syl20bnr bc0d0de821 Use spacemacs|hide-lighter 2016-02-14 23:20:04 -05:00
Peter Hoeg d6b83293b2 Diminish relative line numbers
It's a little pointless taking up space in the modeline to indicate that
the LR minor mode is active when line numbers are themselves visible
and it is this clear to everyone that they are active.
2016-02-14 23:18:52 -05:00
Robert O'Connor 4348c17433 Switch “bc”->“bd” and “wc”->“wd”
Also:
- switch spacemacs layouts to the same.
- Add “wD” for ace-delete-window
- switch window dedication toggle to “wt”
- all documentation has been updated to reflect these changes

Closes #5031
2016-02-14 23:09:45 -05:00
Fabien Dubosson 24f0e8cc4b Restart Spacemacs restoring layouts
Fix #5058
2016-02-14 20:59:05 -05:00
Eivind Fonn a111f4802d Don't change scratch major mode if buffer exists 2016-02-10 20:28:03 +01:00
justbur 86ab9e7eeb paste-ts: Change key bindings to C-j/C-k
J was annoying for those who wanted to use join lines right after a
paste.
2016-02-07 14:46:11 +01:00
Diego Berrocal 55ef06317f Add smartparens to comint-mode
Why not?
2016-02-02 21:06:18 +01:00
Eivind Fonn 8d60b15ccf Move projectile-shell-pop to shell layer 2016-02-02 16:42:58 +01:00
Fabien Dubosson 010444cdc7 Add projectile-shell-pop and bind it to SPC p '
This allows to open a shell at project's root
2016-02-02 16:36:39 +01:00
Eivind Fonn 69b14b4950 Fix frame parameter for maximized 2016-02-02 16:30:03 +01:00
MadAnd f506f9a00c Improve frame-fullscreen and maximize-frame toggles 2016-02-02 16:30:03 +01:00
MadAnd a95212dba5 Not re-toggle fullscreen on SPC f e R 2016-02-02 16:30:03 +01:00
justbur 18874c9a3e hybrid-mode: Simplify implementation
Make use of new evil variable evil-disable-insert-state-bindings. This
is better because we are not copying evil code to get hybrid state to
work. We should not need to worry about tracking upstream evil changes
with this version of hybrid mode.

The only effect I can think of with this change is that there is no
longer a distinct hybrid-map, since there is no longer a distinct hybrid
state. This means that, for example, (evil-define-key 'hybrid ...)
will throw an error. You can either use (evil-define-key 'insert ...) or
the preferred (global-set-key ...). The latter is preferred because the
purpose of hybrid mode is to not interfere with Emacs bindings in insert
state.

Use post-init-evil function to load
It's a bit safer than with-eval-after-load, in case evil gets loaded
before its init function is called.

Add entry and exit hooks

Add temporary wrapper to evil-define-key
This is so that calls like (evil-define-key 'hybrid ...) do not fail
after switching over. Instead issue a warning for all such instances and
bind using define-key instead.
Also define evil-hybrid-state-map and make it the parent of
evil-insert-state-map this will prevent calls like (define-key
evil-hybrid-state-map ...) from failing.
These are both temporary and are only intended to smooth the transition
to the new version of hybrid-mode.
2016-02-01 00:20:58 -05:00
bmag 2ff22934e7 Use window-numbering-assign-func for neotree number
Using window-numbering-assign is simpler and more reliable than using
window-numbering-before-hook and neo-after-create-hook.
2016-01-31 23:54:55 -05:00
justbur 65d92b8595 which-key: Fix replacement for transient-state/body 2016-01-31 23:49:49 -05:00
justbur 3bab577b86 symbol-highlight-ts: Improve doc formatting 2016-01-31 23:48:19 -05:00
Eivind Fonn 4b004951b2 Allow <count>G in doc-view to go to page 2016-01-31 23:43:54 -05:00
Eivind Fonn b3b0ecb399 Make buffer and window close bindings consistent 2016-01-31 23:43:23 -05:00
Eivind Fonn 53daa7b198 Some fixes for google-translate
- Don't explicitly list commands (they are autoloaded)
- Move xgl binding from keybindings.el
- Don't explicitly require the default-ui feature (not necessary)
- Set variables in init instead of config (easier to change for users)
2016-01-31 23:22:42 -05:00
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
syl20bnr 39d044dcb4 Move unimpaired contribution to spacemacs-evil
And document it.
2016-01-31 23:04:48 -05:00
Bailey Ling 273c46a603 include quickfix bindings from unimpaired 2016-01-31 23:04:48 -05:00
syl20bnr f7889b4a53 Move link-hint to spacemacs-editing 2016-01-31 23:04:48 -05:00
Fabien Dubosson 324c2fa8d8 Add link-hint package
Use link-hint package. Bind it to `SPC x o` and `SPC x O`.
2016-01-31 23:04:47 -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
justbur aa4b6e6861 Partition spacemacs layer into finer categories
This will allow people using spacemacs-base to have finer control over
what additional packages they install on top of base.

The proposed split is as follows

spacemacs-editing:
 - aggressive-indent
 - avy
 - bracketed-paste
 - clean-aindent-mode
 - eval-sexp-fu
 - expand-region
 - hexl
 - hungry-delete
 - iedit
 - lorem-ipsum
 - move-text
 - neotree
 - pcre2el
 - smartparens

spacemacs-editing-visual-packages:
 - adaptive-wrap
 - auto-highlight-symbol
 - highlight-indentation
 - highlight-numbers
 - highlight-parentheses
 - hl-anything
 - indent-guide
 - linum-relative
 - rainbow-delimiters
 - volatile-highlights

spacemacs-evil-packages:
 - evil-anzu
 - evil-args
 - evil-exchange
 - evil-iedit-state
 - evil-indent-plus
 - evil-jumper
 - evil-lisp-state
 - evil-mc
 - evil-nerd-commenter
 - evil-matchit
 - evil-numbers
 - evil-search-highlight-persist
 - evil-terminal-cursor-changer
 - evil-tutor
 - evil-unimpaired

spacemacs-language-packages:
 - define-word
 - google-translate

spacemacs-ui-packages:
 - ace-link
 - ace-window
 - buffer-move
 - centered-cursor
 - desktop
 - doc-view
 - flx-ido
 - info+
 - open-junk-file
 - window-numbering

spacemacs-ui-visual-packages:
 - fancy-battery
 - golden-ratio
 - leuven-theme
 - neotree
 - smooth-scrolling
 - spaceline
 - vi-tilde-fringe
 - zoom-frm
2016-01-31 00:59:07 -05:00
Joe Schafer 2d99beb425 vim-unimpaired: don't re-position point
Keep the point the same for evil-unimpaired/insert-space-above and
evil-unimpaired/insert-space-below.

Old Behavior

    A newline<POINT>
    \n

    ===== (evil-unimpaired/insert-space-below)

    <POINT>A newline
    \n
    \n

New behavior

    A newline<POINT>
    \n

    ===== (evil-unimpaired/insert-space-below)

    A newline<POINT>
    \n
    \n
2016-01-26 01:21:02 -05: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
Eivind Fonn 40836f1c11 Basic support for hexl 2016-01-26 01:21:01 -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
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