Commit graph

1093 commits

Author SHA1 Message Date
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
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
justbur
b149f4e13a transient-state: new dotspacemacs variable to hide titles
dotspacemacs-show-transient-state-title
2016-01-31 23:50:10 -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
3bab577b86 symbol-highlight-ts: Improve doc formatting 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
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
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
syl20bnr
559fce8514 geolocation: edit readme 2016-01-31 21:27:03 -05:00
Uri Sharf
0c09047e29 Update geolocation (re-write)
- updated to evilified-state-evilify-map
- add entry for sunrise-appid
2016-01-31 21:22:30 -05:00
syl20bnr
ebe73ce701 Remove neotree from package list of spacemacs-editing 2016-01-31 20:44:37 -05:00
Fabien Dubosson
42bc71dcac Add helm-projectile-find-file-dwim
Complete #4144 in supporting `spacemacs-helm`
2016-01-31 22:12:49 +01: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
Fabien Dubosson
56115e9bce Fix table alignment in SQL README 2016-01-31 21:48:52 +01:00
Xue Fuqiao
4958f7fc10 Fix "the point" problems
Point is a proper name when it refers to the current editing location.
Moreover, point designates a place *between* two characters (or before the first
character, or after the last character), rather than a particular character.

References:

* http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00414.html
* https://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html#index-point
2016-01-31 21:48:52 +01:00
Fabien Dubosson
7f201b5b98 Fix parenthesis code style in Python packages 2016-01-31 21:48:52 +01:00
Christoph Paulik
0cd242315b Add live-python mode to python layer as extension 2016-01-31 21:47:18 +01:00
Diego Berrocal
f386cbc801 Let SPC TAB work only in the current buffer 2016-01-31 11:11:26 -05:00
Diego Berrocal
fbcfe42605 Allow perspectives to change buffer-list 2016-01-31 11:08:47 -05:00
Diego Berrocal
8239c950f9 [layouts] Remove warnings for repeated bindings
This fixes:
1. Repeated bindings
2016-01-31 11:08:47 -05: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
syl20bnr
45def1ec60 core: Add support for lazy installed layer.
New function configuration-layer/lazy-install to add support for
lazy installation of layers based on auto-mode-alist emacs mechanism.

This is essentially the Prelude feature but translated at the layer
level for Spacemacs.

New dotspacemacs variable to enable this feature:
dotspacemacs-enable-lazy-installation
For now this variable is set to nil by default, it will be put to t when
the feature is stable.

POC with elixir layer.
2016-01-31 00:10:14 -05:00
syl20bnr
5a061b3813 core: new layer files packages-config.el and packages-funcs.el
Start to isolate the list of packages. Also we want to define packages
function at the top level of an elisp file in order to not prevent
emacs from knowing where the functions are defined.

This commit has a POC made with elfeed and elixir layers.
2016-01-31 00:03:04 -05:00
syl20bnr
33fd71d4bf ansible: add jinja2 package 2016-01-29 11:35:02 -05:00
Eivind Fonn
72e1413e22 Fix workspaces transient state 2016-01-26 12:16:54 +01:00
Mark Redeman
5fab8e8585 Add dracula theme to themes-megapack 2016-01-26 02:13:36 -05:00
syl20bnr
64adeb66ad ruby: add comment for rspec-mode config. 2016-01-26 01:47:25 -05:00
Oleg Ivanov
1a84cc15b8 do not force rspec-mode on ruby files 2016-01-26 01:21:02 -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
bmag
26cda7ef12 Fix transient workspace tags
Switching between layouts didn't save the tag of any (eyebrowse)
workspace, resulting in transient workspace tags.  This fixes it so tags
are saved correctly.
2016-01-26 01:21:02 -05:00
Christoph Paulik
f50859ab97 Revert "Set global pyenv version if no .python-version file exists"
This reverts commit bddf9de8f1.

When pyenv-auto-set-local-pyenv-version is set to 'on-visit then this
switched the python version when e.g. using jump to definition.
2016-01-26 01:21:02 -05:00