Commit graph

274 commits

Author SHA1 Message Date
syl20bnr 0108329f5b git: simplify the git-timemachine micro-state on enter action 2015-10-18 23:39:07 -04:00
syl20bnr bf7d9a40b4 git: new magit-blame micro state 2015-10-18 23:37:50 -04:00
Adam Olsen a90df74e1b Bind SPC g B to 'magit-blame-quit 2015-10-18 22:36:07 -04:00
Klaus Loft Højbjerre faf8a0b242 Move .org-id-locations to .cache directory 2015-10-18 22:27:41 -04:00
Sebastian Wiesner 6a60346b72 Only disable scala syntax checker in Ensime
Flycheck also includes a scalastyle syntax checker which is still
useful because Ensime doesn't have scalastyle support.
2015-10-18 22:12:28 -04:00
Sebastian Wiesner bd6716b4f0 Add popwin configuration for sunshine
Pin the forecast window to the bottom.
2015-10-18 10:17:58 -04:00
Sebastian Wiesner b07077280d Fix escaping in buffer name regexp
Emacs has no raw strings, and needs two backslashes for a backslash in regular expressions.
2015-10-18 10:17:38 -04:00
Carl Lange 5d0f62daef location->geolocation 2015-10-18 10:17:26 -04:00
Sebastian Wiesner 460e4b9335 Fix access to possibly void variable
calendar-location-name comes from solar.el which is neither loaded by
default nor by this layer.  Hence it can potentially be void and must
not be accessed directly.

Instead wrap it in bound-and-true-p to guard against it being void.
2015-10-18 10:17:11 -04:00
Fabien Dubosson 5105b99754 Add a note about org loading limitation
Add a release note about the limitation of org loading since 0.105, and
also document it in the org-layer's README.

Close #3277

Move note to FAQ and correct text to 0.104
2015-10-18 10:10:02 -04:00
Fabien Dubosson 2b5b2d3922 Give a prefix and bindings for org applications
Related to #1296.

Use `SPC a o` as prefix for org related applications like `org-agenda`
or `org-capture`. The `a` is for "application", and `o` for "org". To
avoid long keystrokes for `agenda`, direct bindings are offered through
`SPC a o <key>`.

