Commit graph

2136 commits

Author SHA1 Message Date
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
ralesi c4b7c29bb9 Provide additional jump options. 2016-07-05 00:23:16 -04:00
ralesi c2a0a5670f Provie additional filetypes for windows scripts. 2016-07-05 00:23:16 -04:00
syl20bnr c2c0bfa969 ahk: move SPC m h r to SPC m h H 2016-07-05 00:23:16 -04:00
ralesi 51a49cbdcd Define ahk lookup options. 2016-07-05 00:23:16 -04:00
hehe ac0e988588 Fix #5966, slime-eval-last-sexp is not defined 2016-07-05 00:23:16 -04:00
syl20bnr b093598e45 python: avoid code duplication with hy-mode 2016-07-05 00:23:16 -04:00
Danny Freeman fa28afb02f Add keybindings for hy-mode in python layer
These changes will allow users to evaluate hy code in a repl using an
inferior-lisp process. It requires that users have hy installed via pip
in their local python enviornment.

Add smartparens-mode and documentation

I moved the add-hook for smartparens call to
python/post-init-smartparens. Keybindings were also updated to match
the ones for the Inferior REPL process for Python. Also added some
documentation for required hy pacakge, and the keybindings to
README.org.
2016-07-05 00:23:16 -04:00
Mazin Bokhari 00a616ef50 Add hook to ediff org files unfolded 2016-07-05 00:23:16 -04:00
syl20bnr 0a719b1be7 org: move org-pomodoro binding in org-agenda to org-pomodoro init 2016-07-05 00:23:16 -04:00
Mikhail Skorzhinskiy ac3ba006a5 org-agenda: Add missed key binding for pomodoro 2016-07-05 00:23:16 -04:00
Eivind Fonn 66a628a599 shell: auto-jump to end also in hybrid 2016-07-05 00:23:16 -04:00
Fabien Dubosson 5df76ed1d1 Fix the loading of vmd for daemon mode
When Spacemacs is used in daemon mode, the `PATH` is not always filled
up with user-defined run paths when Spacemacs load the packages. The
`toggle` of the `vmd` package is checking for the `vmd` executable which
may be in one of the user path, what prevent the package to be loaded,
even if the executable is available at execution time.

If people want to use `vmd`, setting `markdown-live-preview-engine`
should be enough, there is no need for checking for the executable to be
present, this is the responsability of the user to ensure this.
2016-07-05 00:23:16 -04:00
zilongshanren bbfb4a0ea7 typescript: swap c-j/c-k in tide reference mode 2016-07-05 00:23:16 -04:00
liuxiang 43c760df88 Bind "C-c C-e" to spacemacs/helm-find-files-edit for helm-files buffer. 2016-07-05 00:23:16 -04:00
Eivind Fonn 82bb81e794 docker: fix evilification 2016-07-05 00:23:16 -04:00
syl20bnr 482277dad5 purescript: reorganize README.org 2016-07-05 00:23:16 -04:00
Christoph Hegemann 72515135dc incorporate new functionality from psc-ide 2016-07-05 00:23:16 -04:00
syl20bnr 8f22e0c8c2 github: move clone command under SPC g h c prefix 2016-07-05 00:23:16 -04:00
syl20bnr 140e779735 git: add SPC g l prefix command name 2016-07-05 00:23:16 -04:00
syl20bnr 31be6c9b8e github: remove commented code for helm-gist
This package seams to be abandonned and we have already gist.el
2016-07-05 00:23:16 -04:00
syl20bnr 316dc0765d git: move git-link to git layer under SPC g l command prefix
git-link is aimed to work with various git hosting services so it makes
sense to move it back to git layer.
2016-07-05 00:23:16 -04:00
syl20bnr b92daec7cf git: remove all popup key binding for magit-dispatch-popup
The `SPC g` command prefix was to much overloaded for actions which
are already available in discoverable manner in magit. So I decided to
remove all the actions reachable from magit-dispatch-popup from `SPC g`.
magit-dispatch-popup is available under `SPC g m`. This increases the
key binding sequences but OTHO it makes everythings consistent (same
key sequence behind `SPC g s` and `SPC g m`) and we prefer consistency.

