Commit graph

2136 commits

Author SHA1 Message Date
bmag 70c7592718 elisp test buffer: run only current buffer's tests 2016-10-08 19:44:10 +02:00
Eivind Fonn 669dce7c2d Handle typescript FIXME 2016-10-08 19:36:50 +02:00
Laurens B 95a8f4e0b9 Add optional frame arguments for transparency toggle/in/decrease. 2016-10-08 19:33:40 +02:00
drew.okane 197eb982b2 Add Clojure to org-babel-load-languages 2016-10-08 19:30:05 +02:00
Jasper v. B ea862f18cf Add a note about filename expansions
This is mentioned in
[emacs-ycmd](https://github.com/abingham/emacs-ycmd#quickstart)
documentation as well, but it doesn't hurt to have it here as well.
2016-10-08 19:27:53 +02:00
Allen Li aed35fc6ef [org] Add org-clock key bindings 2016-10-08 19:26:39 +02:00
Jeremy Bi 927cccbd99 Enable auto-completion in Agda layer 2016-10-08 19:25:08 +02:00
deb0ch f4c9cd8871 ycmd layer: do not parse buffer on newline insertion
Dramatically improves ycmd performance on large projects.
2016-10-08 19:23:28 +02:00
Eivind Fonn ff95f2a9ab typescript: Fix potential nil buffer-file-name 2016-10-07 12:14:29 +02:00
Eivind Fonn 896180408a Fix shell buffer regexp 2016-10-04 13:41:06 +02:00
Robert O'Connor 405e90d69a
Remove support for jade-mode; add pug-mode
Jade has been deprecated and there is little need to support jade to
support jade anymore. If people need jade-mode, they can install the
package themselves and configure it. Pug is the renamed Jade project.
2016-10-03 21:15:17 +03:00
Robert O'Connor 8aa42a0719
Enable orgtbl-mode in markdown-mode
This makes working with tables much nicer.
2016-10-03 21:12:23 +03:00
syl20bnr a3750146c3 clojure: move SPC m s k to SPC m s C 2016-10-03 00:23:52 -04:00
bmag f9c74e2b58 Synchronise load/save of workspaces and layouts
Update current layout's workspaces before saving layouts to file (fixes
7214).
Load current layout's workspaces after loading layouts from file, if it's
one of the loaded layouts (fixes 6979).
2016-10-03 00:23:15 -04:00
bmag cded126cab Update hybrid state to upstream changes
insert state has changed upstream, this updates hybrid accordingly.
Relevant upstream commit:
2d3c01d802
2016-10-03 00:23:15 -04:00
syl20bnr 0477a4dd4c shaders: fix readme and add an image 2016-10-03 00:23:15 -04:00
syl20bnr e4c1f5bb1a Update LAYERS.org 2016-10-03 00:23:15 -04:00
syl20bnr ffc312b2b1 scala: move SPC m b h to SPC m b .
Per convention for transient states
2016-10-03 00:23:15 -04:00
syl20bnr 5f759f6df0 clojure: add SPC m = key binding
per convention
2016-10-03 00:23:15 -04:00
syl20bnr ade1c7d70f elm: move SPC m h d to SPC m h h 2016-10-03 00:23:15 -04:00
syl20bnr bcf2ce6ca4 Move SPC b k to SPC b C-d 2016-10-03 00:23:15 -04:00
d12frosted ac31e45c15
add fill-or-unfill function 2016-09-30 12:24:31 +03:00
mahinshaw cf951a5114 Update bindings. Add toggle clojure-enlighten-mode 2016-09-23 22:50:09 +02:00
duianto 98b5a2be4f
three words spellchecked
"horizonatl", swapped "a" and "t", resulting in: "horizontal"