Because `org-agenda` is one of the principal application, it has be
mapped to repeating the last letter (`SPC a o o`).
2015-10-18 10:05:42 -04:00
justbur c5e01eb781 core-keys: Make TAB more useful in help buffers
In help buffers, TAB in emacs state allows you to jump through the
links. This allows for the same behavior in motion state. This is very
useful for jumping to function definitions.
2015-10-14 00:39:14 -04:00
justbur bfd360440f doc: Be consistent with ref to Spacemacs
Use of =Spacemacs= vs Spacemacs is inconsistent. This picks Spacemacs as
a convention
2015-10-14 00:32:09 -04:00
Sebastian Wiesner 414472cb9e Use login shell as term shell
shell-file-name provides the "best" shell Emacs knows about, i.e. the
login shell from $SHELL, or a system default, which is just about as
arbitrary as the current default to /bin/bash.
2015-10-14 00:30:20 -04:00
Sebastian Wiesner cc9f1c1065 Bind mbb to sbt-command in scala layer
Provides a shortcut to run arbitrary SBT commands from scala mode
buffers
2015-10-14 00:29:30 -04:00
Wieland Hoffmann a788e1a88e Markup fixes
This makes all Notes in DOCUMENTATION.org be *Note*: and changes the
markup around the spacemacs init file path in jabbers README.org to
proper org markup.
2015-10-14 00:28:03 -04:00
Diego Berrocal 54a2dd7643 Modify Wakatime Layer 2015-10-14 00:26:46 -04:00
Ista Zahn 6434044f61 Let ESS set up completions 2015-10-14 00:26:29 -04:00
Diego Berrocal 8296b81144 Add Pacmacs to games layer 2015-10-14 00:18:53 -04:00
syl20bnr 101f57f606 Move vim layer to vimscript
Also refactor a bit the package config.
2015-10-14 00:14:33 -04:00
ralesi 14e7fb954c Vim syntax layer. 2015-10-14 00:10:57 -04:00
syl20bnr 4f810a3d0c org: reformat README 2015-10-13 23:59:35 -04:00
Robert O'Connor d8566c1752 tweak evil-matchit for the html layer 2015-10-13 23:48:44 -04:00
Robert O'Connor a9716e3f79 add evil-matchit support for js files 2015-10-13 23:48:44 -04:00
syl20bnr 234cb960b5 Move location layer to geolocation layer
Rename layer variables to be more explicit
Always use the first two themes of dotspacemacs-themes
2015-10-13 23:48:44 -04:00
Eivind Fonn e72dd8a87d Don't define C-/ in company-mode-map 2015-10-12 17:52:10 +02:00
Pierre Radermecker dac0ba87a4 Fix #1493: add align rule for Haskell 2015-10-12 10:10:33 -04:00
syl20bnr 49df0162b3 emacs lisp: disable flycheck by default
In this case the saner default is too disable it because there is
too much false warning
2015-10-12 10:02:10 -04:00
syl20bnr 9c28230a23 shell: set comint-move-point-for-output to true
Automatically scroll the buffer on new output
2015-10-12 10:00:57 -04:00
syl20bnr acc197f7fe org: minor README fix 2015-10-12 09:59:56 -04:00
justbur b44d27aad4 org: Add doc about RET keybinding 2015-10-12 09:50:53 -04:00
syl20bnr b27d6bd94e haskell: simplify SPC mhi and SPC mht config 2015-10-12 09:50:13 -04:00
Boris Buliga e24b693c9b fix mht and mhi bindings for haskell-mode
As discussed in #3197.
2015-10-12 09:47:55 -04:00
Amin Bandali 7ebc3bd291 Fix erc notification icon
Introduce and use spacemacs-assets-directory for specifying the
spacemacs assets used in defining the app icon path, instead of a
hardcoded string
2015-10-12 09:37:56 -04:00
Ista Zahn a761c0def4 Simplify ESS layer autoloads and add keybindings for starting REPLs 2015-10-12 09:37:06 -04:00
Sebastian Wiesner f89ec043fd Search for GNU ls after exec-path was setup
We need to look for GNU ls after exec-path-from-shell was initialised
and has fixed exec-path.  Otherwise the directory containing gls may not
yet be in exec-path
2015-10-12 09:36:29 -04:00
Fabien Dubosson e5dbfa0032 Add switch-to-scratch-buffer function and bind it
This change add a `switch-to-scratch-buffer` function allowing to – you
guessed it – switch to the `*scratch*` buffer, taking care of creating
it if necessary. The function is bind to `SPC b s`, `b` as it concerns
buffers, and `s` for `scratch`.
2015-10-12 09:34:46 -04:00
Allen Li 1f3a6a0941 Fix SIGQUIT bug #3324
This hook is duplicating the functionality of a multiterm hook, causing
it to be called after the multiterm hook has already switched to a
different buffer, thus quitting a job in the latter buffer.
2015-10-12 09:32:39 -04:00
syl20bnr 47ce251853 haskell: add documentation for SPC m g i 2015-10-12 09:32:05 -04:00
Benno Fünfstück 27efd8fc83 haskell layer: add key binding to jump to imports 2015-10-12 09:29:52 -04:00
Eivind Fonn df1cabe62f auto-completion: Remove outdated mention of C-/ 2015-10-11 10:34:31 +02:00
Uri Sharf 77d5fef312 Fix typo in var name for suppressing error popups 2015-10-10 23:56:09 -04:00
Sebastian Wiesner 2b87b3d8ea Use tab-width instead of default-tab-width
default-tab-width is obsolete since Emacs 23
2015-10-10 23:55:52 -04:00
Boris Buliga 75078b031f update tips for 'stuck' haskell repl
Based on #3292
2015-10-10 23:54:58 -04:00
syl20bnr 4df7958115 spacemacs-base: simplify url init func 2015-10-10 23:54:09 -04:00
Diego Berrocal 0be2e58308 Make Gravatar cache go into Spacemacs cache dir 2015-10-10 23:49:37 -04:00
Eivind Fonn cd702e0fd7 auto-completion: Add helm-company 2015-10-10 23:47:46 -04:00
Sebastian Wiesner 41a024c206 Use save-place-mode when available
Emacs 25 defines save-place-mode, to be used instead of
(setq save-place t)
2015-10-10 23:43:44 -04:00
Fabien Dubosson ef714fa4e3 [contrib] Add a bepo contributed layer
First version of the bepo contributed layer. I'm probably the only one
using it for now, let's wait for issues and contributions!