This refactoring free up a lot of precious key bindings we can use for
commands that are not available in Magit.
2016-07-05 00:23:16 -04:00
syl20bnr 3f54fa7832 Fix github layer missing parens 2016-07-05 00:23:16 -04:00
Ivan Malison 91b3f75c95 github: add github-search package 2016-07-05 00:23:16 -04:00
Ivan Malison 0bfade9d7d github: Add bindings for the addition of remotes
`github-clone-add-existing-remote`, `github-clone-fork-remote`,
`github-clone-add-source-remote` come from the newest version of
github-clone and allow the easy addition of remotes to an existing
repository.
2016-07-05 00:23:16 -04:00
Jeremy Bi de680bb5a0 Don't auto-close apostrophes in SML 2016-07-05 00:23:16 -04:00
Jeremy Bi 4eb9ce41d9 Cleanup ocaml layer
- Remove `merlin-refresh` keybinding
  This function is obsolete since merlin 2.0.
- Remove unused flycheck config
  Merlin is capable of doing all that
2016-07-05 00:23:16 -04:00
syl20bnr 136e1ee237 scala: defer ensime package and add note for scala-mode-hook 2016-07-05 00:23:16 -04:00
Diego Alvarez e677682d1a Remove unnecessary command
as this upstream commit is already doing it:
706aa5e40b
2016-07-05 00:23:16 -04:00
Tony Lotts 768371b6fb Load Scala for org-babel 2016-07-05 00:23:16 -04:00
Christoph Paulik e93e7ba279 ESS: Add R to org babel languages. 2016-07-05 00:23:16 -04:00
bmag 9c16c40724 New macro: define regexp-bound text object 2016-07-05 00:23:16 -04:00
ralesi d22616a590 add counsel-dash 2016-07-05 00:23:16 -04:00
zilongshanren 94969fd81d fix break API changes for ivy 0.8
fix describe packages

refine

rename car cdr to cadr

fix SPC h l
2016-07-05 00:23:16 -04:00
Eivind Fonn 4aa01559af helm: Set projectile-completion-system 2016-07-05 00:23:16 -04:00
Muneeb Shaikh db162af3d8 Set projectile-completion-system to helm
It is inconsistent when using helm as default completion and command
such as `SPC m r f c` opens up ido in rails project.
2016-07-05 00:23:16 -04:00
syl20bnr 15c392b891 haskell: remove unnecessary backquote 2016-07-05 00:23:16 -04:00
Koray Al 8d0f76b259 haskell: replace quotes with backquotes inside pcase 2016-07-05 00:23:16 -04:00
Jeff Schnurr a6d6a53501 Fix dependency in readme
If only ipython is installed, command $ ipython notebook fails with ImportError: No module named 'notebook'.  Correct to specify dependency to include the notebook server.
2016-07-05 00:23:16 -04:00
d12frosted d114ef6e51 [shell-scripts] add note about shellcheck 2016-07-05 00:23:16 -04:00
JAremko e3c86859b3 refactor space-doc, add to the FAQ. 2016-07-05 00:23:16 -04:00
JAremko 3aaa39f155 fix space-doc errors 2016-07-05 00:23:16 -04:00
d12frosted dc3b46c9c4 fix some function names in space-doc 2016-07-05 00:23:16 -04:00
MadAnd dd9c967825 Support Hybrid state in Iedit Insert state 2016-07-05 00:23:16 -04:00
d12frosted 97147993a6 remove old custom layout on override
For example, creating new custom layout `["e" . "Name"]` clashes with
`["e" . "Spacemacs"]`. After override `SPC l o` should not show both of
them, but only the override.
2016-07-05 00:23:16 -04:00
Wieland Hoffmann aa8b69a006 Prevent find-file-at-point from pinging what looks like domains
Previously,

