Commit graph

2099 commits

Author SHA1 Message Date
syl20bnr c1c2d06f36 Remove SPC j F and SPC j V and add SPC m g G in Emacs Lisp
SPC j F and SPC j V don't fit the SPC j prefix because they require
the thing under point to be an Emacs lisp thing, which means that these
bindings should be major mode specific.
To replace them and accordingly to the convention the key bindings
SPC m g G in Emacs Lisp buffers has been added to go to definition
in other window.

SPC j f and SPC j v (minus letters) don't require the current buffer
to be Emacs Lisp and thus I only updated the documentation about them
mentioning that they're about Emacs Lisp variables and functions.
2016-08-25 21:19:21 -04:00
syl20bnr e4b15b16de Dispatch function spacemacs/jump-in-buffer to layers
Use imenu init and post-init functions to leverage the layer system and
get better isolation of configuration.
2016-08-25 20:42:01 -04:00
deb0ch 0191a81ad2 fix c-c++/post-init-ycmd: activate ycmd-mode in c files as well.
fix jump to definition refactor
2016-08-24 18:17:31 +02:00
Eivind Fonn 734c87fb24 Don’t break asynchronous jumpers (fix #6898) 2016-08-24 13:11:57 +02:00
Eivind Fonn c1a8427488 Allow align-repeat to work with empty regexps 2016-08-24 11:13:06 +02:00
Eivind Fonn b8ca74e4b3 scala: fix sbt-hydra config and move to “bh” 2016-08-22 21:32:38 +02:00
Danny Navarro 3263860669 scala: add SPC m x for sbt-hydra
sbt-hydra:hydra renamed to sbt-hydra in key binding.
2016-08-22 21:22:31 +02:00
Muneeb Shaikh 6b3f4f0f54 spacemacs-base: evilify occur mode 2016-08-22 21:13:10 +02:00
km e39df3d17f Add binding for merlin-occurrences
Also fix typo for binding prefix
2016-08-22 21:03:53 +02:00
zilongshanren 7a05260136 fix gtags enhancement 2016-08-23 00:08:25 +08:00
Eivind Fonn 5a869764dd Further improve gtags layer
- Add option to disable by default
- Use local-vars hook to allow per-project enable/disable
- Don’t enable helm-gtags-mode (no need)
- Move emacs bindings from helm-gtags-mode-map to ggtags-mode-map
2016-08-22 15:11:25 +02:00
Eivind Fonn 928983da47 Refactor jump to definition
This commit defines:

- spacemacs-default-jump-handlers: a list of functions that can jump to
  definition in ALL modes.

- spacemacs-jump-handlers-MODE: a list of functions that can jump to
  definition in MODE.

- spacemacs-jump-handlers: a buffer-local list of functions that can
  jump to definition. This is made up of the values of the two previous
  variables whenever a given major mode is activated.

- spacemacs/jump-to-definition: a function that tries each function in
  spacemacs-jump-handlers in order, and stops when one of them takes us
  somewhere new.

- spacemacs|define-jump-handlers: a macro that
  * defines spacemacs-jump-handlers-MODE, possibly filled with initial
    functions
  * defines a function that is added to the hook of the given MODE
  * binds “SPC m g g” of that MODE to spacemacs/jump-to-definition

This is an attempt to harmonize all the different approaches to jumping.
Specifically,

- Existing intelligent jump packages that work for only a single mode
  should go to the beginning of spacemacs-jump-handlers-MODE. E.g.
  anaconda for python, ensime for scala, etc.

- Packages like gtags that work for several modes (but potentially not
  all) and which is dumber than the intelligent jumpers should go the
  the END of spacemacs-jump-handlers-MODE.

- Packages like dumb-jump that work for all modes should go to
  spacemacs-default-jump-handlers.

In all cases the order of the jump handlers in each list should be from
most to least intelligent.

Fixes #6619
2016-08-22 15:08:25 +02:00
Antonis Kalou 27098315e8 Added support for extra cider commands
Also moved enlighten-mode toggle to toggles
2016-08-22 15:07:25 +02:00
Profpatsch b3e7f0f65a nixos: inhibit spacemacs indation in nix-mode 2016-08-22 15:05:40 +02:00
Abdo Roig-Maranges a52422e653 layouts: fix B b b not restricting to layout-local buffers
This fixes two issues regarding layouts.

1. Since Bad-ptr/persp-mode.el@e950bf15, persp-mode requires setting
persp-hook-up-emacs-buffer-completion in order to install the hooks for
ido & friends. This variable is nil by default, making SPB b b not
restrict to layout-local buffers.

2. The function spacemacs-layouts/non-restricted-buffer-list removes a
hook and re-adds it later. This makes the assumption that the hook was
already present. If it was not (due to 1) then SPC B b changes global
state by adding that hook. Instead, just let-bind the hook variable
for the scope we need it changed.

This explains and partially fixes #5788 and #6266. It does not fix the
dependency on ido-mode. If ido-mode is excluded, persp-mode will not
install the hook for ido, and SPB b b will still be unrestricted.
2016-08-22 15:00:59 +02:00
Eivind Fonn d365a2410a Re-fix SPC : -> SPC SPC 2016-08-22 14:51:33 +02:00
Marlin NA bc3a9fd1a0 Fix description: command of generating TOC 2016-08-22 14:50:54 +02:00
Shaun Taheri 5c1c15bbd8 Fix asciidoc demote function name 2016-08-22 10:22:20 +02:00
d12frosted 4071e0c215
improve spacemacs/open-junk-file doc string 2016-08-22 08:55:57 +03:00
André Peric Tavares 3e84c91f1d Remove duplicated words in docstring
"Open junk file" is duplicated in the docstring.
2016-08-21 14:50:26 -03:00
Eivind Fonn d94d0d9f71 Some improvements to py-isort config
- Rename variable
- Wrap the save function to check condition variable at runtime
- Add keybinding
2016-08-21 17:49:20 +02:00
Swaroop C H a2d7461bb1 [python] Add py-isort package
py-isort sorts the imports to keep it tidy.

Disabled by default.
2016-08-21 17:41:43 +02:00
JAremko 328c6b81aa Add aspect ratio check for centering.
Fix git conflict.
minor improvements and cleanup.
2016-08-21 17:29:19 +02:00
JAremko 7140e8dfa8 Add extra checks, cleanup
simplify space-doc customization

rearrange defcustom groups

more checks
2016-08-21 17:29:16 +02:00
JAremko 9ba525cdde simplify space-doc-mode
refactoring
2016-08-21 17:29:13 +02:00
JAremko 7e1eae0b9a space-doc/centered-buffer improvements.
reformat

fix stuff

make sure that user wants overlays
2016-08-21 17:29:08 +02:00
Eivind Fonn 5758a19dea gtags: fix ToC format 2016-08-21 17:15:26 +02:00
Eivind Fonn 8f94a32578 Add rotate-backward to window TS 2016-08-21 17:11:36 +02:00
duianto 8ef39ae0e6 rotate-windows and -backwards, comment correction
Changes to the comment in the `spacemacs/rotate-windows` function
Sentences reordered:
From:
Default behavior.
Additional behavior. Prefix argument behavior.

To:
Default behavior,
Prefix argument behavior,
Additional behavior.

Spelling:
First sentence:
"your" replaced with "each",
"forwards" added to the end.

Second sentence (after reordering the last two sentences):
"Giving" removed,
"takes" replaced with "rotates",
"kindows" corrected to "windows",
"rotate" (next to last word) removed

(Optional) Third sentence (after reordering):
"(locked)" added after "Dedicated", it might clarify that a dedicated window means that it is locked.

After these changes:
Before:
  "Rotate your windows.
Dedicated windows are left untouched. Giving a negative prefix
argument takes the kindows rotate backwards."

After:
  "Rotate each window forwards.
A negative prefix argument rotates each window backwards.
Dedicated (locked) windows are left untouched."


The comment in the function: `spacemacs/rotate-windows-backward`
"your" replaced with "each",
"s" added to "backward",
added the same additional behavior comment as in the "main" rotation function,
"Dedicated (locked) windows are left untouched."

Before:
  "Rotate your windows backward."

After:
  "Rotate each window backwards.
Dedicated (locked) windows are left untouched."
2016-08-21 17:07:13 +02:00
Eivind Fonn 7461b51176 spacemacs-base: sort packages 2016-08-21 17:05:21 +02:00
Igor Avdeev 6bf512f99f spacemacs-base: evilify archive-mode 2016-08-21 17:04:44 +02:00
Riccardo Murri a26503dc8d Allow customization of spaceline additional segments.
Introduce a new customization variable
`spacemacs-spaceline-additional-segments', which is a list of the
additional segments that should be inserted in the modeline when it is
initialized.
2016-08-21 17:01:23 +02:00
Eivind Fonn 2f15e8afb2 Fix possibly unbound mouse-wheel-mode 2016-08-21 17:00:08 +02:00
Christoph Paulik 83ec3afc7e Fix Python layer loading on emacs master branch.
The member function works slightly different on the master branch of
emacs than in emacs 24.5 or emacs 25 release candidates. This might be a
bug in emacs but for now we can add a check if python-test-runner is a
list to work around that.

Fix #6246.
2016-08-21 15:16:56 +02:00
d12frosted c7384638b1
fill paragraphs in scala layer readme 2016-08-21 10:55:25 +03:00
james sangho nah 6b71e168b2
Fix typo in Scala README 2016-08-21 10:53:54 +03:00
syl20bnr 564cbc40ed core: better behavior for dotspacemacs-download-packages
See end of this message for important breaking changes.

Previous behavior was to configure any installed package which caused
a lot of bad side effects and could make spacemacs unusable. This
behavior made little sense and does not fit with spacemacs.

This commit fixes this behavior by separating installed packages from
configured packages. In short dostspacemacs-download-packages variable
now only affect package installation. Packages are now configured if and
only if they are effectively *used* (i.e. listed in variable
dotspacemacs-configuration-layers or dotspacemacs-additional-packages).

IMPORTANT CHANGE: functions `configuration-layer/declare-used-layer` and
`configuration-layer/declare-used-layers` have been removed. These
functions have been introduced in develop branch only so the impact
should be minimal.
2016-08-19 21:04:33 -03:00
d12frosted 319b31683f
minor improvements to prodigy readme file
- Close sentence with dot.
- Fill paragraphs.
2016-08-19 11:13:02 +03:00
Nizar Venturini dfbe7b94d2
Fix typo 2016-08-19 11:12:55 +03:00
Eivind Fonn 25eb00c24f Update git layer rebase documentation 2016-08-19 10:10:09 +02:00
Diego Berrocal 219d891475 Update emacs-eclim package name
I think MELPA has an `old-names` back
[compatibility](https://github.com/melpa/melpa/issues/4159) measure for
cases like this, but for now it isn't working. And it's breaking all new
installs that use the java layer.
2016-08-18 21:12:15 +02:00
Eivind Fonn da2af5c1fd Extract golden-ratio config to package fns 2016-08-18 21:10:43 +02:00
Eoin Houlihan 1fc2be3863 Don't use golden ratio mode in Idris holes buffer 2016-08-18 21:07:24 +02:00
Christoph Paulik 6b41426d8d Python: Set breakpoints correctly when pyenv is used.
pyenv shims fool executable-find into thinking that ipdb is always
installed if it is installed in one environment.
2016-08-18 21:06:56 +02:00
Christoph Paulik 7504ec2309 SML: Improve indentation. 2016-08-18 21:05:51 +02:00
Eivind Fonn 08aeccb5af Add typescript variable for evil-shift-width 2016-08-18 14:34:32 +02:00
Eivind Fonn b2d108877c Move shell layer defuns to funcs.el 2016-08-17 21:00:16 +02:00
Steven Allen c1b5dd301c move eshell company post-config to post-init
See #6711
2016-08-17 20:55:00 +02:00
Nir Friedman ed1f782bdf Add option for helm fuzzy matching
Change-Id: If3f59e53fa954c230938876184852d1a34f3e7d3
2016-08-17 20:53:45 +02:00
Steven Allen 22daaea708 Fix jumping backwards after calling spacemacs/evil-smart-goto-definition
Ensure that the "previous position" mark is set correctly. Credit goes to
@eltechnic0 to figuring this out.

Fixes #4942
2016-08-17 20:39:33 +02:00
Eivind Fonn c0950f6421 Allow sub-modes of dired (e.g. ranger) 2016-08-17 20:34:09 +02:00
Jeremy Bi 629eb61149 Refactor spacemacs/open-in-external-app
New interactive function
`spacsmacs/open-file-or-directory-in-external-app`, depending on the
value of prefix argument, it opens the current file or directory in
external app.
2016-08-17 20:28:58 +02:00
deb0ch 9c4a0657d0 activate ycmd-mode in c files as well
ycmd-mode was only activated when entering c++-mode, making syntax
checking unavailable in c-mode, as flycheck-ycmd-mode is hooked to
ycmd-mode.
2016-08-17 20:21:50 +02:00
Eivind Fonn dbbdca7d5d Fix agda indentation and README 2016-08-17 20:20:20 +02:00
FreeSalad 5096202b6b Fix Agda layer for users without 'agda-mode' executable. 2016-08-17 20:13:01 +02:00
Eivind Fonn 2651f67c48 Fix cargo config
- Move cargo bindings to init-cargo
- Move bindings to init phase
- Swap spacemacs/rust-cargo-fmt with cargo-process-fmt
2016-08-17 20:10:05 +02:00
Kevin van Rooijen 0bbb88814e New add cargo package to rust layer 2016-08-17 20:05:37 +02:00
Shanavas M 56d820a1e1 Add missing prefices for web-mode menu 2016-08-17 20:02:41 +02:00
Shanavas M 83e5d41042 Add "documentation" prefix for js-doc menu 2016-08-17 20:01:43 +02:00
James W. Brinkerhoff cca05f57b5 Fix single missing character in documentation
Within the Important Note there is a single character (which written as wich) typo that this change corrects.
2016-08-17 19:54:29 +02:00
Eivind Fonn 65faddcba0 Improved search-engine layer
- Move defuns to funcs.el
- Add progn as per conventions
- Denote all search functions as autoloadable
2016-08-17 19:53:06 +02:00
Eivind Fonn 2ef2a965dc Update erc doc
At the moment, no yank or gitter

[ci-skip]
2016-08-17 19:52:35 +02:00
Eivind Fonn 69e19ebe0c Add option to use original flycheck bitmaps 2016-08-17 19:51:33 +02:00
Cass Petrus 2b9d39abd9 Link format fix terraform layer README
* Change .md formatted link to .org formatted link to address display
  issue on [terraform layer page](http://spacemacs.org/layers/+config-files/terraform/README.html)
2016-08-17 19:49:42 +02:00
André Peric Tavares 57aa9748aa Improve keybinding for beginning/end of line in pdf-tools
`image-bol` and `image-eol` are more appropriate than`scroll-left` and `scroll-right`.
2016-08-17 19:48:51 +02:00
Ricardo Banffy 0a7e0f8e93 Replace the typewriter image with the correct one. Fix #6832 2016-08-17 19:46:48 +02:00
Antonis Kalou 9bafae3f9c Added mention of PEP-8 syntax checkers to README 2016-08-16 21:06:45 +03:00
MadAnd 309e6eb4bb Fix smartparens after nested snippet expansions
Current implementation, #1644, doesn't handle the nested snippet
expansion properly, so you end up with smarparens disabled. Very
annoying.

I improved the implementation to remember the current state of
smartaperns before a top-level snippet expansion and preserve on any
nested snippet expansions.

Also, some housekeeping of the related code:
* Move hook handlers to the `funcs.el`.
* Add comments about yasnippet hooks subtleties relevant to the issue.

Fixes #1512
2016-08-08 13:42:45 +02:00
Eivind Fonn 8f9914903d org: display error in case no agenda files 2016-08-07 21:05:31 +02:00
Eivind Fonn f98a80a364 org: fix org layout if no agenda files 2016-08-07 21:04:26 +02:00
Eivind Fonn 3c18a4a6bb Tweak yapfify config
- No need to use :commands
- Remove SPC m y binding
2016-08-07 16:33:12 +02:00
Joris Engbers e0aac5c170 Replace py-yapf with yapfify.
Yapfify uses project settings applicable to the file that yapf is called
on. Also it shows an error if yapf fails.
2016-08-07 16:31:50 +02:00
Bryan Gilbert 62199bfb94 Fix dot completion bug in scala mode 2016-08-07 16:29:28 +02:00
Eivind Fonn b72f8289f8 clean-aindent-mode is global, hook makes no sense 2016-08-07 16:27:54 +02:00
Diego Alvarez 3dfd5fa4fb Disable Ensime autostart 2016-08-07 16:19:45 +02:00
Christoph Paulik ebbfbaf2d1 Use --simple-prompt for IPython 5 and set correctly on env switch.
IPython 5 does no longer use readline and so the emacs integration is
broken. See also
http://ipython.readthedocs.io/en/stable/whatsnew/version5.html#id1

Fix #6622 and related to #6580

This also works if different environments have different IPython
versions since the shell parameters are setup on every environment
switch.
2016-08-06 18:18:25 +02:00
duianto e51a89a5e5 Comment corrections and two functions reordered
Misspellings:
"beginnign" changed to "beginning",
"Insert one of several lines" changed to "Insert one or several lines" in two functions,
"identation" changed to "indentation",

Missing comment copied from the function that inserts a line
in the opposite direction:
(defun spacemacs/insert-line-below-no-indent (count)
"Insert a new line below with no indentation."
and renamed the direction, resulting in:
"Insert a new line above with no indentation."

Duplicate comments removed, the comments inside the functions,
are better explanations of what the function does.

Functions reordered:
The functions:
(defun spacemacs/evil-insert-line-below (count)
and
(defun spacemacs/evil-insert-line-above (count)

were written in a illogical order,
the "above" function should be written before the "below" function,
with this change, the function order will match other functions
with "above" and "below" in their names,
for example these:
(defun spacemacs/insert-line-above-no-indent (count)
https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bdistributions/spacemacs-base/funcs.el#L535
(defun spacemacs/insert-line-below-no-indent (count)
https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bdistributions/spacemacs-base/funcs.el#L549

evil-commands.el
line 2205: (defun evil-open-above (count)
line 2219: (defun evil-open-below (count)

line 2310: (defun evil-copy-from-above (arg)
line 2326: (defun evil-copy-from-below (arg)

evil-common.el
line 1892: (defun evil-insert-newline-above ()
line 1901: (defun evil-insert-newline-below ()
2016-08-05 21:35:43 +02:00
Eivind Fonn 4233ffaecc Fix #6704: don’t use evil-open-below/above
- Also add counts
2016-08-05 21:31:43 +02:00
Graeme Coupar f7d2f3f0ad elm: Add 'SPC m h d' keybinding for doc-at-point. 2016-08-05 21:29:56 +02:00
Muneeb Shaikh 48d06e4ee9 rails: add which key prefixes for rails
* layers/+frameworks/ruby-on-rails/packages.el (ruby-on-rails/init-projectile-rails):
  added which-key prefixes for rails
* layers/+frameworks/ruby-on-rails/packages.el (ruby-on-rails/post-init-which-key):
  diminish `projectile-rails` prefix in which-key menu to make commands
  visible (since we're in rails menu, it makes sense to diminish common
  prefix)
2016-08-05 21:29:02 +02:00
Eivind Fonn 4298469f17 Set desktop-dirname during init 2016-08-05 21:27:45 +02:00
Eivind Fonn 989dd3d774 Rename variable w/ spacemacs prefix 2016-08-05 21:26:26 +02:00
bmag cea0819ca4 Move helm-popwin config to helm layer 2016-08-05 21:24:47 +02:00
nashamri 3b9b1ff0ce Fix broken links in the docs 2016-08-05 21:20:41 +02:00
Eivind Fonn 269916e908 Shorter lines in java/README.org 2016-08-05 21:18:32 +02:00
Ellis Kenyo 229ef0c05c Update the Java layer to support eclimd
Signed-off-by: Ellis Kenyo <elken@mykolab.com>
2016-08-05 21:15:58 +02:00
Jeremy Bi 4b682ce1b3 Reduce yas loading warning 2016-08-05 08:47:36 +08:00
d12frosted 7280a46554
[haskell] add note about auto-completion layer
Fixes #6733
2016-08-04 13:38:54 +03:00
Tim Jäger 853945c722 Fix typos in Haskell layer README 2016-08-01 09:04:27 +02:00
d12frosted c42a08a842
js layer readme minor improvements
- fill paragraphs
- hide url under descriptive text
- fix wording for linters
2016-07-31 13:05:40 +03:00
Steve Dignam a2df27e71a
Add flycheck info to javascript layer README.org
Added info about available flycheck checkers for Javascript.
Also added install info for ESLint.
2016-07-31 13:02:45 +03:00
Laverne Schrock b1e45cc2bb
Update racket-layer README.org
This is in response to issue #3870.
2016-07-31 12:56:01 +03:00
Leon Isenberg be6fd0e8d0
Swap haskell layer specific keys f and F 2016-07-29 14:30:20 +03:00
syl20bnr 0a01159572 git: add SPC g f h to get the commit history of the current file 2016-07-28 23:26:54 -04:00
syl20bnr 1c4f685b13 core: refactor layer system
TL;DR Should get 20~25% speed improvement on startup, should get a big
improvement when using ivy or helm SPC h SPC. Users with layers.el files
in their layers must use `configuration-layer/declare-used-layer`
instead of `configuration-layer/declare-layer`

The implementation of the layer system made heavy use of `object-assoc`
and `object-assoc-list` functions which are not efficient. This PR
mainly replaces those object lists with hash maps in order to index the
objects by their name and achieve an O(1) access time.

The old object lists `configuration-layer--layers` and
`configuration-layer--packages` have been each by two variables each:
- `configuration-layer--indexed-layers` which is a hash-map of all the
layer objects and `configuration-layer--used-layers` which is a list of
all _used_ layers symbols,
- symmetrically `configuration-layer--indexed-packages` which is a
hash-map of all the package objects and
`configuration-layer--used-packages` which is a list of all _used_
packages symbols.

The hash map `configuration-layer--layer-paths` is gone, now we create
directly layer objects when discovering the layers and set the :dir
property. Note that previously the layer paths were the parent directory
of the layer, now :dir is the layer path.

The function `configuration-layer//make-layer` is now similar to its
counterpart `configuration-layer//make-package` in the sense that it
takes an optional `obj` to be able to override its properties.

The functions `configuration-layer/declare-layer` and
`configuration-layer/declare-layers` now takes an optional parameter
`usedp` in order to declare used or not used layers. For convenience
new functions have been added: `configuration-layer/declare-used-layer`
and `configuration-layer/declare-used-layers`, users _must_ update all
occurrences of `configuration-layer/declare-layer` by
`configuration-layer/declare-used-layers` in their `layers.el` files.

`helm-spacemacs-help` and `ivy-spacemacs-help` are updated to match the
changes in `core-configuration-layer.el`.

Rename some variables to make them more explicit:
`configuration-layer-no-layer` -> `configuration-layer-exclude-all-layers`
`configuration-layer-distribution` -> `configuration-layer-force-distribution`
2016-07-28 23:26:54 -04:00
Eivind Fonn 6bb73f193f Fix emmet expansion if yas isn’t turned on 2016-07-27 15:52:51 +09:00
bmag 7ca4cc0554 Refactor useful/useless buffer functions
Better readability, better detection if mode derives from comint-mode,
and doesn't alter the match data (string-match-p vs. string-match).
2016-07-27 15:29:13 +09:00
Robert O'Connor 3ebdb1c0ec
github layer: fix table formatting in README 2016-07-26 22:58:34 -04:00
Ista Zahn 84580b1d80 User configurable default company-backends 2016-07-26 16:33:42 +09:00
Eivind Fonn 5029734846 tmux: bind named functions instead of lambdas 2016-07-26 14:33:45 +09:00
zilongshanren bd760ceebc
fix chinese layer readme 2016-07-25 18:16:32 +03:00
bmag fe60d0fc1e Set buffer-predicate to spacemacs/useful-buffer-p
Prevent next-buffer, other-buffer, etc. from choosing useless buffers.
No need for spacemacs/next-useful-buffer,
spacemacs/previous-useful-buffer anymore.

Also fix spacemacs/alternate-buffer to respect buffer-predicate.

When spacemacs-layouts is used, buffer-predicate filters useful buffer
that belong to the current layout.
2016-07-25 20:02:28 +09:00
Aaron Jensen 141be7f8c2 elixir: fix smartparens hook
Fixes #6660
2016-07-25 19:36:07 +09:00
Eivind Fonn bef1295094 Scala: README line lengths 2016-07-25 14:11:17 +09:00
Diego Alvarez 80f8c84d64 Improve documentation for scalastyle 2016-07-25 14:09:22 +09:00
Eivind Fonn 8e87132ba7 Fix possibly calling bad code after theme change 2016-07-25 14:00:02 +09:00
Jeremy Bi e89c3ef309 Silent next-error-find-buffer when no error buffer found 2016-07-25 13:49:50 +09:00
bmag 2f6bf80275 Fix void-function spacemacs//restore-previous-display-config error
Move usage of spacemacs//restore-previous-display-config from helm layer
to spacemacs-completion layer. (It's already defined there)
2016-07-25 12:33:40 +09:00
Andre0991 93940af74c Add shortcuts for full left and right scroll 2016-07-25 12:22:20 +09:00
Eivind Fonn 9c76193c77 Move exec-path-from-shell to pre 2016-07-25 12:12:31 +09:00
Diego Alvarez 1b5bc13d35
Update ensime logo 2016-07-22 13:18:33 +03:00
Robert O'Connor 74d6a6fcad
Revert #6576; TL;DR: We no longer need to do this.
See justbur/evil-magit#24 and 4a375ea304
2016-07-22 12:52:23 +03:00
John Johnstone ff69db7b56
Fix spelling in saltstack layer 2016-07-22 12:51:24 +03:00
Christoph Hegemann 985a07b71c add keybindings for goto definition functionality 2016-07-21 12:13:34 +02:00
Eivind Fonn 9773ad611f Clean up gtags readme 2016-07-17 17:36:07 +02:00
Christian E. Hopps b22702bc9e Expand gtags use to many more languages 2016-07-17 17:31:59 +02:00
Eivind Fonn 7a440195a8
Fix some intero functions 2016-07-17 10:00:34 +03:00
d12frosted 5c5ca4e7a3
add open config action to layer spacemacs help 2016-07-17 09:57:13 +03:00
d12frosted c64d04f944
fix ivy-spacemacs-help//layer-action-add-layer 2016-07-16 11:37:09 +03:00
d12frosted 28220ef979
fix ivy layer help actions 2016-07-16 11:28:59 +03:00
d12frosted 41baea8744
install evil-unimpaired using quelpa
And properly setup dependencies.

Fixes #6523
Suppresses #6559
2016-07-15 15:14:04 +03:00
Muneeb Shaikh 5ae1013854 ivy: remove extra projectile-switch-project binding 2016-07-14 20:37:05 +05:30
d12frosted 5c371f0843
minor update to magit-gh-pulls documentation
- fix grammar
- add note about `# o` key binding
2016-07-14 14:26:06 +03:00
Robert O'Connor 7d5a9e0b0f
Fix magit-gh-pulls docs
- #g -> #r -- #g was not defined.
- add docs for getting s diff of the current PR
- wording fix
2016-07-14 06:15:07 -04:00
syl20bnr 653da2a6aa highlight-persist/smartparens overlay: better adaptive face
Choose to inherit from face lazy-highlight instead of region.
Ideally a theme should not set lazy-highlight to the same face as
region.

Also move some function to funcs.el and remove some empty lines.
2016-07-13 10:22:03 -04:00
Muneeb Shaikh 304e338738
fix rename-current-buffer-file for OS X
`read-file-name` expects directory and not filename.
Fix #4383 #6547
2016-07-12 09:42:35 +03:00
Muneeb Shaikh 98499a0cb1
ivy/search-engine: fix call to ivy search engine select 2016-07-12 09:27:29 +03:00
NJBS 35646d684b Fix typo in docstring 2016-07-11 18:26:53 -04:00
Muneeb Shaikh 212944ac2b
ivy: fix open spacemacs doc function
fix #6513
2016-07-08 09:04:24 +03:00
d12frosted 6fb7adfe3c
fix call to show-all
And also move back it to spacemacs-base layer
2016-07-07 15:34:22 +03:00
syl20bnr 9499e24197 Comment evil-terminal-cursor-changer instead of excluding it
We should not exclude packages just to disable their config and
preventing them from being installed.
2016-07-06 22:49:24 -04:00
bja a308eef060 Fix bug with Autocomplete in elm
Adds company-elm to company-backends-elm-mode
2016-07-06 22:11:33 -04:00
syl20bnr 7df72331e6 elm: move format buffer to SPC m = b to follow conventions 2016-07-06 22:09:25 -04:00
Daniel 17a0c5dac2 Add a key combination to format elm files 2016-07-06 22:04:04 -04:00
syl20bnr 0ca8d2f87c elm: respect max 80 characters per line in README 2016-07-06 21:59:47 -04:00
bja 3bcb84f3e9 Adds elm-format section and advice for absolute paths with npm 2016-07-06 21:58:40 -04:00
syl20bnr 939cbb6322 Cleanup ansi-colors config 2016-07-06 21:51:10 -04:00
deb0ch 42953fe51b colorize compilation buffers by processing ansi color sequences 2016-07-06 21:48:27 -04:00
JAremko f9a846d2ee Integrate centered-buffer-mode and space-doc-mode. 2016-07-06 21:27:34 -04:00
JAremko 070d59af13 update centered-buffer-mode 2016-07-06 21:27:23 -04:00
JAremko 7a52759aa3 Rework buffer centering mode.
Add functions:
  - `spacemacs/maximize-horizontally` `SPC w _`
  - `spacemacs/toggle-centered-buffer-mode` `SPC w c`
  - `spacemacs/centered-buffer-mode-full-width` `SPC w C`
2016-07-06 21:27:17 -04:00
Jeremy Bi 149f6c0530 ocaml: Remove outdated config of utop
The old config overrides `exec-path` blindly, updated as per the
instructions on the official site of `utop`.
2016-07-06 21:27:01 -04:00
Ayush Goyal 1fdc2f8fe2 Fix yaml layer autocompletion
Autocompletion was not working with yasnippets for yaml layer. This also
fixes autocompletion for ansible layer.
2016-07-06 21:24:33 -04:00
MadAnd c98f862174 Extract evil-unimpaired as a local package 2016-07-06 21:22:16 -04:00
syl20bnr 93f09bca39 Move org related config for ediff to org layer 2016-07-06 21:16:57 -04:00
NJBS 7d29cd4708 Fix #6500, only change ediff hook if org loaded 2016-07-06 21:12:31 -04:00
syl20bnr afc6f8561e version-control: change function prefix to spacemacs 2016-07-06 21:12:02 -04:00
zilongshanren edd6823ad9 remove windows checking when using fcitx 2016-07-06 20:55:23 -04:00
Jeremy Bi 81626bee0b Run diff-hl-magit-post-refresh after committing
Otherwise `diff-hl-mode` still highlights uncommitted changes
2016-07-06 20:49:11 -04:00
syl20bnr a650877bea Remove SPC j L key binding which is the same as SPC f e l 2016-07-05 00:23:16 -04:00