This is a snapshot-branch of my own development branch, it will not
change, except maybe if it reaches a new "clean" state before it gets
merged.
2015-10-10 23:43:05 -04:00
syl20bnr f0e1414994 osx: remove some comments 2015-10-10 23:42:11 -04:00
Sebastian Wiesner cd18b14a7a Use osx-trash for system trash on OS X 2015-10-10 23:38:04 -04:00
Eivind Fonn 48edef187f org: take control of evil-org 2015-10-10 23:34:56 -04:00
Sebastian Wiesner a3affa6554 Enable bug reference prog mode 2015-10-10 23:26:03 -04:00
syl20bnr 6edfdb550e nim: move local packages to local folder and simplify config 2015-10-10 23:19:23 -04:00
Eivind Fonn 56ecd43753 Add variables to opt-in to flycheck/flyspell 2015-10-10 23:18:46 -04:00
syl20bnr 74a717f2bb spacemacs-base: use new sorting function which-key-key-order-alpha
Which sorts the keys like in the READMEs and like the code.
2015-10-10 22:29:39 -04:00
Boris Buliga 9dab3b2e8e update haskell README
Improve PATH section. As requested in #2142.

Also make some minor improvements.
2015-10-09 12:17:51 +02:00
Eivind Fonn 812d35a100 Doc conventions for lisp layer READMEs 2015-10-09 12:15:35 +02:00
David Mohl 7947e2ee5b added documentation link to lisp-state to lispy languages 2015-10-09 12:12:19 +02:00
Fabien Dubosson 8d3c59c78f Discard buffer from marker, switch to it when asked 2015-10-09 12:11:24 +02:00
Fabien Dubosson 6442e00b2e Use a temp buffer to read the FAQ in helm-spacemacs
Correct a bug in helm-spacemacs: Whenever a function was needing the
FAQ's candidates in helm-spacemancs (`SPC f e h` and `SPC f e f`), the
`FAQ.org` file was open in a buffer and not closed. This commit corrects
this by loading the content of `FAQ.org` in a temp buffer and switch it
to `org-mode` in order to get the candidates.
2015-10-09 12:11:24 +02:00
Fabien Dubosson cde101955d Correct java layer's documentation (close #3293) 2015-10-09 12:09:03 +02:00
Pierre Radermecker f3f88b4d28 Fix #3214: add back split-window-and-switch func
Theses func came back from the old spacemacs/funcs.el file
2015-10-09 12:08:40 +02:00
Diego Berrocal c9612ffef0 Expand to className when using emmet
div.react-class >>> <div className="react-class"></div>
2015-10-09 12:06:40 +02:00
Bar Magal 83f1117bd7 spacemacs/backward-kill-word-or-region: handle rectangular selection correctly 2015-10-09 12:07:49 +03:00
syl20bnr cdea5716ed spacemacs-core: use new sort function which-key-prefix-then-key-order 2015-10-07 19:26:28 -04:00
syl20bnr 31229cb1f5 spacemacs: add evil-mc package
evil-mc is a new attempt to bring multiple cursors to evil users.
Enable it by adding `(global-evil-mc-mode)` then use
g r m to mark all
g r u to remove cursors
g r p to pause cursors
g r r to resume
g r h to add a cursor at point (cursors must be paused first)