* typing `gf` in domain names (for example google.com) in normal buffers
* typing `<tab>` in domain names in the minibuffer

would start pinging that domain name. This is not really useful, so
disable it.

Fixes #2654.
2016-07-05 00:23:16 -04:00
Eivind Fonn 31f37fc4d7 org: org-repo-todo -> org-projectile 2016-07-05 00:23:16 -04:00
Eivind Fonn 6609cbe85f Evilify indent-rigidly 2016-07-05 00:23:16 -04:00
Jeremy Bi 644cddca27
Enable auto-complete in Idris repl
Add keybinding to kill Idris process
2016-07-02 12:41:49 +03:00
d12frosted 237d1143d1
improve mwim integration
1. By default let `C-e` move to the end of line first.
2. Minor improvements to readme file
2016-06-27 15:21:31 +03:00
Thomas de Beauchene 71f8ae8e38
Add mwim to layer better-defaults
Add "smart move end of line" behaviour and add two layer variables
allow for tweaking C-a and C-e behaviours:

- better-defaults-move-to-beginning-of-code-first and
- better-defaults-move-to-end-of-code-first
2016-06-27 15:16:31 +03:00
syl20bnr 89dc1af9a6 Remove spacemacs/add-to-local-vars-hook and use (format ...)
It is better to directly hook function using the conventional hook
functions.

Replace usage of (concat ...) by a (format ...) from which is more
readable.
2016-06-26 14:04:13 -04:00
d12frosted a8b0eaacec fix support of conditional config in ruby layer 2016-06-26 13:51:12 -04:00
d12frosted 45dd381fd2 conditionally enable haskell completion backend 2016-06-26 13:51:11 -04:00
d12frosted 6798af57e3 implement API for local-vars-hook 2016-06-26 13:51:11 -04:00
syl20bnr 4ad27cfea8 Update docstring for space-doc and delete some empty lines 2016-06-26 13:47:52 -04:00
Eivind Fonn 38814881dc Allow user more control over space-doc mode 2016-06-26 13:27:51 -04:00
syl20bnr b30c393b8d Refactor SPC w and SPC b regarding deletion
The motivation is to clean redundent actions and bring more consistency
between `SPC b` and `SPC w` by:
- using capital letters for ace-window actions
- reusing the same letters between window and buffer when possible
- adding support for universal prefix argument to delete both window
and buffer

Details of changes:

Buffer

- `SPC b k` has been removed since the functionality is
available directly in Helm by selecting the kill buffer action

- `SPC b m` (buffer move) has been removed because the functionality
is available via `SPC w` with `SPC w h/j/k/l`, `SPC w H/J/K/L` and
`SPC w M` (see window section for the new `SPC w M`).

- `SPC b K` (kill other buffers) is now `SPC b m` to map with `SPC w m`
(kill other window or maximize). Using the universal prefix argument
`SPC u SPC b m` will also kill the windows.

- `SPC b C-k` (kill buffer matching regexp) is now simply on `SPC b k`.

- `SPC b D` now kills a buffer using ace-window.

- `SPC b d` and `SPC b D` now accept an universal prefix argument to
also delete the window. So `SPC u SPC b d` and `SPC u SPC b D` delete
the buffer and the window.

Window

- `SPC w M` now swap the window using ace-window.

- old `SPC w M` (center window) is now on `SPC w c` and `SPC w C` uses
ace-window.

- `SPC w SPC` (select window) is now on `SPC w W` since it uses
ace-window.

