Commit graph

1051 commits

Author SHA1 Message Date
Mario Mainz c476c03360 Remove ruby-end-mode and use smartparens instead
ruby-end-mode does not always behave correctly. An example for that is
if statements, which don't have an end statement if they are written on
one line. Also, it feels dirty to use a Ruby package to implement Elixir
syntax behaviour.
Smartparens has functionality to define pairs for certain major modes.
This adds smartparens pairs for the "do" keyword and the arrow (->)
operator, so that the "end" keyword is automatically inserted and
properly indented on enter.
2016-02-14 23:13:05 -05:00
syl20bnr 5ac51287cd Replace close words by delete in documentation 2016-02-14 23:11: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
Kosta Harlan d6c29bdb8c Add majapahit-theme
This is a nice theme with light & dark versions.
2016-02-14 23:09:26 -05:00
Fabien Dubosson 21cab12125 Add smart closing parenthesis 2016-02-14 23:09:13 -05:00
Emily Hyland 1d1819baab Add omtose-phellack theme 2016-02-14 23:07:16 -05:00
Fabien Dubosson 24f0e8cc4b Restart Spacemacs restoring layouts
Fix #5058
2016-02-14 20:59:05 -05:00
syl20bnr 552fb1e1a6 mu4e: slight modifications of README and init function 2016-02-14 11:20:14 -05:00
Foivos S. Zakkak cbaa9da38b Add mu4-alert Package to emails mu4e Layer
mu4e-alert is an extension that provides desktop notifications and adds
the count of unread messages to the modeline.
2016-02-14 11:09:53 -05:00
syl20bnr 92b2c4b659 mu4e: slight refactor of mu4e/set-account 2016-02-12 18:17:04 -05:00
Wei Tang 4ef5184acf Set account by "to" field in mu4e
Currently, in multi-account mode, the mu4e layer guesses which account
to use to reply a message by its "maildir". However, some messages may
be forwarded and may need to use the original email address to reply.
This commit detects whether such an email address is defined in
"mu4e-account-alist", and uses that to do the replying if possible.
2016-02-12 18:17:04 -05:00
Martin Yrjölä 7cbc2da5f9 mu4e layer: Convenient navigation bindings 2016-02-12 18:17:04 -05:00
Eivind Fonn a111f4802d Don't change scratch major mode if buffer exists 2016-02-10 20:28:03 +01:00
EMayej Bee de7eb40337 Fix react magic mode 2016-02-09 21:37:22 +01:00
Muneeb Shaikh 5bdb8ae1af eyebrowse: transient-state doc fix 2016-02-09 21:33:51 +01:00
Eivind Fonn 16d8c24a30 Fix error message in vcs trans-state 2016-02-09 21:29:44 +01:00
person808 ba30c06754 Fix git-gutter linum setup. 2016-02-07 15:01:46 +01:00
Fabien Dubosson f81af92126 Remove gnus-fetch-old-headers customization
Fix #1331
2016-02-07 15:00:40 +01:00
Bar 6baf2abc2b Fix name of google-translate's init function
`spacemacs/init-google-translate` should be `spacemacs-language/init-google-translate`, `google-translate` is not loaded because of this.
2016-02-07 15:00:02 +01:00
Bar e1ddc75024 Switch project layout: rename buffer
Rename "*Projectile Layouts*" to start with "*Helm" like the other helm buffers.
2016-02-07 14:52:47 +01:00
Adam Sokolnicki c4cf602255 Add missing keybindings to rspec-mode in ruby layer
Commands `rspec-toggle-spec-and-target` and
`rspec-toggle-spec-and-target-find-example` were missing.
2016-02-07 14:49:32 +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
Fabien Dubosson 7838ea6521 Add link to mu4e's manual about contexts 2016-02-07 14:43:41 +01:00
Allen Li 604a0cfb43 Document mu4e's contexts feature 2016-02-07 14:42:12 +01:00
Fabien Dubosson 06cb27e1dc [doc] Fix some additional SPC : to SPC SPC 2016-02-07 14:39:54 +01:00
Xue Fuqiao a0d33123e5 Update layers/LAYERS.org
Languages like HTML, LaTeX, and Markdown are markup languages.
2016-02-07 14:28:07 +01:00
Diego Alvarez 7ed85b5169 fix command-log layer css path 2016-02-07 14:25:11 +01:00
Fabien Dubosson 6055ea9ec7 Fix trailing whitespaces in last commit 2016-02-07 14:24:05 +01:00
Diego Alvarez 95919e9a00 Added keybinding for copy curl command 2016-02-07 14:20:02 +01:00
Eivind Fonn f94263919b Fix previous commit 2016-02-04 19:31:47 +01:00
Eivind Fonn 1df4cfe206 Get clang args even if flycheck isn't installed 2016-02-04 14:09:35 +01:00
Jaakko Luttinen 34df7b03b0 Add key binding for going back in anaconda mode
There are keybindings `C-o` and `M-*` to go back already, but it could
be a good idea to add an entry to `SPC m g` (or `, g`) menu where the
other movement commands are.
2016-02-02 21:23:17 +01:00
Nate Wolfe 003b26ed83 [puppet] Use ruby-mode for Puppetfile support
The package 'puppetfile-mode' is no longer available as it's considered
redundant with ruby-mode, which should now be the mode to use for
"Puppetfile" files.
2016-02-02 21:15:26 +01:00
Diego Berrocal 55ef06317f Add smartparens to comint-mode
Why not?
2016-02-02 21:06:18 +01:00
Marat Safin d382f0f45b mu4e: use helm--completing-read-default 2016-02-02 16:54:41 +01:00
Utkarsh Kukreti 4de7c3df5f Enable emmet-mode in sass and scss modes. 2016-02-02 16:48:37 +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 b9939b19d8 Use built-in web-mode pairing 2016-02-02 16:34:45 +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
Fabien Dubosson e7a9264c73 [bepo] Treat emacs-state the same as insert-state
emacs-state is also an insertion state, so
`bepo--all-evil-states-but-insert` shouldn't contain it.
2016-02-02 15:18:20 +01:00
justbur d9cf37e4e7 auto-complete: Better binding for hippie-expand
Using a remap is better, because it will "automatically toggle" the key
binding if hybrid-mode is toggled.

The previous version just disabled the key binding completely if someone
used hybrid style.
2016-02-01 15:32:59 +01:00
Bart Brouns 723a27c424 use faust-mode from melpa 2016-02-01 14:13:52 +01:00
Muneeb Shaikh 7863cf1613 Enable C-p - hippie-expand only in vim style 2016-02-01 16:19:37 +05:30
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