Commit graph

5844 commits

Author SHA1 Message Date
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
Fredrik Bergroth
8f991e33f2 Add keybinding for sh-backslash-region 2016-02-01 00:15:42 -05:00
Jerry Peng
14e090af19 scala: support replacing ascii arrows with unicode ones
Add a configuration option `scala-use-unicode-arrows` to
the scala layer, which when enabled replaces `->`, `=>`
and `<-` with corresponding unicode characters (Scala
supports unicode arrows natively).
2016-02-01 00:14:59 -05:00
Martin Yrjölä
094173d26d org-layer: follow the confirm and abort conventions 2016-02-01 00:12:12 -05:00
Eivind Fonn
bc5b7ec2c6 Turn off org-indent by default 2016-02-01 00:10:29 -05:00
Marat Safin
8d21d236e2 ivy: projectile-vc binding 2016-02-01 00:09:47 -05:00
Robert O'Connor
7d82e576ab Add plantuml layer
Adds support for PlanetUML, a tool to generate
UML diagrams from plain text.
2016-02-01 00:07:54 -05:00
syl20bnr
d924f036f9 TypeScript: change key bindings to be more conventional
To follow conventions and omnisharp bindings the following changes have
been made:
SPC g m --> SPC g t
SPC r --> SPC g u
SPC h d --> SPC h h
SPC s --> SPC s r
SPC n r --> SPC r r
2016-02-01 00:04:49 -05:00
JAremko
7a80049fa4 replaced typescript layer
fixed docs

Better docs, added linter and tsx mode

fixed typo

made TSX optional
2016-01-31 23:56:14 -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
syl20bnr
065f45f83f Add default value for transient-state dotspacemacs variables 2016-01-31 23:53:52 -05:00
justbur
b149f4e13a transient-state: new dotspacemacs variable to hide titles
dotspacemacs-show-transient-state-title
2016-01-31 23:50:10 -05:00
justbur
c40e49f1a1 transient-state: Add pink to color guide
Pink is for keys that do not exit hydras that run foreign keys.
2016-01-31 23:49:49 -05:00
justbur
e80ae8ac93 eyebrowse: Remove old doc declaration 2016-01-31 23:49:49 -05:00
justbur
65d92b8595 which-key: Fix replacement for transient-state/body 2016-01-31 23:49:49 -05:00
justbur
be077294c1 layouts: Use :additional-docs option for transient state 2016-01-31 23:49:44 -05:00
justbur
afec0f2264 transient-state: Add :additional-docs option
Used to format additional docstrings and store the resulting string in a
variable.
2016-01-31 23:48:19 -05:00
justbur
a55e8dc6fa transient-state: Make title face match mode-line 2016-01-31 23:48:19 -05:00
justbur
c12f6b85c8 transient-state: Add .spacemacs var to hide color guide 2016-01-31 23:48:19 -05:00
justbur
3bab577b86 symbol-highlight-ts: Improve doc formatting 2016-01-31 23:48:19 -05:00
justbur
c6b7eaca3d transient-state: Tweak formatting of doc
Make title formatting span length of message window, add space
between color guide and keys, and make italic.
2016-01-31 23:48:19 -05:00
justbur
3a810b43a2 layouts-ts: Temp fix for dynamic docstring 2016-01-31 23:48:18 -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
syl20bnr
cc42fc31f9 Register ESS REPLs separately 2016-01-31 23:41:40 -05:00
Eivind Fonn
e29ac21345 Register all REPLs and make SPC m ' bindings 2016-01-31 23:39:25 -05:00
Eivind Fonn
dfd7213095 Set the correct shell-pop size variable 2016-01-31 23:25:10 -05:00
syl20bnr
6b1b1c2a61 Move google-translate fixes to spacemacs-language 2016-01-31 23:24:37 -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
sooheon
4dcdf2364f Use counsel-find-file when spacemacs-ivy is used
Simple keybinding change. Keep `helm-find-files` otherwise.
2016-01-31 23:20:34 -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
4dc291bfb4 Fix flycheck loading tweak 2016-01-31 23:16:50 -05:00
syl20bnr
3b6b55485a core: don´t catch errors if --debug-init 2016-01-31 23:15:29 -05:00
Eivind Fonn
e9f8377b92 Tweak flycheck loading process 2016-01-31 23:04:48 -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
Martino Visintin
a5fdf43845 substitute align-cljlet with clojure-align
align-cljlet was deprecated in favour of the vertical alignment in the
clojure-mode package.
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
e19abfc559 Fix/delete dead references to HOWTOs.org file 2016-01-31 23:04:47 -05:00
Andre0991
fe88d71632 Fix initialisation of erc-terminal-notifier - use-package was not being called 2016-01-31 23:04:47 -05:00
Levin Du
330f852752 core: update doc after auto executing in micro state.
This is useful if :doc is a function to return the state which may be
modified by :execute-binding-on-enter.
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
Alex R
62337a3e3a Ensure that pcache-directory ends in a slash 2016-01-31 23:04:46 -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
syl20bnr
09af60594c LAYERS.org: update layer files section 2016-01-31 22:27:40 -05:00
Robert O'Connor
63e15998f8 Update layers tutorial with new layer structure 2016-01-31 22:22:33 -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