Package repo: https://github.com/gabesoft/evil-mc
2015-10-07 18:17:01 -04:00
Christoph Paulik 806573b09b javascript: add instruction for installation of JSHint 2015-10-07 15:51:40 -04:00
Severen Redwood 7924a782a2 Add a function and keybinding for cargo clean 2015-10-07 15:51:40 -04:00
mahinshaw 58f2937260 Use exec-path-from-shell-copy-env to set RUST_SRC_PATH for racer 2015-10-07 15:51:40 -04:00
Markus Bertheau fff86b6a4e Add CIDER quick start for boot 2015-10-07 15:51:40 -04:00
Andrew Burkett cb65a9adaf Remove server-kill-buffer from frame-killer 2015-10-07 15:51:40 -04:00
William Casarin 5dd4aa5fd2 hoogle-lookup-from-local key binding 2015-10-07 15:51:40 -04:00
Swaroop C H 0a6c619194 [python] Allow user to customize fill column 2015-10-07 15:51:40 -04:00
GeorgeLenton a28e776b84 Enable Emmet tab expansion using hybrid mode
Previously only worked for vim & emacs.
2015-10-07 15:51:40 -04:00
syl20bnr 0cbe01433d Move (setq help-window-select 't) to spacemacs-base 2015-10-07 15:51:40 -04:00
syl20bnr c070f81951 spacemacs-base: add <backtab> binding to go up a directory with helm 2015-10-07 15:51:39 -04:00
justbur bb1ed81aca helm: Backtab to go up directory in helm
The key binding wasn't taken, so I figured it couldn't hurt. There's a
nice symmetry with using Tab to enter a directory.
2015-10-07 15:51:39 -04:00
Fabien Dubosson b1fc99bdee Improve keybindings for text-region counting.
Emacs provides a `count-words-region' which is badly named as it counts
not only words, but also characters and lines. The current keybinding
for this function `SPC x w c' implies it's referring to words only. The
new mapping `SPC x c` is more coherent since it means counting text,
whether it is characters, words or lines. An alias `count-region` is
created to be less confusing in which-key description.

`SPC x w c` being free, `spacemacs/count-words-analysis` is remapped to
it instead of `SPC x w C` to save one keystroke.
2015-10-07 15:51:39 -04:00
Eivind Fonn 1c06e2369c Use helm or ibuffer to provide :ls 2015-10-07 15:51:39 -04:00
Fabien Dubosson 66bd2d326e Improve count-words-analysis output
The `spacemacs/count-words-analysis' function displays results with the
default elisp formatting of associative list. This change improves it by
changing the format to a more human-readable form, and also by ordering
results by frequencies first, and then alphabetically in case of tie.
2015-10-07 15:51:39 -04:00
person808 c1b6293268 Replace eval-after-load with with-eval-after-load.
We now backport the macro for 24.3 so we can use it everywhere.
2015-10-07 15:51:39 -04:00
Fabien Dubosson 6a18cad5c0 Add avy-open-url and its keybinding to open urls
The function `spacemacs/avy-open-url` allows to easily select an URL on
the screen with `avy` and open it. The function is bind to `SPC x o`,
`x` as it is text-related and `o` for open.
2015-10-07 15:51:39 -04:00
Eivind Fonn dfd84809ba ocaml: Document opam initialization 2015-10-07 15:51:39 -04:00
Eivind Fonn 560f77f901 ocaml: Don't error if command returns empty string 2015-10-07 15:51:39 -04:00
Diego Berrocal 33cd5097ff Fix typo with ~= in the doc 2015-10-07 15:51:39 -04:00
Robert O'Connor f710f3e501 add org-mode flyspell hook 2015-10-07 15:51:39 -04:00
Eivind Fonn e9c5e168d6 core: remove special handling of spacemacs-theme and solarized theme
Also remove the local solarized-theme package
2015-10-07 15:51:39 -04:00
Robert O'Connor 59be5b43df Fix erc-tex warning when starting spacemacs
`flet' is an obsolete macro (as of 24.3); use either `cl-flet' or
`cl-letf'.
2015-10-07 15:51:39 -04:00
Yen-Chin Lee 2a983671af Fix some cl-lib function with prefix
Since emacs 24.3, function in cl-lib should with cl- prefix.

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
2015-10-07 15:51:39 -04:00
justbur 4b8a5ffb1b org: Use RET in normal-state for links 2015-10-07 15:51:39 -04:00
Eivind Fonn c1561eadb7 Fix pylookup
- Set executable bit on pylookup.py
- Add update functions to autoload
- Document use of update functions
- Fix path setup
2015-10-07 15:51:39 -04:00
Fabien Dubosson 5e3dbd9234 Add FAQ as a source in helm-spacemacs
Add the `FAQ.org` file as a source in helm-spacemacs (`SPC f e h`).
Define a new keybinding for looking directly inside the FAQ with helm:
`SPC f e f`.

With help from TheBB, thanks!
2015-10-07 15:51:38 -04:00
Boris Buliga a4642ef774 update haskell README file
- update section about setting up PATH by updating value of
  =exec-path= (previously it was saying to update it in =user-init=
  function, but looks like you need to do it in =user-config=) -
  following #1718
- add FAQ section
  - add note about setting up =stack-ghci= as =haskell-process= (as
  noted in #2142)
  - add note about fixing problems with =ghc-mod= and =stack=
  - add note about fixing stuck REPL (following #3271)
2015-10-07 19:22:28 +02:00
nashamri 3d52925b14 Update documentation 2015-10-07 18:57:18 +02:00
nashamri 80d4c37ce6 Keybinding for setting flycheck checker executable 2015-10-07 18:57:18 +02:00
d12frosted 377ac14454 add notes on using stack 2015-10-07 18:18:00 +03:00
Christoph Paulik 0dce7a648d Remove global ranger deer binding, document SPC a d 2015-10-06 21:24:26 +02:00
d12frosted 6b8df266ca fix key binding for switching back from REPL 2015-10-06 21:09:53 +02:00
Eivind Fonn 7a546bb7ba Add h and l bindings to eyebrowse micro-state 2015-10-06 15:23:03 +02:00