"porpertized", swapped "o" and "r" , resulting in: "propertized"
"containg", added "in", resulting in: "containing"
2016-09-23 10:51:19 +03:00
eduardo apolinario 02da004026
fix typo packges -> packages 2016-09-23 10:50:46 +03:00
Tim Jäger 2181decd81
Add clear REPL keybinding for Clojure 2016-09-23 10:48:48 +03:00
Adam Sokolnicki 51c49531e3
Re-map "pp" to counsel-projectile-switch-project
Move counsel-projectile to "p SPC" as the original package suggests.
2016-09-23 10:47:13 +03:00
Abdo Roig-Maranges 68becc5597 layouts: persp-mode changed variable to enable ido-hooks
Since persp-mode 2.5 the way to enable ido hooks changed again. Without
tihs, SPC b b lists all buffers instead of persp-local ones.
2016-09-20 20:09:22 +02:00
Eivind Fonn e744d25a42 Fix golden-ratio in tmux 2016-09-20 20:05:37 +02:00
bmag 753b81275c dumb-jump: bind key instead of enable mode 2016-09-16 15:07:05 +02:00
Eivind Fonn f373105be1 Disable smartparens highlighting 2016-09-14 14:46:01 +02:00
Eivind Fonn 53d2ae4f15 Remove evil-smart-goto-definition 2016-09-14 11:38:14 +02:00
Eivind Fonn 060934a4f0 Add evil-goto-definition as default jumper 2016-09-14 11:34:39 +02:00
Rory O’Kane b7c84b5c35
Fix capitalization of “GitHub” in layer docs 2016-09-13 13:23:30 +03:00
Rory O’Kane 18952625cc
Fix wrong filename in a layer file’s header comment
the header of `keybindings.el` in the `better-defaults` layer
2016-09-13 13:22:59 +03:00
Eivind Fonn 7cfb93d601 Define jump handlers for common-lisp-mode 2016-09-12 11:45:05 +02:00
Eivind Fonn 6bb4416585 Set pandoc-data-dir
Also move defun to funcs.el
2016-09-07 18:48:28 +02:00
Eivind Fonn d5baec4b44 Fix SPC sj binding 2016-09-07 14:50:31 +02:00
Muneeb Shaikh 6d17a90d0c fix void variable when not using osx layer
Fix `Symbol's value as variable is void: osx-use-dictionary-app` when
not using osx layer.
2016-09-06 12:29:48 +05:30
syl20bnr 03143b61f2 Fix (error: (void-variable spacemacs-jump-handlers-react-mode)) 2016-09-05 22:19:56 -04:00
JAremko ad547c390d Fix buffer edges bug. 2016-09-05 21:12:52 -04:00
JAremko cfd6b06669 space-doc: Don't clean the global cache. 2016-09-05 21:12:52 -04:00
JAremko 91df3b1c13 space-doc: Use text properties instead of overlays. 2016-09-05 21:12:52 -04:00
JAremko c5be9c23a0 Recenter buffer when content width increase. 2016-09-05 21:12:52 -04:00
JAremko 95f4119366 disabled by default centering in space-doc-mode.
Fix centered-buffer-mode conflict with Emacs 25
2016-09-05 21:12:52 -04:00
syl20bnr 03f9f9f700 core: contain side effects when loading packages for SPC h SPC
Fixes some edge cases like SPC f e R performed after SPC h SPC which
could wrongly install or uninstall packages.

Side effects is contained using the variable
configuration-layer--package-properties-read-onlyp, if non nil then
properties value of a package cannot be overwritten.
2016-09-05 20:54:07 -04:00
syl20bnr 047b57223a Fix packages list for spacemacs-language 2016-09-05 11:51:30 -04:00
Eivind Fonn 107fe46d6e Fix latex-mode jump handler definition 2016-09-05 09:48:54 +02:00
Eivind Fonn 22edae1f04 Fix jump handler macro invocation 2016-09-05 09:45:35 +02:00
syl20bnr 317694b160 Define missing jumper handler variables for helm-gtags 2016-09-05 02:38:13 -04:00
syl20bnr 9066d073b2 Fix (void-variable spacemacs-jump-handlers-....)
Move the variable definitions to config.el and eval-after-load the
key binding on SPC m g g.
2016-09-04 22:31:47 -04:00
syl20bnr c6a6c41d92 Replace hooks by regular list for jump lists
Hook semantic is to be used with run-hooks API and run all hooks
sequentially, jump list semantic is different since the running
functions are not guaranteed to be executed so we prefer using regular
list API to manage jump-lists.
2016-09-04 12:28:40 -04:00
Christian Kjær 622938c757
Haskell: Add support for intero-apply-suggestions
As per #6233 add support for `intero-apply-suggestions` behind `SPC m r s`,
and move the prefix declaration for "haskell/refactor" to the other prefix declarations,
since it is no longer only relevant for hlint.
2016-09-04 11:50:00 +03:00
Christoph Paulik 4029679584 Fix Python jumping with async anaconda mode function.
Without this dumb-jump-go is often used if anaconda-mode-find-defintions
takes a little to return a result.

fix #6985
2016-09-03 12:04:31 +02:00
Fabien Dubosson 2ef2c48189 [bepo] Fix loading of the ranger correction
For whatever-reason-unknown-to-me, this change is needed in order to
make key correction working now :-)
2016-09-03 12:04:24 +02:00
syl20bnr 3290c8a94f Fix possible infinite appending to golden-ratio-exclude-buffer-names
Each time the config is reloaded with SPC f e R we were appending new
strings to the variable.
2016-08-31 22:42:58 -04:00
syl20bnr d998c7edf5 Move SPC p G to SPC p C-g to regenerate tags
I have the impression that SPC p G can be used for something more
useful regarding tags.
Tags regeneration triggers a process that can take a while to make
more sense to make it less accessible.