- `SPC w d` and `SPC w D` now accepts an universal prefix argument to
delete the window and the buffer.
2016-06-26 00:05:55 -04:00
Jonas Benn 878c45abf9
Add kill-buffer-and-window keybinding
`kill-buffer-and-window` is now bound to `SPC b D` and the keybinding
is documented.
2016-06-25 09:06:40 +03:00
d12frosted 841fc514b8
remove TODOs from dash layer readme file 2016-06-24 20:36:47 +03:00
syl20bnr 93d01704a6 haskell: align tables in documentation 2016-06-23 00:50:03 -04:00
d12frosted a8e569d3b2 refine haskell completion backends
- add haskell-completion-backend variable that should be used to select
  desired completion backend
- add support for intero (based on @cydparser layer)
- remove ghci-ng support
- update readme file:
  - document haskell-completion-backend variable
  - remove installation notes for ghc-mod as they are not relevant
    anymore
  - remove ghci-ng section
  - overall readme file fixes and improvements
2016-06-23 00:47:23 -04:00
syl20bnr cbb61070fd Replace some emacs-user-directory vars and update documentation 2016-06-23 00:25:04 -04:00
Exaos-memes 904f7ea665 Define new variable: spacemacs-start-directory.
With this new variable, user can load spacemacs anywhere, e.g.
"~/.emacs.d/spacemacs/". Only user's cache directory is still hard-coded
as "~/.emacs.d/.cache/". If user want to use spacemacs this way, drop
one line as the below in "~/.emacs.d/init.el":

    (setq spacemacs-start-directory "~/.emacs.d/spacemacs/")
    (load-file (concat spacemacs-start-directory "init.el"))
2016-06-23 00:19:34 -04:00
syl20bnr bef22b40a4 keyboard-layout: minor edition in README.org 2016-06-22 23:54:34 -04:00
Fabien Dubosson 7c56215860 keyboard-layout layer 2016-06-22 23:35:06 -04:00
syl20bnr 829f00a824 Add more info for fish shell and ansi-term 2016-06-22 23:28:41 -04:00
ralesi 560f86f997
Fix :owner reference in ivy-spacemacs-help 2016-06-22 07:44:15 +03:00
syl20bnr 85ace24553 react: fix tern setup
The init function should be a post-init instead of an init function.
Also simplified the configuratin quite a bit.
2016-06-21 19:04:59 -04:00
d12frosted 7de26d5a2d
clarify installation notes on scala readme 2016-06-21 20:05:21 +03:00
Tony Lotts 9f46d563b8
Update README.org
Refer to Ensime's SBT plugin installation instructions.
2016-06-21 19:59:17 +03:00
km d7820aafd6 Remove even more 24.3 related configuration
Helm-flx, which is included as a core package, requires a minimum Emacs
version of 24.4. As it stands attempting to install Spacemacs on Emacs
24.3 or below will break on helm-flx.
2016-06-20 22:26:53 -04:00
Eivind Fonn 92b48eadea 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 22:05:56 -04:00
syl20bnr 117dcba0ed Revert "Drop support for Emacs 24.3"
This reverts commit 31bab70397 making
a new commit to put TheBB as the author.
2016-06-20 22:05:12 -04:00
syl20bnr 31bab70397 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 21:55:36 -04:00
Eivind Fonn 2a6ffc72d9 ivy: Support GNE
Implement a keymap for Spacemacs’ counsel search that supports saving
the results to a buffer (bound on F3 as in helm). Ensure that the new
buffer supports the GNE API.
2016-06-18 19:21:26 -04:00
Eivind Fonn 194af58f3c helm: Support GNE
Advice the save-buffer functions to use the GNE API in that buffer.
2016-06-18 19:21:26 -04:00
Eivind Fonn bdb40cf4d0 Implement error transient state
This works with systems defined by the error delegate function (and it
shows which system is used, and which buffer supplies the “errors”).
When the Emacs next-error system is used and the next-error buffer is a
Spacemacs GNE buffer, it also shows current number / total number.
2016-06-18 19:21:26 -04:00
Eivind Fonn c9048dc0e3 Implement generalized next-error API
The function spacemacs//gne-next can be used as next-error-function in
any buffer where lines represent “entries” that can be visited.
2016-06-18 19:21:26 -04:00
Eivind Fonn 6236f9fd58 Minor refactoring of next/previous error
Implement a delegate function that decides which system to use. Also
check for the visibility of any next-error valid buffer, not just
compilation buffers.
2016-06-18 19:21:26 -04:00
syl20bnr 50d5cdd054 Fix error with which-key--buffer on startup
Use the hook instead.
Fixes #6358
2016-06-18 00:19:59 -04:00
syl20bnr 2738724ed4 erc, html and pdf-tools: use :evil-leader-for-mode in transient states 2016-06-17 23:40:06 -04:00
syl20bnr d66b5c0a93 iptyhon-notebook: evilify notebooklist buffer
Move eval-after-load to :init block.
2016-06-17 23:22:12 -04:00
syl20bnr 3768374488 ipython-notebook: resize images in readme 2016-06-17 23:21:45 -04:00
syl20bnr 4ff26b3f27 ipthon-notebook: move transient state binding to SPC m .
Or `,.` with the shortcut, this is a more standard approach.
Use the :evil-leader-for-mode keyword to bind the transient state

