Commit graph

7104 commits

Author SHA1 Message Date
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
Eivind Fonn
0b92e47189 Add note about ivy/helm choice 2016-08-30 15:51:26 +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
syl20bnr
64a0cc265d Update change log for next version 2016-08-28 23:15:38 -04: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
Allen Li
5877d2fd54
Fix references to declare-used-layer(s) in docs 2016-08-25 21:01:31 -07:00
syl20bnr
41f70e979c Add todo to remove delayed layer hack in future version 2016-08-25 22:51:32 -04: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
Kaleb Elwert
131e0faef9 Update base16 themes to match new list 2016-08-24 11:34:30 +02:00
Eivind Fonn
c1a8427488 Allow align-repeat to work with empty regexps 2016-08-24 11:13:06 +02:00
Eivind Fonn
b47d0661c2 Update base16-tomorrow-dark name (fix #6903) 2016-08-24 09:59:22 +02:00
Eivind Fonn
b8ca74e4b3 scala: fix sbt-hydra config and move to “bh” 2016-08-22 21:32:38 +02:00
Danny Navarro
3263860669 scala: add SPC m x for sbt-hydra
sbt-hydra:hydra renamed to sbt-hydra in key binding.
2016-08-22 21:22:31 +02:00
Muneeb Shaikh
6b3f4f0f54 spacemacs-base: evilify occur mode 2016-08-22 21:13:10 +02:00
km
e39df3d17f Add binding for merlin-occurrences
Also fix typo for binding prefix
2016-08-22 21:03:53 +02:00
zilongshanren
7a05260136 fix gtags enhancement 2016-08-23 00:08:25 +08:00
Eivind Fonn
5a869764dd Further improve gtags layer
- Add option to disable by default
- Use local-vars hook to allow per-project enable/disable
- Don’t enable helm-gtags-mode (no need)
- Move emacs bindings from helm-gtags-mode-map to ggtags-mode-map
2016-08-22 15:11:25 +02:00
Eivind Fonn
928983da47 Refactor jump to definition
This commit defines:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

rearrange defcustom groups

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

fix stuff

make sure that user wants overlays
2016-08-21 17:29:08 +02:00
Eivind Fonn
e94ab321cd faq: add exec-path-from-shell entry 2016-08-21 17:25:36 +02:00
Eivind Fonn
5758a19dea gtags: fix ToC format 2016-08-21 17:15:26 +02:00
Eivind Fonn
8f94a32578 Add rotate-backward to window TS 2016-08-21 17:11:36 +02:00