Commit graph

3157 commits

Author SHA1 Message Date
syl20bnr 4e8b37fac8 Add move-text micro-state
resolves #1282
2015-05-09 22:38:10 -04:00
syl20bnr 53b7d600ff Add missing documentation in micro-state
for :execute-binding-on-enter
2015-05-09 22:36:16 -04:00
syl20bnr 56a0a94377 Warn about duplicated layers 2015-05-09 21:59:03 -04:00
syl20bnr 07e2465868 emacs layer: sort key bindings 2015-05-09 12:08:49 -04:00
syl20bnr 620b59725a Fix key bindings for emacs lisp format commands 2015-05-09 12:05:44 -04:00
syl20bnr f09251f9c8 Update comments in dotfile template for default layers 2015-05-09 12:04:43 -04:00
Tu Do fe51de1637 Fix key binding for Elisp format sexp
It should be "mfs" to better synergize with srefactor-lisp-format-sexp.
2015-05-09 12:02:53 -04:00
Tu Do a740923dd9 [Fix #1409, #1407, #1424, #1442]] Explicitly manage popwin
Set popwin:special-display-config to nil and let us manage it from
scratch. Doing so, we avoid popwin to mess up windows of some package
i.e. SLIME. Similar to how auto-completion layer is managed, if a layer
want to have popwin support, it must be explicitly specified in that
layer.

The default popwin:special-display-config contains obsolete config such
as anything (predecessor of Helm) and buffer that should be stick around
until we press C-g (like shell command output since we may need the
output for doing something else).

We don't need to use popwin:display-buffer since it can still mess up
window configuration, like this issue #1409. Simply add helm buffers to
display-buffer-alist, and use display-buffer-in-side-window; without any
argument, the default is bottom. We also inhibit Helm buffers to reuse
the existing windows with (inhibit-same-window . t) and a window
height (window-height . 0.4).

Also prevent popwin from piling up display-buffer-alist since everytime
it is reactivated, it adds its own buffers that already existed in
display-buffer-alist, by restoring display-buffer-alist after
popwin-mode is enabled again.
2015-05-08 00:35:38 -04:00
syl20bnr 858bb7a733 Add powerline face tweak to spacemacs/post-theme-init 2015-05-08 00:33:30 -04:00
Tu Do 3924b0fe64 [fix #1223] make window inactive face compatible with themes
The face is not readable in theme like Zenburn and probably other themes
out there. This commit fix it by inheriting from a built-in face.
2015-05-08 00:21:16 -04:00
Quang Linh Le f5314f2985 Command S works with other modes (Customs, EIN...) 2015-05-08 00:20:00 -04:00
syl20bnr 37e515a57c TypeScript layer: tweak layer
- remove not necessary binding for flymake
- adapt key bindings to conventions
- minor reformat of README.md
2015-05-08 00:16:26 -04:00
Chris Bowdon f9fa443f83 Add TypeScript configuration layer 2015-05-07 23:44:35 -04:00
syl20bnr 68e8b3e524 Tweak conventions for markup languages
- Replace `SPC h h` and `SPC h H` for `SPC h i` and `SPC h I`
- Replace `SPC r` prefix for `SPC x`
- Replace `SPC x SPC` for `SPC x r`
- Sort key bindings alphabetically
2015-05-07 23:08:52 -04:00
Christoph Paulik ed861cf0ff Create conventions for markup languages 2015-05-07 22:17:45 -04:00
Christoph Paulik 7b6678efd6 Org markdown: Improve consistency of key bindings for markup language 2015-05-07 22:17:01 -04:00
Jack Wilson 3870c30bc3 Update DOCUMENTATION.md
Typos/grammar
2015-05-07 00:55:50 -04:00
Diego Berrocal f51d006672 Add more pairs to sp-local-pair in web-mode
Supporting in this way more templating modes...We could grab all these
from web mode itself.
2015-05-07 00:54:10 -04:00
Tu Do 9d53611251 Remove visual noise in Helm window
In a Helm window, the top header line displays a key binding to execute
persistent action. The key binding is C-j. The problem, not all sources
are applicable with C-j, i.e. helm-projectile-switch-project.

Removing the header line also makes Helm look cleaner.
2015-05-07 00:53:27 -04:00
syl20bnr 53271caa5b Named function hooked to diff-mode-hook 2015-05-07 00:49:32 -04:00
Tu Do fb743fc5e7 Enable whitespace-mode for diff-mode
Since diff-mode is where we review our patch, it would be nice to review
whitespace as well, so we don't add unneeded characters.
2015-05-07 00:37:48 -04:00
Tu Do 8e338adf74 Beautify whitespace highlighting
The current whitespace faces make whitespace-mode too distracting to
read with too many background colors. This commit removes the annoying
colors for whitespace-space, whitespace-tab and whitespace-indentation
because:

- whitespace-tab and whitespace-space already use characters for
  visualizing their appearances. whitespace-tab uses ">>" while
  whitespace-space uses ".". Adding background colors is redundant and
  annoying. Editors like Notepad++ or Vim doesn't use background colors
  to depict such whitespace characters.

- According to the documentation of whitespace-indentation:

"Symbol face used to visualize 8 or more SPACEs at beginning of line.
Used when `whitespace-style' includes the value `indentation'."

It is used for highlighting first 8 characters or some customized
value. We must also disable its background colors otherwise our buffers
are still filled with annoying colors all over the places, since often
indentation is around 8 spaces or less. Anyway, with whitespace-space
and whitesspace-tab, such highlighting like whitespace-indentation is
redundant and not needed.
2015-05-07 00:37:42 -04:00
syl20bnr 18762615ae Actually add the emacs-lisp folder :-) 2015-05-07 00:31:13 -04:00
syl20bnr 6238c7dfad Update release note with new emacs-lisp layer 2015-05-07 00:30:44 -04:00
syl20bnr 36eca4419b New layer: emacs-lisp 2015-05-07 00:13:13 -04:00
Tu Do 760fa0dbe4 Make trailing whitespace less distracting and optional
By using font-lock-comment-face, it's less distracting than the default
bright red, since comment face is designed to be subtle.

Also allow users to turn it off by adding an option
spacemacs-show-trailing-whitespace.
2015-05-06 23:34:49 -04:00
Tu Do db47cead53 [Fix Smantic layer] Load srefactor-lisp
Otherwise the symbol definition is void and the commands can't be
executed.
2015-05-06 22:46:18 -04:00
Jean-Christophe Petkovich 4a9083a109 Fix package loading in lang/ess
Originally `load-ess-on-demand` used `use-package` for the purposes of
actually loading `ess-site` and related elisp for dealing with R. But
since `use-package` doesn't return true or false when a package is
actually successfully loaded anymore, and the semantics of how it will
work aren't precisely clear, it makes sense to use `require` here
instead.

    (defun load-ess-on-demand ()
      (interactive)
      (-all? '---truthy? (list
                          (require 'ess-site)
                          (require 'ess-R-object-popup)
                          (require 'ess-R-data-view))))

All the normal hooks setup by `use-package` will work as normal. I
actually don't see a reason we should use `use-package` instead of
`require` in this specific instance. Since `use-package` often defers
loading packages, it's arguably clearer to use `require` in this
particular instance.
2015-05-06 22:27:38 -04:00
Matthew Lyon 4e23326db0 New org-mode leader keys for narrowing
SPC m n      org-narrow-to-subtree
SPC m N      widen
2015-05-06 22:26:50 -04:00
Tu Do 128a420a4f [Fix] Disable company-tooltip-flip
Currently by default company knows when to flip the popup. However, when
the above option is set to t, it causes a strange behaviour: when the
tooltip is flipped, press down (i.e. M-n or arrow key) go up and press
up (i.e. M-p or arrow key) go down.
2015-05-06 22:23:53 -04:00
syl20bnr d149c5beae auto-completion layer: rename auto-completion-sort-by-usage
to auto-completion-enable-sort-by-usage
When it is possible we try to use the verb `enable`.
2015-05-06 22:22:01 -04:00
person808 866f59e41f Add support for company-statistics. 2015-05-06 22:18:48 -04:00
syl20bnr 91e560d415 html layer: move html/init-company-web
This way this package is installed only if auto-completion is used
2015-05-06 22:16:18 -04:00
Diego Berrocal ef2e037c92 Add company-web to web-mode 2015-05-06 22:09:04 -04:00
syl20bnr 1d1772b854 Really fix smart gd and K :-) 2015-05-05 23:20:12 -04:00
syl20bnr 59ff87b10d Fix gd and K in normal state that insert strings in the buffer 2015-05-05 23:08:06 -04:00
syl20bnr 640d8fc19c auto-completion layer: improve implementation of key sequence to complete
default value `auto-completion-complete-with-key-sequence` is now nil
resolves conflict with evil-escape
fixes #1491
2015-05-05 22:32:28 -04:00
syl20bnr 480c6df909 haskell layer: fix haskell-snippets loading
fixes #1471
2015-05-04 00:27:13 -04:00
syl20bnr c634baceec auto-completion layer: rename auto-completion-enable-company-help-tooltip
to auto-completion-enable-help-tooltip
2015-05-04 00:15:58 -04:00
syl20bnr 441fa05f12 auto-completion layer: new UX variables 2015-05-04 00:14:25 -04:00
syl20bnr a931de637d auctex layer: add flycheck support
fixes #1478
2015-05-03 19:18:03 -04:00
syl20bnr b7c8ca7383 haskell layer: add haskell-snippets
Fixes #1471
2015-05-03 12:51:29 -04:00
syl20bnr 8df9108138 Fix iedit-insert state face in vim-powerline 2015-05-03 00:04:33 -04:00
syl20bnr 642cfbd6d9 new vim-powerline layer 2015-05-02 23:51:28 -04:00
person808 c5a266d702 Use eval-after-load in git layer. 2015-05-02 22:33:28 -04:00
person808 8f38841082 Make evil-smart* functions respect leader key. 2015-05-02 22:33:02 -04:00
Tu Do 7d2f36671f Fix helm-spacemacs logic for open layer doc
It is supposed to open plain markdown file inside Emacs when a prefix
argument is supplied and render the markdown file otherwise. Currently,
both actions open the markdown file in a rendered buffer. This commit
fixed the issue.
2015-05-02 22:31:49 -04:00
Michishige Kaito 23bef9e93c Update theme-to-package rules for base16 2015-05-02 22:31:07 -04:00
Miles Steele 9db8726d7d Use non-visual lines for j/k navigation 2015-05-02 22:28:15 -04:00
Yen-Chin Lee afde9f223c dotspacemacs/location should respect dotspacemacs-filepath value
Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
2015-05-02 22:11:55 -04:00