Commit graph

2030 commits

Author SHA1 Message Date
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
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