Commit graph

3758 commits

Author SHA1 Message Date
Miciah Dashiel Butler Masters c18317ad05 shell: Restore correct value for company-idle-delay (#10728)
* shell: Restore correct value for company-idle-delay

In spacemacs//toggle-shell-auto-completion-based-on-path, re-enable
automatic suggestions by restoring company-idle-delay to the value of
auto-completion-idle-delay rather than to a hardcoded value.

* Document how to disable automatic suggestions

Document how to disable automatic suggestions, and mention that the Tab key
will still perform completion even with automatic suggestions disabled.
2018-05-23 00:27:08 -04:00
syl20bnr 04685e77ca templates: look for dotspacemacs-directory location first
Rename variable to templates-use-default-templates
2018-05-23 00:21:32 -04:00
Eivind Fonn 3d72cf2a53 Add templates layer (thanks YasuharuIida) 2018-05-22 23:46:07 -04:00
Robby O'Connor f7946542d2 [BREAKING CHANGE] delete extra-langs layer
This layer has long been deprecated and is due to be nuked.
2018-05-22 23:39:51 -04:00
Jesse Byler 65e605f81b Fix vert/horiz in Window Manipulation Transient St (#10726)
Swaps usage of veritcal and horizontal in the documentation string
for Window Manipulation Transient State.

Fix for Issue #10725.
2018-05-22 23:34:11 -04:00
syl20bnr 7be4e22d45 crystal: fix URL 2018-05-22 23:18:09 -04:00
kekenow 7a3c5c1ab2 Fix issue "counsel-gtags command doesn't work in c-c++ layer
* [#10031] Fix issue "counsel-gtags command doesn't work in c-c++ layer"

https://github.com/syl20bnr/spacemacs/issues/10031
2018-05-22 22:59:22 -04:00
p-sdk dc97c3c4c7 org: fix https links
Fixes #10621
2018-05-22 13:08:43 +03:00
syl20bnr fe7cc15a8a Add new layer for Crystal language 2018-05-21 03:14:46 -04:00
syl20bnr 9a3a1384ca helm: move functions to funcs.el 2018-05-21 01:18:37 -04:00
Brandon T. Willard f069f9992d Fix pyvenv pre-init defun and package names; adjust hy-mode prefixes. 2018-05-21 01:18:37 -04:00
syl20bnr 30204ee05a Remove adaptive-wrap package as it does not play well with other modes
see https://github.com/syl20bnr/spacemacs/issues/1418
fixes #1418
2018-05-21 00:29:40 -04:00
syl20bnr 9ff0d967d3 dump: require yasnippet while dumping
Unfortunately preactivating yasnippet while dumping double the loading time.
Not sure why exactly the loading time doubles, it should no be the case.

So for now we only require the library and let the hook for activate it.
2018-05-20 03:58:48 -04:00
syl20bnr 87dc5f100c dump: add support for winner
pdump cannot dump window configurations so we make sure to activate winner
outside of the dump phase
2018-05-20 03:58:48 -04:00
syl20bnr ed9123984a dump: require recentf and eldoc when dumping 2018-05-20 03:58:48 -04:00
syl20bnr b44506fa74 dump: fix lag when deleting line with dd by disabling pbcopy 2018-05-20 03:58:48 -04:00
syl20bnr 5d830fca43 dump: require some helm packages while dumping 2018-05-20 03:58:48 -04:00
syl20bnr 4a2e04a4ed dump: require some emacs-lisp modes while dumping
auto-compile
elisp-slime-nav
nameless
2018-05-20 03:58:48 -04:00
syl20bnr ecb9888d8e dump: require org when dumping 2018-05-20 03:58:48 -04:00
syl20bnr 45e0c08c72 dump: require magit when dumping 2018-05-20 03:58:48 -04:00
syl20bnr 378392e7cd dump: remove spaceline-compile hook and force separator to be utf-8
For now we have an issue with invalid XMP image format when dumping.
So we force utf-8 separator.

spaceline-compile is really long and not really necessary for regular users.
Advanced users must explicitly call spaceline-compile in their dotfile and be
ready to pay a 0.5s penalty when loading emacs.
2018-05-20 03:58:48 -04:00
syl20bnr 2580e43c66 Add support for dumping Spacemacs
Create dump with:

   ./emacs --batch -l ~/.emacs.d/dump-init.el \
           -eval '(dump-emacs-portable "spacemacs.pdmp")'

Load dump with:

   ./emacs --dump-file=spacemacs.pdmp

User can require/load additional libraries in new dotfile function:

   dotspacemacs/user-load
2018-05-20 03:57:54 -04:00
syl20bnr d14d58d990 hy: fix documentation format 2018-05-20 03:13:54 -04:00
syl20bnr ea8991ac90 New layer Hy extracted from Python layer 2018-05-20 03:06:25 -04:00
syl20bnr 8267b501dd web-beautify: rename spacemacs-web-beautify--modes 2018-05-20 00:41:17 -04:00
syl20bnr 9f6b45223f python: put smartparens advice in a post-config use-package hook 2018-05-20 00:24:29 -04:00
Nikita Leshenko b3743701db python: smartparens: Fix bytecomp warning (#10582)
The byte compiler doesn't know about `smartparens-strict-mode' because
smartparens is lazy loaded, so wrap the variable reference in `bound-and-true-p'
to silence a warning that appears on Spacemacs startup.

To reproduce:
1. Install a fresh Spacemacs from develop branch
2. Use spacemacs-base distribution
3. Select only these configuration layers: spacemacs-editing python
4. Restart Emacs to install packages
5. Restart Emacs again and observe warning:
   Warning (bytecomp): reference to free variable 'smartparens-strict-mode'
2018-05-20 00:22:44 -04:00
p-sdk 000e5022c9 ruby: add key binding for ruby-send-line 2018-05-20 00:01:29 -04:00
p-sdk 0e7807cb32 Fix modeline colors on emacs-mac port 2018-05-19 23:58:17 -04:00
JAremko 958d2e95a5 Format documentation. 2018-05-20 02:15:51 +03:00
syl20bnr b97ad90c92 web-beautify: fix definition of web-beautify key bindings
Needs to use `pre-init` function in order to have the variable
spacemacs-web-beautify--modes to be populated before the init function of
web-beautify is actually called.
2018-05-19 01:53:33 -04:00
Juuso Valkeejärvi 4deb56ca57 web-beutify: fix error when resyncing configuration 2018-05-19 01:48:52 -04:00
syl20bnr 30e366fd40 react: add spacemacs prefix to functions in funcs.el 2018-05-19 01:16:18 -04:00
syl20bnr 8fd934c209 react: set emmet-expand-jsx-className? to t 2018-05-19 01:15:04 -04:00
Lupco Kotev 214e5a847d Add argument to specify window when opening from neotree 2018-05-19 00:19:06 -04:00
Juuso Valkeejärvi fa64eb3246 tern: fix issues when loading layer 2018-05-19 00:11:39 -04:00
syl20bnr 635a32c468 treemacs: sort key bindings 2018-05-18 23:41:03 -04:00
syl20bnr 5a914780e8 treemacs: SPC f T --> SPC f t and SPC f C-t --> SPC f T
treemacs-toggle does not exist anymore. We can shift the key bindings to make
them modifier free.
2018-05-18 23:38:15 -04:00
syl20bnr 4980a6461d Fix another link in documentation... 2018-05-18 02:21:05 -04:00
syl20bnr 3976a341a0 Fix documentation link to web-beautify layer README 2018-05-18 02:04:45 -04:00
syl20bnr 5f75e617a3 Fix documentation formating 2018-05-18 01:58:00 -04:00
syl20bnr 542ada133d New layer web-beautify extracted from javascript layer
Make html, javascript, json and react layers depend on it
2018-05-18 01:25:29 -04:00
syl20bnr 10ea3d3e13 html: move css functions to funcs.el 2018-05-18 01:25:29 -04:00
syl20bnr 101a55e0ff react: make react layer depend on node layer 2018-05-18 01:25:29 -04:00
syl20bnr e2a1224f64 react: remove unused function spacemacs//setup-rjsx-mode 2018-05-18 01:25:29 -04:00
syl20bnr e4eca01e82 Move yas-activate-extra-mode setup to javascript layer 2018-05-18 01:25:29 -04:00
syl20bnr c15b65435e react: make react layer depends on new tern layer 2018-05-18 01:25:29 -04:00
Ting Zhou 8616f07b86 Add: use rjsx-mode for react framework
Fix: add yas-activate-extra-mode
Add: add lsp support for react layer
Add: Add rjsx-mode key-bindings doc
Clean: rename spacemacs//set-lsp-key-bindings to spacemacs//setup-lsp-jump-handler
Fix: remove buggy hooks
Clean: move fix-lsp-company-prefix to lsp layer
Fix: rjsx-mode company
Fix: rjsx-mode lsp backend
2018-05-18 01:25:29 -04:00
Benno Fünfstück 572d4388fb spacemacs-modeline: compute height only after display init
Before the display system is initialized, we cannot reliably make font
measurements so the height will be incorrect. This lead to display artefacts
if emacs was started in daemon mode without a graphical interface and later a
graphical client was connected (so for example, if you do `emacs --daemon`
followed by `emacsclient -c`).
2018-05-18 01:25:29 -04:00
syl20bnr e5d8603290 Fix symbols's function definition is void: winum--window-list
fixes #10446
2018-05-18 01:25:29 -04:00
syl20bnr abf3df4ad7 New layer tern extracted from javascript layer 2018-05-18 01:25:29 -04:00
Juuso Valkeejärvi 387a19530d javascript: fix default value of tern-command variable
tern-command must be a list or adding switches to command doesn't work
2018-05-18 01:25:29 -04:00
Lupco Kotev ef795f16af Fix Neotree RET bind 2018-05-18 01:09:10 +03:00
Farva 6cda2dec61 Opt-out of company-rtags while retaining rtags
if 'c-c++-enable-rtags-support' is 'no-completion', keep everything
enabled, but not completion ('company-rtags').
2018-05-18 01:05:52 +03:00
CeleritasCelery 2609538855 fix helm layer broken with smex package 2018-05-18 01:02:58 +03:00
JI Xiang 7638d4cc40 Fix ipython-notebook layer instructions
Now `pip install jupyter` is needed instead of `pip install ipython[notebook]`.
Otherwise `ob-ipython` package will not work.
2018-05-18 01:01:09 +03:00
JAremko d8b1f81fbb
Fix 404 URLs 2018-05-17 02:26:52 +03:00
JAremko 1c4a0451d9 Fix Ensime URL 2018-05-17 02:01:05 +03:00
JAremko b5debe944c Update Docker deps. 2018-05-17 02:00:33 +03:00
Codruț Constantin Gușoi a3debe1570 Fixes ansible key errors 2018-05-16 19:44:47 +01:00
Codruț Constantin Gușoi 04c9c66d39 Fixes newline problems after newlines header 2018-05-16 11:20:07 +03:00
duianto f4a3025174 Format symbol highlight transient state
Reduce the width of the listed key bindings by:
Moving the range and highlighted symbols counter to the right of the transient
state title.
Shorten some key description names.
Reduce three instances of "search" to just one.

And reorder the listed keys based on their search scope, small to large:
swoop, buffers, files, project.
2018-05-16 00:41:37 +03:00
kenkangxgwe be0686a21e Re-enable Wolfram-mode, since it is added back to Melpa. 2018-05-16 00:13:15 +03:00
Leslie Shawn Russell 6259f40914 Fix Slack Layer helm menu display
Changed the slack layer to display "+slack" rather than "+prefix"
This matches other layers (i.e. +org, +irc) under <leader> a.
2018-05-16 00:07:06 +03:00
Codruț Constantin Gușoi 4219842f98 Instead of removing auto-newline, control it via a variable 2018-05-15 23:54:20 +03:00
Fangrui Song 33192a05e2 Remove spacemacs//c-toggle-auto-newline 2018-05-15 23:51:50 +03:00
JAremko dd46fcac78
Fix 404 links. 2018-05-15 16:19:01 +03:00
syl20bnr 7aca5aebd1 javascript: set default value of tern-command to "tern"
fixes #10673
2018-05-14 22:54:53 -04:00
syl20bnr 391bbc1498 fix backends when auto-completion-enable-snippets-in-popup is nil
fixes #10676
2018-05-14 21:32:53 -04:00
syl20bnr 0fc3d921d2 json: fix hook error in post-inti-add-node-module-path 2018-05-14 20:52:22 -04:00
Codruț Constantin Gușoi ac5fde1055 Adds doom-themes to the themes-megapack layer 2018-05-15 01:39:40 +03:00
Ag Ibragimov 5cdfeef2fa git: adds SPC g f d - for magit-diff-buffer-file-popup 2018-05-15 01:33:30 +03:00
Ag Ibragimov d691b916cd git: changes SPC g f h to SPC g f l - for 'git log' of current file 2018-05-15 01:33:30 +03:00
Tommi Komulainen 885f561673 org: add SPC m i n binding for org-add-note 2018-05-15 01:05:46 +03:00
Jinseop Kim e3c6772a49 perl5: Fix for leader key prefix name on CPerl mode 2018-05-15 00:54:20 +03:00
Alexander Baier 5b70ac5009 Remove key-bindings pointing to removed commands
The ledger-mode maintainers removed ledger-set-month and ledger-set-year to fix
https://github.com/ledger/ledger-mode/issues/36. This was done in commit
782014ae.

The finance layer still had key-bindings pointing to these functions, that are
no longer defined, leading to errors when executing one of those bindings. This
simply removes the bindings to avoid confusion.
2018-05-15 00:45:24 +03:00
Codruț Constantin Gușoi d4c8513075 Split windows as @bmag suggested.
Refs: https://github.com/syl20bnr/spacemacs/pull/10669#issuecomment-388815579
2018-05-14 22:48:09 +03:00
Alex cbf6de8ef1 Add 2x2 grid layout shortcut 2018-05-14 22:39:56 +03:00
syl20bnr e481894fcb Create new json layer extracted from javascript layer
* add some goodies like `json-reformat` and `json-navigator`
* make the javascript layer dependent on the json layer
2018-05-14 00:49:13 -04:00
syl20bnr ac4b2686b4 java: enable flycheck for meghanada backend only if possible 2018-05-13 22:39:17 -04:00
syl20bnr 9164407e99 javascript: remove references about coffeescript in README.org 2018-05-13 22:35:12 -04:00
syl20bnr eeec23b226 coffeescript: fix doc. tests 2018-05-13 22:26:47 -04:00
syl20bnr c3ebeb2ee4 coffeescript: add org-babel integration 2018-05-13 12:56:59 -04:00
syl20bnr 996cc91b5d python: fix company when opening a buffer for the 1st time
fixes #https://github.com/syl20bnr/spacemacs/issues/10638
2018-05-13 12:39:52 -04:00
syl20bnr e7c103b556 coffeescript: add jump handler 2018-05-13 10:28:39 -04:00
syl20bnr ca07366f01 New layer coffeescript (extracted from javacript layer) 2018-05-13 10:19:48 -04:00
syl20bnr 9123ffc986 typescript: fix backend name in typescript-setup-eldoc 2018-05-13 09:20:39 -04:00
syl20bnr 17b8e9d75a javascript: fix post-init-imenu func name 2018-05-13 09:16:04 -04:00
syl20bnr 1a0e5e34e3 javascript: add safe values for javascript backend 2018-05-13 02:14:09 -04:00
syl20bnr 7d6fd4ffd4 javascript: sort packages 2018-05-13 02:12:14 -04:00
syl20bnr 9820484716 javascript: fix multiple backends
* Use hack-local-variables-hook and remove usage of hooks in backends setup
  functions.
* also move imenu configuration to post-init-imenu
* Remove the necessity of typescript server for javascript layer
* Remove the necessity of javascript and javascript-flow servers for typescript
  layers
2018-05-13 01:31:00 -04:00
syl20bnr 0a32d339f5 debug: fix doc for eval variable and sort key bindings 2018-05-13 00:09:34 -04:00
syl20bnr 5cdc1ed056 Sort packages alphabetically and add spacemacs function prefix 2018-05-12 23:59:50 -04:00
CeleritasCelery 6e684739cb create debug layer 2018-05-12 23:46:18 -04:00
syl20bnr 1a5664e436 typescript: add safe values for typescript-backend variable 2018-05-12 02:51:42 -04:00
syl20bnr f4223543e1 typescript: fix usage of hooks in multiple backends setup
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:46:51 -04:00
syl20bnr 0877f2f92a typescript, java: use new :append-hooks and :call-hooks
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:33:52 -04:00
syl20bnr 883f57ee74 typescript: fix hooks to take into account directory variables
Also use spacemacs/add-hooks when applicable.
2018-05-12 02:33:10 -04:00
syl20bnr 40f41769bd auto-completion: add :call-hooks and rename :hooks to :append-hooks
Add these keywords to macro spacemacs|add-company-backends

:append-hooks controls wether we add the hooks to major mode hook variable
:call-hooks conrols wether we execute the created hooks function right away

Basically for multiple backends setup we want to pass :append-hooks to nil and
:call-hooks to t.
2018-05-12 02:26:37 -04:00
syl20bnr 40f28c7d12 auto-completion: fix duplicate addtion of backends
Reverting a buffer could put multiple entries of the same backend in the buffer
local `company-backends` variable.
This is due to the fact that we mutate `company-backends-xxxx-mode` variable
with:
         (setq ,backends-var-name
               (mapcar 'spacemacs//show-snippets-in-company
                      ,backends-var-name)))

Solution is to add a new variable that won't be mutated when we add the support
for snippets.
2018-05-12 02:03:33 -04:00
syl20bnr 439dafb4dd auto-completion: fix variables not set with multiple modes
When multiple modes where provided to macro spacemacs|add-company-backends along
with variables, only the first mode was taken into account as the `variables`
variable was nil after the first interation on `modes`.
2018-05-12 01:53:54 -04:00
syl20bnr 14a5b8c21a typescript: use spacemacs/add-to-hooks function 2018-05-12 00:23:10 -04:00
Andrea Moretti 3a516438cd add smartparens mode 2018-05-12 00:23:10 -04:00
Andrea Moretti 8081d51560 typescript: avoid 0 char autocomplete 2018-05-12 00:10:36 -04:00
Ting Zhou 5a92c43951 Fix: use recipe for lsp-javascript-typescript 2018-05-11 23:28:15 -04:00
syl20bnr f9968bf326 javascript: add default value for tern-command and remove toggle
Since now we support multiple backends, the toggle based on tern executable
seems not necessary anymore.
2018-05-11 13:28:16 -04:00
Alex Palaistras 70c1737c44 xclipboard: Fix keybindings for copy and page
This commit switches the keybindings for `xclipboard-copy` and `xclipboard-paste` to `SPC x y` and
`SPC x p` respectively, as it appears these were incorrectly assigned the other way around.
2018-05-11 10:25:52 -04:00
Ting Zhou 5c14486b62 Fix: remove buggy hooks in javascript and typescript 2018-05-11 01:48:03 -04:00
syl20bnr 79824060c1 Fix l keybinding in neotree to open in MRU window
Fixes #9794
2018-05-11 01:28:58 -04:00
Nick Anderson 4cc57dea74 Fix automatic syntax checking for cfengine
The wrong mode for cfengine was specified for enabling flycheck. This properly
loads flycheck support when cfengine3 mode is active.
2018-05-11 00:42:52 -04:00
syl20bnr bb84c4a3a3 Fix xclipboard local package name 2018-05-11 00:29:05 -04:00
syl20bnr 1befcad00d Move xclipboard to a local package 2018-05-11 00:20:14 -04:00
Charles Weill e4cb2b37dc Add X clipboard support layer to terminal emacs.
The X clipboard allows a user to copy and paste content between different X
windows, e.g. copying text from Chrome into a Terminal. Copy/pasting with the X
clipboard it well supported in GUI Emacs, but not so well in terminal Emacs
(i.e `emacs -nw` or `emacsclient -t`) without resorting to using the mouse,
since terminal Emacs has no awareness of X. There are several incomplete Elisp
solutions out that work for the most part, but may not have cross-platform
support, or may fail over SSH with X forwarding or within a `tmux` session.

This layer adds support for OSX, Linux, Windows, and Cygwin using the relevant
binary on each system. For example on Linux, it uses `xsel` or `xclip` to
interface with the clipboard, depending which one is available. It also adds
support for ssh'ing into a different OS with X forwarding via `ssh -Y hostname`,
and copy/pasting to and from a remote terminal Emacs. It also supports an edge
case of continuing to work in an Emacs instance running inside a `tmux` session
which may have been started by a different ssh session, which relies on
explicitly reseting the `$DISPLAY` environment variable before calling the
relevant binary.

Yank code inspired by https://github.com/tmux-plugins/tmux-yank.

Fix #4662.

Tried to add xclip support but removed it since it freezes.
2018-05-11 00:00:01 -04:00
syl20bnr df90ec6c02 Add eziam and kaolin themes to themes-megapack layer 2018-05-10 23:38:26 -04:00
duianto a64417b3c1 Add golden-ratio support to evil-unimpaired
Switching window with `[ w` and `] w` didn't activate golden-ratio.
2018-05-10 23:56:05 +03:00
CeleritasCelery 19b7d40aa1 add support for helm find files edit to helm-navigation transient state 2018-05-10 23:34:39 +03:00
Aaron Jensen 40530100d6 Reenable magithub
Ghub and therefore magithub now support creating tokens automatically:

https://github.com/vermiculus/magithub/blob/master/magithub.org#authentication
https://magit.vc/manual/ghub/Interactively-Creating-and-Storing-a-Token.html#Interactively-Creating-and-Storing-a-Token
2018-05-10 23:05:14 +03:00
Alex 5ea833f10b Add function and keybinding for single column window layer.
We have key bindings to create two and three column
window layers.

This commit makes available a key binding to return to
the default spacemacs window layer, the single column one.
2018-05-10 22:38:47 +03:00
bmag 260c3d98e3 pcre2el: move ownership to bootstrap
pcre2el is used by several layers, such as ivy and helm, so it needs to be
available outside of spacemacs-editing layer.
See also https://github.com/syl20bnr/spacemacs/pull/5990#issuecomment-217400470
2018-05-10 20:26:55 +03:00
CeleritasCelery aa5bc0373f fixed helm action in helm transient state 2018-05-10 00:00:19 +03:00
smile13241324 bf61b1500a Add keybinding to docker layer to build image without cache 2018-05-09 22:36:10 +03:00
Codruț Constantin Gușoi 775fb50f9f Fixes TOC formatting for python layer 2018-05-09 01:19:21 +03:00
syl20bnr 7596a156a4 Rename set-lsp-key-bindings and make it accept a list of modes 2018-05-08 00:17:56 -04:00
syl20bnr ed80e41014 javascript: minor update of README.org 2018-05-08 00:10:48 -04:00
syl20bnr 522eafbd2b typescript: update README.org for multiple backends 2018-05-08 00:10:13 -04:00
Ting Zhou 59e0c5683a Add: lsp-typescript support 2018-05-07 23:47:24 -04:00
Philippe Bourdages 4ac8e4ec17 Fix Typescript key binding typo 2018-05-07 23:46:59 -04:00
syl20bnr 4eaf160b90 lsp: fix typo 2018-05-07 23:34:31 -04:00
Ting Zhou aaa8c93d00 Docs: fix javascript doc 2018-05-07 23:32:47 -04:00
Ting Zhou 8df99c440b Clean: move spacemacs//set-lsp-key-bindings to lsp layer 2018-05-07 23:32:47 -04:00
Ting Zhou a7982de966 Clean: rename lsp prefix fix function names 2018-05-07 23:32:47 -04:00
Ting Zhou 64cd095d86 Fix: remove unnecessary comments 2018-05-07 23:32:47 -04:00
Ting Zhou f3ee2edf1b Add: add lsp-javascript backend for javascript layer 2018-05-07 23:32:47 -04:00
syl20bnr fcd9d31bcb groovy: add import for symbol key binding 2018-05-07 01:03:47 -04:00
JAremko d4017b1ca7 Make sure that docs pass formatting cheques. 2018-04-15 22:16:17 +03:00
syl20bnr 0fa3658cd8 reorganize spacemacs-base distribution into +spacemacs/spacemacs-xxx
This idea is to have the spacemacs-base distribution only configure defaults for
built-in packages. Those buit-in packages are now configured in the new layer
spacemacs-defaults.
Additionally some other packages of spacemacs-base have been dispatched to
better suiting spacemacs layers.

Projectile has been moved to the new layer spacemacs-project

- Move the following packages to bootsrap distributio layer:
  - exec-path-from-shell
  - evil-evilified-state
  - holy-mode
  - hybrid-mode
  - spacemacs-theme
- ace-window has been moved to spacemacs-navigation
- centered-buffer-mode has been moved to spacemacs-editing-visual
- pcre2el has been moved to spacemacs-editing
- evil-escape and evil-visualstar have been moved to spacemacs-evil
2018-03-04 20:54:54 -05:00
Bet4 b0f77612e3 Call helm-mode when helm is initialized
Fixes #9826
2018-03-03 23:55:01 -05:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr cff0bb19bf c-c++: replace toggle-auto-newline lambda by a named function 2018-03-03 22:59:55 -05:00
Aaron Jensen 6c1339debb cc-mode: move c-toggle-auto-newline to hook 2018-03-03 22:50:00 -05:00
Aaron Jensen 31dc961ef8 typescript: Fix eldoc hooks 2018-03-03 22:46:47 -05:00
EMayej Bee 971719f55c fix(java): typo 2018-03-04 10:28:12 +08:00
syl20bnr baf154b0c3 typescript: isolate el-doc configuration
also ensure that eldoc-mode is called after tide-setup
2018-03-03 16:53:42 -05:00
Aaron Jensen e1e4aeb5a4 typescript: Fix eldoc
eldoc cannot be enabled until after tide-setup is run.
2018-03-03 16:47:41 -05:00
syl20bnr 3731d0d3fc Move major specific error key bindings to SPC m E prefix
Also add a convention for it.
2018-03-03 16:45:00 -05:00
Simon Altschuler ed1cccd319 Rename typescript "rename" bindings to "refactor" 2018-03-03 16:30:13 -05:00
Simon Altschuler 93c24c3cc7 Add tide-fix binding to typescript layer 2018-03-03 16:30:09 -05:00
Ayush Goyal d3bb27cbab Fix spacemacs/swiper-all-region-or-symbol function
spacemacs/swiper-all-region-or-symbol function doesn't work. This is probably
due to using old swiper api which has changed.
2018-03-03 15:02:21 +02:00
Aaron Jensen 13c7da3cd2 use-package-always-defer: fix regression in tmux 2018-03-03 14:39:36 +02:00
kyren 02a5a44ab7 Add :demand t to fix loading treemacs-evil package
It appears that 29c78ce changed `:defer t` to be the default for
use-package, and that previously the `treemacs` and
`treemacs-projectile` packages in treemacs/packages.el specified `:defer
t`, but *not* `treemacs-evil`.  Restoring `:demand t` (previously the
default) to `treemacs-evil` appears to fix #10422.
2018-03-03 14:38:43 +02:00
bmag f84ab9af8f u-p-always-defer fix regress: spacemacs-evil, spacemacs-editing
These changes were missed in commit 29c78ce841
2018-03-03 14:17:01 +02:00
bmag 5c251f6415 use-package-always-defer: fix regressions: hybrid-mode, line-numbers
These changes were missed in commit 29c78ce841
2018-02-28 22:50:11 +02:00
bmag f294d42ae5 use-package-always-defer: fix regressions in ivy layer
These changes were missed in commit 29c78ce841
2018-02-28 22:18:23 +02:00
syl20bnr 4fe1600f45 cmake: fix lazy loading issues
Fixes #10402
2018-02-27 23:32:52 -05:00
Cormac Cannon 9cb48f2403 Added :commands section to export helm-xref-show-xrefs
Fixes a missing symbol error on my system.
2018-02-27 23:32:52 -05:00
syl20bnr e2b1cecb77 Update documentation for :defer t 2018-02-27 23:32:52 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
syl20bnr 1e6a0a66c0 python: group backend packages 2018-02-27 23:32:52 -05:00
syl20bnr 83a6778eab Lazy load diff-hl and move lsp-ui-mode hook 2018-02-27 23:32:52 -05:00
JAremko 6397abe2ff Fix Java layer README 2018-02-28 04:58:24 +02:00
JAremko 7ce071b4be Format documentation 2018-02-28 03:29:48 +02:00
smile13241324 aead79ca48 Fix doc for S>-bootstrap, S>-navigation, S>-visual and S>-org 2018-02-28 03:01:39 +02:00
smile13241324 2ed8806db2 Fix documentation for S>-editing and S>-misc 2018-02-28 03:01:08 +02:00
syl20bnr fd90547908 clojure: fix key bindings location in README.org 2018-02-25 12:44:25 -05:00
syl20bnr 1f93c0576c terraform: add support for terraform-company 2018-02-24 20:24:23 -05:00
Dan Girshovich a141c9adff Add support for breakpoints for the trepan3k python debugger 2018-02-24 19:49:39 -05:00
syl20bnr 920a6f6075 python: sort key bindings 2018-02-24 19:49:39 -05:00
Jack Kamm 8f79abc7f3 python: add pipenv. unified prefix for pyenv, pyvenv, pipenv 2018-02-24 19:49:39 -05:00
Paul 92428f3a47 shell: move eshell key bindings definition into a hook function
Problem
---

`C-j` and `C-k` key bindings don't work in eshell buffers except the first one.

Solution
---

`eshell-mode-map` is buffer-local, so key bindings have to be defined in a hook
function.
2018-02-24 19:49:39 -05:00
Paul f3a5b5a99b org: add key binding for org-toggle-checkbox
Problem
---

For basic toggling a checkbox (and adding / removing one with `SPC u`) for list
item at point one can use `,,`. However, there is no spacemacs key binding for
more advanced checkbox editing command `org-toggle-checkbox`.

Compare `C-c C-c` to `C-c C-x C-b` at https://orgmode.org/manual/Checkboxes.html

Solution
---

Add `SPC m T c` key binding for `org-toggle-checkbox`.
2018-02-24 19:49:39 -05:00
William Casarin fcd78d4379 org: org-clock-goto binding
Bind org-clock-goto to `SPC aokg`

Useful for jumping to recent clocks (via SPC u SPC aokg), otherwise it jumps to
the current or last clocked in clock

Signed-off-by: William Casarin <jb55@jb55.com>
2018-02-24 19:49:39 -05:00
Fabien Dubosson 29fa494053 [keyboard-layout] Split evil-magit and magit configurations
Fix #10133 and #10229, supersede #10148
Modification as suggested in [1].

[1] https://github.com/syl20bnr/spacemacs/pull/10148#issuecomment-357577446
2018-02-24 19:49:39 -05:00
syl20bnr 13961e8ea1 helm: change default rg max-columns value to 512 and add doc 2018-02-24 19:49:39 -05:00
mike-work 658c34b9cc Configure rg max column number for search. 2018-02-24 19:49:39 -05:00
Alejandro Arrufat f93fb228ce Feature: Add "send to buffer" leader key in ruby layer
Currently ruby-send-to-buffer function is not assigned to any key
it is useful to be able to send the the buffer directly to the ruby
console.

It assigns SPC-msb to ruby-send-to-buffer function
2018-02-24 19:49:39 -05:00
syl20bnr e99ca55e13 python: add doc for SPC m t l 2018-02-24 19:49:39 -05:00
Benoit Coste 262c8ee7b0 Add defun spacemacs/python-test-last
It is a wrapper around the nosetests-again defun.
It will call the latest called nosetest function.
2018-02-24 19:49:39 -05:00
syl20bnr 982308f1b3 japanese: add image and format README.org 2018-02-24 19:49:39 -05:00
Kenji Miyazaki 570f7ef3e3 Add Japanese Layer 2018-02-24 19:49:39 -05:00
Aaron Jensen 6ec6af84d0 typescript: create derived mode for tsx 2018-02-24 19:49:39 -05:00
syl20bnr a40b79a781 clojure: sort key bindings alphabetically 2018-02-24 19:49:39 -05:00
Luo Tianj 280c7b4cef add key bindings for profiling and spec browsing 2018-02-24 19:49:38 -05:00
Francesc Elies Henar d2458eb974 [prodigy] renames jump function
This function was renamed in https://github.com/rejeep/prodigy.el/pull/110
2018-02-24 19:49:38 -05:00
timor 671701f2ef factor: rename snippet file
fixes #10360
2018-02-24 12:04:32 +02:00
smile13241324 93ec42177e Fix doc for S>-completion and S>-editing-visual layers 2018-02-22 17:37:02 +02:00
smile13241324 d526121202 Fix doc for first bunch of internal spacemacs layers 2018-02-22 17:36:45 +02:00
syl20bnr 81a931f48b python: add support for Language Server Protocol 2018-02-19 00:08:27 -05:00
Yuan Fu 66afcce4d1 Add lsp-python layer
Fix readme.org

Update with some minor changes

I added quickrun package to execute python script with ease.
It is owned by lsp-python since no one is using this great package in other layers.

Fix readme
2018-02-18 22:57:59 -05:00
syl20bnr be6db59b4c lsp: create logical package flycheck-lsp 2018-02-18 22:56:41 -05:00
syl20bnr 1c49c7f361 lsp: hide lighter 2018-02-18 22:54:15 -05:00
syl20bnr ba66562967 lsp: add files header and rename lsp// functions
Prefer spacemacs// namespace for all spacemacs added functions.
2018-02-18 22:53:07 -05:00
syl20bnr db04cdb759 lsp: respect 80 chars per line in README.org 2018-02-18 22:49:13 -05:00
syl20bnr 2a5670e8df lsp: move helm-xref and ivy-xref ownership to helm and ivy layers 2018-02-18 22:48:12 -05:00
Fangrui Song d99cb009c2 Add +tools/lsp layer for lsp-mode & lsp-ui
This is a starting point to bring LSP ecosystem into spacemacs.

Theme by 0bl.blwl
2018-02-17 20:17:14 -08:00
timor ba13869c99 Add features section 2018-02-17 16:09:06 -05:00
timor f4a8d605e7 Clarify Snippet usage 2018-02-17 16:09:06 -05:00
timor 05623c4924 Don't add final semicolon to template 2018-02-17 16:09:06 -05:00
timor 2c4ac9b2f4 Add Layer for the Factor Programming Language 2018-02-17 16:09:06 -05:00
Paul 670a483735 org: tidy prefixes
Bindings from `SPC m h` have been moved under `SPC m i` in 4898644a revamp.
2018-02-17 16:09:06 -05:00
nijohando d4ae5a3c2b fix: Rename deprecated cider function
"cider-jump-to-resource" has been renamed "cider-find-resource" in
CIDER 0.9.0
2018-02-17 16:09:06 -05:00
Adam Frey 5da932541b Fix typo in clojure/README 2018-02-17 16:09:06 -05:00
Rhommel Lamas 87cbef1952 Fix docs for rcirc layer where :user-name is the right value 2018-02-17 16:09:06 -05:00
Alexander Dalshov c4008169c6 fix: ycmd don't search for compilation DB in subfolders 2018-02-17 16:09:06 -05:00
syl20bnr a72a9aa26c cmake: sort package configuration 2018-02-17 16:09:06 -05:00
syl20bnr e1ec7de6da cmake: properly defer packages
function cmake-ide-setup just setup hooks. Hooks are just variables so they
can be setup without loading the whole package. For this reason we prefer to
not call cmake-ide-setup and setup the hooks ourselves.
2018-02-17 16:09:06 -05:00
Alexander Dalshov 76490d503f cmake layer: call cmake-ide-setup after rtags was loaded 2018-02-17 16:09:06 -05:00
Alexander Dalshov 98758c6ede CMake: move company-cmake initialization to cmake layer 2018-02-17 16:09:06 -05:00
Alexander Dalshov b4fa24eb31 Layers.org: add cmake layer link
Layers.org - remove dangling link for extra-langs (deprecated)

Layer.org - add mics layers links
2018-02-17 16:09:06 -05:00
smile13241324 82b6ee3498 Fix doc for spell-checking and ansible layer 2018-02-17 17:30:44 +02:00
smile13241324 0961850391 Fix doc for octave, sql and go layers 2018-02-17 17:30:27 +02:00
JAremko c130014ff0 fix src lang in notmuch README 2018-02-06 14:25:48 +02:00
smile13241324 c4ec87dfeb Fix doc for nginx, jr, nlinum and systemd layer 2018-02-06 10:24:16 +02:00
smile13241324 0e3a371390 Fix doc for graphviz, deft and finance layer 2018-02-04 06:21:44 +02:00
smile13241324 d85eb092d0 Fixed the next bunch of documents
Fix doc for coq, semantic-web, source-control, evil-commentary
and spotify layer.
2018-02-04 06:21:18 +02:00
bmag f3b6a22c05 Keys consistency for winum and file trees
Reinstate `SPC f T` binding, and make `SPC 0` and `M-0` consistent across
Neotree and Treemacs.
2018-02-02 21:15:21 +02:00
syl20bnr d1b7872ced ansible: fix error void function ansible:auto-decrypt-encrypt 2018-01-29 13:52:39 -05:00
Dieter Komendera 5f6f9d2333 clojure: Enable safe structural editing for cljs, cljx and cljc
clojurescript-mode, clojurec-mode and clojurex-mode are used for .cljs, .cljc
and cljx files respectively, which should always be balanced and thus have safe
structural editing enabled.
2018-01-29 00:15:32 -05:00
smile13241324 3586495ed6 Fix doc for django, scala, sml, floobits, puppet and evernote layer 2018-01-28 23:00:32 -05:00
John Soo 0068e1978b spacemacs-layouts: fix projectile-switch-project-action
Fix #10177
2018-01-28 22:59:09 -05:00
Colin Woodbury f187300491 haskell: Document SPC m r i binding 2018-01-28 22:54:14 -05:00
Colin Woodbury 6826ab10a6 haskell: Add function for proper import reformatting
- It will succeed from anywhere in the source file, unlike the current
  functions exposed by `haskell-mode` that exist for the same purpose.
2018-01-28 22:54:07 -05:00
Dave Aitken bd77db5d84 ocaml: mention ocaml flycheck/merlin configuration in README 2018-01-28 22:51:26 -05:00
Dave Aitken 2be4dd2795 ocaml: enable flycheck-ocaml 2018-01-28 22:48:47 -05:00
smile13241324 fdc7bd75b9 Fix broken package declaration for dockerfile-mode 2018-01-28 22:44:41 -05:00
Dieter Komendera 392b77c042 spacemacs-navigation: Switch to centered-cursor-mode on melpa
centered-cursor-mode on melpa is maintained and contains bug- and performance
fixes. #9991
2018-01-28 22:43:17 -05:00
syl20bnr 665c09b684 mode-line: fix color space for spaceline separators on MacOS 2018-01-28 22:40:58 -05:00
JAremko 3eb6ae20ea
fix URL in scheme layer 2018-01-27 18:01:04 +02:00
smile13241324 5e13f3c373 Fix doc for tmux, c-c++, faust, node and docker layer 2018-01-27 16:58:38 +02:00
JAremko 6717fc02cc add features list to the ycmd layer readme 2018-01-27 16:58:06 +02:00
JAremko d2c3b847d8 doc fmt 2018-01-27 16:57:39 +02:00
JAremko 0ae66fb111 add elixir tag to src blocks 2018-01-27 16:57:18 +02:00
syl20bnr 9d540f8a95 Fetch perl6-mode from GitHub
https://github.com/perl6/perl6-mode
2018-01-25 00:11:16 -05:00
syl20bnr 79b87c7d5a Fetch font-lock+ from Emacs Mirror
https://github.com/emacsmirror/font-lock-plus
2018-01-25 00:11:15 -05:00
syl20bnr 5aba44f415 Import help-fns+.el as local package
Imported from https://github.com/emacsmirror/help-fns-plus
2018-01-25 00:11:15 -05:00
syl20bnr b5d76b60d8 Import hide-comnt.el as local package
Imported from https://github.com/emacsmirror/hide-comnt
2018-01-25 00:11:15 -05:00
syl20bnr 88a07467fb Import info+.el as local package
Imported from https://github.com/emacsmirror/info-plus
2018-01-25 00:11:15 -05:00
Muneeb Shaikh 89933acbde spacemacs-layouts: fix creation of perspective with ivy
Fix #10240
2018-01-24 09:41:07 -05:00
Alexander Dalshov 7b4042463f CMake Layer: add ctest configuration description. 2018-01-24 16:49:06 +03:00
Bruno Tavares 035fc2a648 Regression fix: Allow new project perspectives
Before the commit 4b111f7701 it was possible to create new perspectives from projects not available on the list.

It would be possible to provide a path to a project that has not been open previously by emacs, and have the perspective created. Now that a match is required, it is not possible anymore, as the path provided is not one of the possible matches on the list.

This commit changes the behavior back to allow accessing projects that have not been visited before. Without this change, one needs to open a specific project first, using `C-x C-e` or `SPC f f` and then switch to the layout.
2018-01-22 23:36:11 -05:00
syl20bnr a88aa45668 org: sort babel key bindings in documentation 2018-01-22 23:21:49 -05:00
timor 2609cd326a Document org babel transient state 2018-01-22 23:20:53 -05:00
syl20bnr 9f4d0961a5 ess: sort key bindings in documentation 2018-01-22 23:20:01 -05:00
Jack Kamm 048c92eaf4 ess: add updated keybindings to readme 2018-01-22 23:17:57 -05:00
Miciah Masters 600421eb49 mu4e: Fix major-mode leader-key bindings
Instead of specifying mu4e-foo-mode-hook to
spacemacs/set-leader-keys-for-major-mode,
specify mu4e-foo-mode.
2018-01-22 23:17:03 -05:00
David Balatero 2b3d83ccf6 Add gtags to enh-ruby-mode as well as ruby-mode 2018-01-22 23:14:40 -05:00
Paul 990902e6d0 org: fix variable name in docs 2018-01-22 22:49:20 -05:00
Alexander Dalshov 8bc08ade89 Decouple CMake support from C-C++ Layer 2018-01-22 22:48:09 -05:00
syl20bnr 7a86333d79 mode-line: disable spaceline responsiveness for all-the-icons theme 2018-01-22 00:47:05 -05:00
syl20bnr 5144c25ab6 org-mime: remove uneeded :commands
As they are already declared as autoloaded.
2018-01-21 12:15:22 -05:00
Rudi Grinberg 8f685035bf enable flycheck for tuareg mode rather than merlin mode
merlin mode doesn't actually exist
2018-01-21 09:34:59 -05:00