Commit graph

3328 commits

Author SHA1 Message Date
Tu Do a68a75f028 Make helm-find-files backspace behave like Ido
To make it easier for people to switch to helm-find-files from Ido.
2015-05-10 01:08:42 -04:00
Michishige Kaito 24da945166 Move Rust to own layer 2015-05-10 01:07:53 -04:00
Brian Hicks 5532d8e0d5 spotify: add layer 2015-05-10 01:04:41 -04:00
person808 79988f375d Disable evil-snipe in magit-status-mode.
Evil-snipe takes over the keybinding for s, making it impossible to
stage part of a hunk.
2015-05-10 01:03:33 -04:00
Eivind Fonn 3749668e24 Add matlab to extra-langs layer 2015-05-10 01:02:56 -04:00
Tu Do 20c0bbe89b Make window inactive face less distracting
Currently using font-lock-preprocessor-face can make window number too
bright and distract. Use font-lock-comment-face to make it less
distracting while still visible since it's an inherent part of the
theme.
2015-05-10 01:02:41 -04:00
Tu Do f0a804f4f9 Update quickhelp
Add info to help user know how to quickly access each layer and
.spacemacas file.

Also fix line end formatting: use unix by default.
2015-05-10 01:02:29 -04:00
Chris Sims d333e86fa8 Add binding to connect to REPL in Cider 2015-05-10 01:01:57 -04:00
Allen Li 8716ee5433 Use helm-pp-bookmarks instead of helm-bookmarks
helm-pp-bookmarks provides the same functionality except it uses colors
to make the interface prettier.
2015-05-10 01:00:28 -04:00
person808 1c6fe70982 Add macrostep micro-state to emacs-lisp layer. 2015-05-10 01:00:09 -04:00
Suman Nandan 4317bbcae3 updated README of contrib/perforce 2015-05-10 00:59:23 -04:00
Suman Nandan 6793eda4a9 Added more keybindings to p4 2015-05-10 00:59:17 -04:00
Zhe Cao 2ab2725b2d add htmlize package to enable syntax highlight in export html 2015-05-10 00:58:04 -04:00
Török Edwin e1d3f5adb2 remind to use fd when keybindings don't work
I found myself in <kbd>SPC : customize</kbd> without knowing how to switch out of it again when I was done, there was no menubar, and I couldn't turn it on either because the <kbd>SPC</kbd> keybindings or the Vim ones just didn't work at all.
Reading the documentation again I gave <kbd>fd</kbd> a try, and it brought the keybindings back, so I think it'd be helpful to mention that <kbd>fd</kbd> is also useful as an escape when the usual keybindings don't work.

Also wouldn't hurt if a message was displayed to use <kbd>fd</kbd> when trying to use <kbd>SPC</kbd> and it doesn't work.
2015-05-10 00:57:27 -04:00
syl20bnr dd277ca00d Fix spray cursor issue when quitting
fixes #679
2015-05-10 00:39:07 -04:00
syl20bnr b10e3c8b97 Move SPC b r to SPC f R (rename file)
fixes #707
2015-05-10 00:18:00 -04:00
syl20bnr 5c84cc9ff2 Add FAQ about emacs -q and after-init-hook
fixes #844
2015-05-10 00:08:33 -04:00
syl20bnr 69573d8afd Hack to speed up ace-jump-line as an evil motion
fixes #963
2015-05-09 23:45:34 -04:00
syl20bnr 482df58932 Fix global toggle of whitespace
fixes #1124
2015-05-09 23:32:43 -04:00
syl20bnr 95e2c7aada Fix for paste command in multi-term
fixes #1155
2015-05-09 23:16:24 -04:00
syl20bnr efacc059e3 Don't use the minibuffer for scroll micro-state
fixes #1234
2015-05-09 22:59:05 -04:00
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