Add space in the :doc of the transient state because auto-indent of
elisp code is broken otherwise.
2016-06-17 22:55:19 -04:00
d12frosted 2570a1340b
fix spacemacs/rename-file function
It has some wrong variable names which leads to errors.
2016-06-17 21:51:48 +03:00
Eivind Fonn 074ac8f756 ipython-notebook: fix loading of keymap 2016-06-17 18:40:13 +02:00
syl20bnr e1826c9382 Disable vi tilde fringe in which-key buffer 2016-06-13 00:39:08 -04:00
sooheon d0452a861a Disable vim-empty-lines in unnecessary buffers
*Messages* and which-key--buffer do not need empty line indicators.

Also break up an unnecessarily long line.
2016-06-13 00:34:07 -04:00
syl20bnr ad72dab624 Move pcre2el key bindings to SPC x r prefix
Also document it.
Move everything to spacemacs-base since the new prefix is not as invasive
2016-06-13 00:01:25 -04:00
ralesi 9047b7b5ce Move pcre2el to spacemacs-base.
Fixes #5953
2016-06-12 23:06:22 -04:00
NJBS b6432e1efe Add prefixes to the LaTex layer 2016-06-12 21:57:14 -04:00
Ben Gamari 7b1430e9d5 haskell: Don't enable haskell-tags-on-save
This is a very opinionated option and works very poorly on even
moderately large projects as it invokes `hasktags` synchronously,
freezing the editor for several seconds on every save. Users who want
this behavior should enable it manually.

Fixes #6292.
2016-06-12 21:51:28 -04:00
Eivind Fonn 0b2a438aa7 clojure: enable smartparens in cider
cider-repl-mode doesn’t derive from comint
2016-06-12 21:50:34 -04:00
Dionysis Athinaios 5ec5882974 Provide more details for ycmd installation and configuration 2016-06-12 21:49:07 -04:00
kr5x 07864f50d9 common-lisp: Remove <tab> key binding
'indent-command-for-tab' that already bound to <tab> globally is more useful.
2016-06-12 21:44:52 -04:00
Wieland Hoffmann 78bfe65e62 Python: Don't remove ':' from electric-indent-chars in emacs >= 24.5
According to the conversation in [0] ':' is removed from
electric-indent-chars in python-mode because typing ':' in

> for i in range(10):
>    print(i)
> for i in range(10)_

with the point at _ indents the third line. This is not happening in
Emacs 24.5 anymore.

