Commit graph

4850 commits

Author SHA1 Message Date
Fabien Dubosson
ab23559047 Adapt project-search keybindings
For buffers, `*` search for the word under the cursor, and `/` ask to
search for an expression. To keep the same mnemonic at project level,
this commit change `SPC /` to ask for an expression to search, and add
`SPC *` to search for the expression under the cursor (in fact the only
difference being the expression pre-filled inside the input field).
2015-10-19 00:20:59 -04:00
syl20bnr
91dcafe993 doc: add hint for C-s in SPC p p helm buffer 2015-10-19 00:19:30 -04:00
Eivind Fonn
8fbfebb955 Override C-s in SPC p p to use other search tools 2015-10-19 00:15:12 -04:00
d12frosted
1c54ee534f add prefixes to haskell-mode bindings 2015-10-19 00:12:02 -04:00
syl20bnr
6e5924014c ruby: make the built-in ruby mode the default and...
... rename layer variable `ruby-use-built-in-ruby-mode` to
`ruby-enable-enh-ruby-mode`
2015-10-19 00:10:32 -04:00
Sebastian Wiesner
40f369ffa0 ruby: Enable built-in Ruby Mode
Enable built-in Ruby Mode, by default on Emacs 24.4 and newer where it
was significantly improved.  Otherwise keep using Enh Ruby Mode.

Add all keybindings to both modes, and provide a variable to change the
default mode.
2015-10-19 00:04:37 -04:00
justbur
94cee58a1e spacemacs-layer: Fix linum-relative-mode
The toggle is being called after the package is loaded, but the package
is deferred based on a call to the toggle. This means that the first
time toggle is used it's called at least twice. Furthermore, `(setq
linum-format 'linum-relative)` effectively turns on the mode as it is.

Possible fix for #2161
2015-10-19 00:02:46 -04:00
Eivind Fonn
a5ac542ef1 Add helm-flx
See #3327
2015-10-19 00:00:15 -04:00
justbur
44cb780f25 emacs-lisp: Use auto-compile package
Also add key bindings for compiling and showing the compile log.
2015-10-18 23:59:47 -04:00
Sebastian Wiesner
6652e0d8b8 Add bindings for local variable commands
- fvd: Add a directory variable
- fvf: Add a file variable
- fvp: Add a file variable to property line
2015-10-18 23:56:46 -04:00
Sebastian Wiesner
10282c157b Remove redundant flyspell-mode hook
Markdown Mode derives from Text Mode, and thus runs text-mode-hook anyway.  Hence, there's no use in adding Flyspell Mode to Markdown Mode Hook.
2015-10-18 23:53:57 -04:00
Sebastian Wiesner
4af3eabc45 Actually enable flyspell-prog-mode
Add flycheck-prog-mode to prog-mode-hook to actually turn it on in
programming modes.
2015-10-18 23:53:31 -04:00
Sebastian Wiesner
77d5a36dec Mark css-indent-offset as safe local variable 2015-10-18 23:42:32 -04:00
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
syl20bnr
07d28a2d6d micro-state: :exit keyword now accepts a list 2015-10-18 23:35:51 -04:00
syl20bnr
4326ca9534 core: update LV with last version from Hydra 2015-10-18 23:31:57 -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
justbur
4640f4ffa2 core-release: Add checks to switch-to-version
Mainly adds a check to make sure the working directory is clean before
switching versions. The automatic update should not remove changes by
the user. They can do that manually if they wish.

Also restructures the function to make it a little easier to follow.
2015-10-18 22:11:15 -04:00
justbur
aa547faed6 config-layer: Correct package update note 2015-10-18 22:11:03 -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
Eivind Fonn
be06d945cd Fix Spacemacs buffer notes 2015-10-15 18:38:28 +02:00
justbur
c96183f56a spacemacs-buffer: Distinguish types of updates
Add a spacemacs update button to the spacemacs buffer, and relabel the
package update button to read "Update Packages". This will hopefully
resolve some confusion about updating spacemacs vs. updating the
packages.

I also tweaked the switch-to-version function to make it a little more
verbose to use it for the spacemacs update button.
2015-10-14 00:42:00 -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
Fabien Dubosson
f5fb2f654a Correct .spacemacs template's doc and indentation
Change a reference from `spacemacs/config` to the new
`spacemacs/user-config` function. Correct the file indentation.
2015-10-14 00:33:26 -04:00
Eoin Houlihan
1a853d5759 Fix minimize spelling mistake 2015-10-14 00:32:46 -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
Wieland Hoffmann
fa23d9453b Change references to the old contrib folder to layers 2015-10-14 00:30:00 -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
Daniel Luna
b4545a7b96 Shows error in *Messages* buffer when loading .spacemacs 2015-10-14 00:26:13 -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
Gogs
8c8778bbd7 Add location contrib layer 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