If there is nothing useful to be added to SPC p G we can consider
reverting this commit.
2016-08-31 22:32:27 -04:00
syl20bnr 1b4efdddc3 Move projectile-find-tag from SPC p y to SPC p g
SPC p g was free so why not using it.
2016-08-31 22:32:22 -04:00
syl20bnr 463be7916c Move SPC b t to replace SPC p o by org-projectile/goto-todos
SPC p o was for projectile-multi-occur which is not really useful given
the alternative provided by Spacemacs

If this binding is really important we can consider adding it back
on SPC p O or find another way to integrate multi-occur in Spacemacs.
2016-08-31 22:32:16 -04:00
deb0ch fc23818c1c fix 4b2f123: do not remove workaround 2016-09-01 00:56:22 +02:00
ralesi a7d4674202 Auto center spacemacs-buffer on window resize. 2016-08-31 18:29:12 +02:00
Eoin Houlihan 77a4c4a203 Include *idris-holes* and *idris-info* in golden ratio exclude 2016-08-30 16:25:15 +02:00
Eivind Fonn 7427c03b46 Change SPC aoP to SPC bt (thanks ralesi) 2016-08-30 16:22:13 +02:00
MadAnd a7232d53e7 Fix auto complete with key sequence in Hybrid mode
Implement handling of `evil-hybrid-state-map` keymap to make completion
with a key sequence work in Hybird state.
2016-08-30 16:18:13 +02:00
Michael Parks 1993e490ef Add mu installation note for OSX/Homebrew users 2016-08-30 16:14:56 +02:00
Christoph Paulik 28b8572eb0 Python: Fix link in layer Readme. 2016-08-30 16:11:57 +02:00
bmag 6d454a2313 auto-completion: manual help tooltip and minor fix
New value `manual` for auto-completion-enable-help-tooltip enables the
user to display help tooltip on-demand. Other values remain the same:
nil for no tooltip at all, t (or any non-nil non-manual value) for
automatic tooltip.

Minor fix: call `company-quickhelp-mode` just once, because it's a
global minor-mode.
2016-08-30 16:10:27 +02:00
Eivind Fonn 2f4b05ddf5 Fix java layer after eclim package refactor 2016-08-30 16:03:19 +02:00
Eivind Fonn 886aac6386 Fix C-k not working in company-quickhelp-mode 2016-08-30 16:00:19 +02:00
Eivind Fonn 3357153e36 Fix company-quickhelp in daemon mode 2016-08-30 16:00:07 +02:00
Eivind Fonn 3ce6f41b1e Fix version-control layer in daemon mode 2016-08-30 16:00:05 +02:00
Eivind Fonn a5fa48f1db Additional ycmd fixes 2016-08-30 15:59:17 +02:00
deb0ch 88742b564f ycmd layer: a better global_conf.py 2016-08-30 15:59:15 +02:00
bmag 64a1b85523 NeoTree: clarify docs 2016-08-30 15:55:48 +02:00
bmag 1bca514d25 Fix neotree TS 2016-08-30 15:55:46 +02:00
Muneeb Shaikh a5579ffce7 neotree: add ts for easy discoverabilty of keys
Fix #6867
2016-08-30 15:55:45 +02:00
bmag 4b2f123a05 neotree window: assign 0 only when at top-left 2016-08-30 15:53:25 +02:00
YeJun Su 87bddc0dac Replace "ivy-recentf" with "counsel-recentf"
As the tip says: ‘ivy-recentf’ is an obsolete command (as of 0.8.0); use ‘counsel-recentf’ instead.
2016-08-30 15:04:47 +08:00
d12frosted 89137bb482
add notes about setting up osx dictionary
Also fill paragraphs in osx layer readme file.
2016-08-28 14:23:43 +03:00
d12frosted 78d76758e5
add missing headers to osx layer files 2016-08-28 14:23:34 +03:00
Muneeb Shaikh 8e1d449754 osx: add osx-dictionary and make it default for OS X 2016-08-27 21:26:43 +05:30
Sebastian Poeplau 781532d4d2
Improve README of the Clojure layer
Explicit configuration of leiningen or boot is not necessary anymore as
of CIDER 0.11.
2016-08-27 14:41:57 +03:00
zjyjer 895b19195b
fix chinese layer doc typo 2016-08-27 13:13:34 +03:00
d12frosted ca8d717f6d
fix typo in auto-completion layer readme 2016-08-27 13:08:32 +03:00
d12frosted 44a792f83c
rename glsl layer to shaders layer
Also removed redundant `mode` entries and instead added ones that are
missing in original package. Updated README to represent this change and
fixed typo in installation message about the layer name.
2016-08-27 12:29:23 +03:00
Alan Love e7f113fc49
Added glsl layer for OpenGL shader syntax highlighting 2016-08-27 11:52:57 +03:00
Eivind Fonn 185fb67d3d Fix gtags eldoc warning 2016-08-26 15:14:34 +02:00
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