[0] aed0fc8ef8
2016-06-12 21:42:40 -04:00
syl20bnr dc94784e70 Remove leuven theme from spacemas-ui-visual and simplify default value
for dotspacemacs-themes, set only the spacemacs themes.
2016-06-12 21:15:10 -04:00
d12frosted 9df123c40c haskell: remove structured-haskell-mode 2016-06-12 21:11:32 -04:00
syl20bnr 4f5d7670f1 core: fix typo with configuration-layer--inhibit-warnings 2016-06-10 23:41:33 -04:00
syl20bnr cc91842bd8 helm: improve SPC h SPC
As it was the case during the good old days when spacemacs was still a
baby, SPC h SPC now list correctly all the pre/init/post functions and
the associsted layer. It also now list properly the current owner of
a package so it is easy to find the owner of a package by narrowing
with `packagename owner`.

This new old functionality is possible by leveraging the last
improvements to the layer system (see previous commits).

TODO: update the sources for Ivy
2016-06-10 22:48:41 -04:00
syl20bnr cb6754f231 Remove packages without any init functions 2016-06-10 20:53:24 -04:00
syl20bnr 775c1f78db ivy: create missing layers.el file
Was triggering an error if ivy and smex layer were both used at the
same time and smex layer stole ownership of smex package.
Fixes #6281
2016-06-10 20:53:23 -04:00
syl20bnr dc822d5b9e space-doc: disable line numbers and resized images
Resize images to 600 pixel width (exclude README.org for now)
Disable line numbers.
2016-06-10 15:50:45 -04:00
syl20bnr f147ec01e7 org: set org-image-actual-width to nil
Allows to resize images in an org buffer.
2016-06-10 15:50:05 -04:00
syl20bnr 9d7259d83a vhl: fix error message "vhl no load function for extension..." 2016-06-10 00:49:13 -04:00
syl20bnr 81fbb9a292 Format README files with spacefmt 2016-06-10 00:09:42 -04:00
syl20bnr 2dd53426a6 Replace +config-files category by +tools category 2016-06-09 23:56:09 -04:00
syl20bnr bc9691d0c0 Rename dockerfile layer to docker 2016-06-09 23:53:33 -04:00
syl20bnr 79c8dc1084 dockerfile: various changes
README
- rewrite paragraph on docker-tramp
- sort key bindings
- adapt the file to last good practices

packages.el
- sort packages
- sort key bindings
- remove :commands
- move evilification to config
2016-06-09 23:49:34 -04:00
Christoph Paulik e69c1ec5dd Add docker-tramp and docker.el
- docker TRAMP provides TRAMP access to running docker containers
- docker.el provides basic management of docker images and containers
2016-06-09 23:29:20 -04:00
syl20bnr c288a391bf vhl: move all extension functions into respective eval-after-load 2016-06-09 23:21:51 -04:00
Don March 520910f41a Enable volatile highlights for evil and undo-tree 2016-06-09 23:13:09 -04:00
ksjogo dd5836d948 rainbow-identifiers: do not overwrite theme values 2016-06-09 22:58:31 -04:00
syl20bnr 2b44ce33a2 ahs: improve transient state hint 2016-06-09 22:52:50 -04:00
syl20bnr f5799ab1ec ahs: move b, f and / key bindings to helm and ivy
Correctly augment the docstring based on the presence of b,f and /
bindings using dynamic hint.
b,f and / are not available if none of helm or ivy layers are used.
2016-06-09 22:50:24 -04:00
ralesi 2a07a7fd76 Add custom evil-register listing with ivy. 2016-06-09 21:27:30 -04:00
syl20bnr ed2d8227b0 Minor refactor of spaceline config 2016-06-09 20:45:11 -04:00
Johannes Goslar bdb49476a8 fix startup crash if powerline is excluded
This prohibits a crash when powerline is excluded in dotspacemacs-additional-packages
2016-06-09 10:30:44 +02:00
syl20bnr 1b55eba3db spacemacs-base: fix escape from hybrid state to normal state
Reflect the changes made upstrean in evil repo.
Fixes #6270
2016-06-08 22:34:23 -04:00
syl20bnr f23ecf0b12 Rename +distribution to +distributions 2016-06-08 22:17:04 -04:00
syl20bnr d07b0aa16f spacemacs-ui-visual: move functions to funcs.el
And sort them
2016-06-08 10:41:14 -04:00
syl20bnr 89d5aad0a5 Various tweaks to golden-ratio configuration
- Prefer add-to-list function to alter golden-ratio variables so the lists
are less likely to grows as users reload their spacemacs config.
- Move some config to layers when appropriate
- Sort alphabetically the values
- Remove some duplicates in exclude-modes
2016-06-08 10:17:08 -04:00
syl20bnr 7d0ef58150 Add quit-window to golden-ratio-extra-commands 2016-06-08 09:52:01 -04:00
syl20bnr 84aee08b6f elixir: improve documentation for flycheck-mix 2016-06-07 23:51:33 -04:00
Tomasz Kowal 194813961b Replace local elixir-flycheck-mix-compile package with flycheck-mix from melpa 2016-06-07 23:37:53 -04:00
syl20bnr a1d60c0c82 haskell: unify key bindings for debugging 2016-06-07 23:36:06 -04:00
d12frosted adec65cc2b evilify haskell-debug-mode 2016-06-07 23:31:17 -04:00
Paul Wise 90c09f94bc Add hlint-refactor to haskell layer 2016-06-07 23:28:21 -04:00
d12frosted 583415cdf8 update flyspell-correct after breaking changes 2016-06-07 23:27:30 -04:00
syl20bnr 56844ce5da jabber: simplify layer and create funcs.el file 2016-06-07 23:26:24 -04:00
Tosh Lyons dd1c2d5e65 jabber: don't overwrite mini-buffer when active
jabber has the annoying habit of overwriting the mini-buffer with status
messages
2016-06-07 23:25:44 -04:00
Laszlo Szekeres a89573eb85 Enable make completion with ivy
Invoking "make" or "project compilation" (<kbd>SPC c m</kbd>, <kbd>SPC c
c</kbd>) is currently not supported in ivy mode. The PR re-enables them
by adding helm-make to the ivy packages with ivy completion method.
2016-06-07 23:19:32 -04:00
syl20bnr 06a7731eca spacemacs-base: evilify image-mode 2016-06-07 13:12:54 -04:00
syl20bnr ea77a5d764 markdown: new layer variable markdown-live-preview-engine 2016-06-06 23:39:41 -04:00
Jeremy Bi c267c36be1 Add vmd support in markdown mode 2016-06-06 23:01:06 -04:00
syl20bnr 14c4b7e6c4 ruby: fix possible activation of both rspec-mode and ruby-test-mode 2016-06-06 22:55:28 -04:00
syl20bnr f1cb1f4ef9 ruby: move function spacemacs//inf-ruby-auto-center to funcs.el 2016-06-06 22:55:28 -04:00
Daniel Luna af3f053235 Automatically switch from RSpec compilation mode to interact with a debugger
This commit adds the 'inf-ruby-auto-enter method to
'compilation-filter-hook, automatically entering inf-ruby-mode when it
hits a breakpoint (see the
[inf-ruby-manual](https://github.com/nonsequitur/inf-ruby/#manual) for
more details).

The hook is added locally to the rspec-compilation-mode-hook to avoid
global slowdown, as the compilation-filter-hook is called whenever a
new line is entered.
2016-06-06 22:55:28 -04:00
syl20bnr 7506024684 ruby: apply conventions for use-package a move functions to funcs.el 2016-06-06 22:55:28 -04:00
syl20bnr 8f65b1b8be ruby: document previous commit and move function to funcs.el 2016-06-06 22:55:28 -04:00
Daniel Luna 9ca6306736 [ruby-layer] Adding ruby/rspec-verify-directory method for running specs for a
specific directory.

This commit creates a 'ruby/rspec-verify-directory command, which
prompts for a directory and runs rspec on it. This command is bound to
ruby-modes' keymaps under the "td" keybinding.
2016-06-06 22:55:28 -04:00
James Conroy-Finn 1b356ea776 Add Appraisals to ruby modes 2016-06-06 22:55:28 -04:00
Dominique Bégin 2952b4e9aa Fix link appearance 2016-06-06 22:55:28 -04:00
Tommi Komulainen 8edc118505 elm: mention elm-sort-imports-on-save in documentation 2016-06-06 22:55:28 -04:00
Tommi Komulainen 615776b0a2 elm: add SPC m r i key binding for elm-sort-imports 2016-06-06 22:55:28 -04:00
Tommi Komulainen 07a04020a8 elm: remove n/p key bindings from package list mode
(In vim style) this leaves the `n` to its usual binding to repeat the
last search which is much more practical when searching for package to
install.

elm-package-next / elm-packge-previous don't seem to do much more than
move to next/previous line so not much functionality is lost.
2016-06-06 22:55:28 -04:00
Fabien Dubosson 96fcce73ac [bepo] Fix code style 2016-06-06 23:02:00 +02:00
CharlesHD bc0ffcc544 Add mu4e support to the bepo layer 2016-06-06 22:47:10 +02:00
Eivind Fonn a4b8039123 bootstrap: spacemacs/set-state-faces function
This function is already being called when setting a theme, if it
exists.
2016-06-06 09:01:31 -04:00
Eivind Fonn 403e8441fb don’t double-check ws-butler-mode 2016-06-06 14:12:11 +02:00
syl20bnr 56ee037cd7 python: prefix functions with spacemacs 2016-06-05 21:53:14 -04:00
Christoph Paulik 9f28409b0c Allow multiple python test runners by using dispatch functions.
This allows python-test-runner to also be a list of either '(nose
pytest) or '(pytest nose) which then calls the correct test runner in
the dispatch functions.
2016-06-05 21:41:23 -04:00
Shahin cc2a38fc76 Add javascript-standard as a flycheck checker to react-mode
By default the only available checker in `react-mode` is
javascript-eslint. `javascript-standard` is based on `javascript-eslint`
and has some modification on rules. Since it's not defined as a checker
for this mode, it's also impossible to select it in a buffer.
2016-06-05 21:24:42 -04:00
Nikola Henezi d44a73fe71 Fixing dash layer variable names.
As reported in #5694 dash layer cannot be configured according to the
documentation. This commit fixes that, and allows you to actually define docset
path with `helm-dash-docset-newpath`. It also defines more sensible default for
docset `~/.docsets`, which is the default path for helm-dash.

Fixes #5694
2016-06-05 21:24:28 -04:00
Markus Koller 58bb7d122f spacemacs-base: Always kill buffers with SPC b d
Fixes #4929
2016-06-05 21:22:50 -04:00
syl20bnr 7ca7f2827a scala: change back key bindings to SPC m h
For printing types, those key bindings are standard in spacemacs.
2016-06-05 00:44:51 -04:00
Diego Alvarez ed1c3d2d35 Using new upstream commands
- Improve copy to clipboard
- changed and added a few commands keymap
2016-06-05 00:38:29 -04:00
Allen Li d33507f42a Add autoload for orgtbl-mode 2016-06-05 00:36:27 -04:00
bmag e552921273 ahs-to-iedit: restrict iedit region to ahs range 2016-06-05 00:28:44 -04:00
syl20bnr f3e50195d7 core: add footer in home buffer 2016-06-05 00:19:18 -04:00
syl20bnr 3130cc6f2e Move slack layer to +chat directory 2016-06-04 00:20:36 -04:00
Andrew Schwartzmeyer 98e6d46ab9 csharp: enable evil-matchit for C-like tags
Such as preprocessor definitions.
2016-06-03 23:40:59 -04:00