Commit graph

3255 commits

Author SHA1 Message Date
Jon Hermansen
00aecd4a53 Prompt user to install react-mode if a .jsx file is opened 2017-10-15 11:18:31 -04:00
syl20bnr
d8bfde8d50 perl: simplify key binsinds config and sort package config sexps 2017-10-15 11:08:01 -04:00
CeleritasCelery
3f5f8b78c8 Add Perl5 Company backend and code formatter 2017-10-15 11:08:01 -04:00
CeleritasCelery
249efa31de remove org table lighter 2017-10-15 11:08:01 -04:00
ISELECT1\naylyn.gaffney
8c3cf7c3ae Remove ess-R-object-popup from ess layer.
As described in issue #9464, this package was removed from melpa for
not having a GPL compatible license and is causing an error every time
spacemacs starts.
2017-10-15 11:08:01 -04:00
Jake Zerrer
60ad7b1a9c Add org-agenda commands to un-schedule and un-deadline tasks 2017-10-15 11:08:01 -04:00
syl20bnr
b09fe8553d org: enable org-src-tab-acts-natively 2017-10-15 11:08:01 -04:00
syl20bnr
ddcb5dc117 cfengine: configure org-babel for cfengine source blocks
Apply idiomatic way of configuring org-babel for the cfengine engine.
Remove the documentation about how to configure it since Spacemacs does it
automatically.
2017-10-15 11:08:01 -04:00
Nick Anderson
ba78fc9367 Add ob-cfengine3 to cfengine layer
This change adds the ob-cfengine3 package to the cfengine layer enabling
execution of cfengine3 SRC blocks inside of org-mode.
2017-10-15 11:08:01 -04:00
Kaushal Modi
a38a6bd4d2 Add ox-hugo
Resolves https://github.com/syl20bnr/spacemacs/issues/9663

Tested to work on a created-from-scratch spacemacs-base config created with
Emacs-style, ivy preferences.

I just added below to dotspacemacs-configuration-layers

    (org :variables
         org-enable-hugo-support t)

After this PR, C-c C-e in an Org file shows the Hugo export options.
2017-10-15 11:08:01 -04:00
wizmer
2531012319 Make nose fail compilation when tests fail
Using nose.main instead of nose.run returns the result of the tests
so the status of the *compilation* buffer can be modified accordingly
2017-10-15 11:08:01 -04:00
Alexander Miller
d820a3ed29 treemacs: Take into account that python may not be installed. 2017-10-15 11:08:01 -04:00
Alexander Miller
559367b38f treemacs: Fix typo and keybinds table and improve description in README. 2017-10-15 11:08:01 -04:00
nickclasener
53044e8005 Remove zonokai-theme theme as it is unavailable 2017-10-15 11:08:01 -04:00
Winkey Wong
5b12f52a85 Correct undo-tree buffer name in layer spacemacs-visual
There is a space in the buffer name of undo-tree. The popwin did not display right and the function `undo-tree-visualizer-quit` also seems not work well until I correct the buffer name.
2017-10-15 11:08:01 -04:00
syl20bnr
e6ef759fb0 Move SPC h U to SPC f e U to upgrade packages
SPC f e stands for Files Emacs so it makes sense to have it under this prefix.
Also there is already the reloading of the dotfile under SPC f e.
2017-10-15 11:08:01 -04:00
Codruț Constantin Gușoi
d987ded361 Adds keybinding for updating packages 2017-10-15 11:08:01 -04:00
Leon Isenberg
617c44ecc6 Fix: company-dante -> dante-company 2017-10-15 11:08:01 -04:00
Aaron Jensen
35f4c0621b Fix name of window-purpose in readme 2017-10-15 11:08:01 -04:00
Jeremie Pelletier
ffc31f3936 Add leader key prefixes for sql-mode 2017-10-15 11:08:01 -04:00
syl20bnr
7540c07c9d github: replace evilified-state-evilify by evilified-state-evilify-map 2017-10-15 11:08:01 -04:00
Jean-Sebastien A. Beaudry
71e3f1504c Add g r evilified binding to gist-list-mode 2017-10-15 11:08:01 -04:00
Saulius Menkevičius
4803da9842 prodigy: bind 'q' to quit-window in view mode 2017-10-15 11:08:01 -04:00
David Millar-Durrant
c5bba38416 added prefixes to the fsharp layer 2017-10-15 11:08:01 -04:00
Bjarke Vad
fce6bed3c9 Enable purescript-decl-scan-mode when loading purescript-mode
This should fix `SPC j i` for PureScript
2017-10-15 11:08:01 -04:00
Alexander Miller
f71fb1b245 treemacs: add spacemacs-evil-cursors entry for treemacs. 2017-10-15 17:15:27 +03:00
bmag
450da6f204 spacemacs-evil-cursors: make them easy to configure
Motivation: so layers with their own evil states (e.g. treemacs) can also
contain their own cursor configuration

Example usage: `(spacemacs/add-evil-cursor "treemacs" "RoyalBlue1" '(hbar . 0))`
2017-10-15 17:15:23 +03:00
syl20bnr
d87caa1969 neotree: fix list of feature
Also respect 80 chars max per line in treemacs feature list.
2017-10-08 18:18:23 -04:00
syl20bnr
902ceae0d3 treemacs: update README.org to be more conventional
Layer READMEs don't list the configuration of the package so this commit removes
the mentions of treemacs package readme.

Reformat the documentation of layer variables

Reformat key bindings in table

Respect 80 chars max per line.
2017-10-08 12:20:03 -04:00
syl20bnr
cf79d2207b treemacs: respect 80 chars per line 2017-10-08 12:05:43 -04:00
syl20bnr
4e6574b7f2 treemacs: add treemacs--window-number-ten to autoloads
If treemacs is not used before opening an helm buffer, it breaks helm and
emacs.
2017-10-08 12:03:21 -04:00
syl20bnr
e3afa35fbf treemacs: move to +filetree category and add can-shadow relation
Add shadow relation between neotree and treemacs
sort packages in treemacs packages.el file
2017-10-08 12:01:48 -04:00
Alexander Miller
403b246212 Add treemacs layer. 2017-10-08 11:45:49 -04:00
syl20bnr
41e91a9dcf core: move all dotspacemacs-helm-* variables to layer variables
Add support for backward compatibility via a macro instrad of defvaralias as the
latter was not sufficient to support all the use-cases.
2017-10-08 10:29:34 -04:00
syl20bnr
6e4eab6b97 Add helm to spacemacs default distribution 2017-10-08 07:52:15 -04:00
syl20bnr
67aaf51631 Move neotree to its own layer in new +filtree folder
Add neotree layer to default spacemacs distribution.
2017-10-08 07:51:43 -04:00
Benjamin Reynolds
b6474ff590 Fix various documentation errors and inconsistencies
Fixes documentation errors from issue #9476 in the following layers...

* syntax-checking
* games
* xkcd
* keyboard-layout
* racket
* osx
2017-10-05 11:15:21 +03:00
smile13241324
97537e46a7 Fix documentation for parinfer, pdf-tools, yaml, csv and salt layer 2017-10-05 11:15:02 +03:00
smile13241324
0e06bbafc4 Fix documentation for elisp, colour, ibuffer and windows-scripts 2017-10-02 03:01:54 +03:00
Ruslan Kamashev
a7e30bfcb4 Fix typo (issue #9655) 2017-09-29 12:47:35 +03:00
syl20bnr
71a0d418c4 Fix purpose error when both helm and ivy layers are not used
Delayed window-purpose related configuration by using eval-after-load and
use-package hooks.
2017-09-26 00:40:51 -04:00
syl20bnr
3bce69aba1 Fix warnings about unrecognized keys without helm or ivy layers
In perspective transient state. b and l keys in the docstring have no
corresponding functions declared whenever both helm and ivy layers are not
used.

Add two private variables to fix the issue:
- spacemacs--persp-display-buffers-func
- spacemacs--persp-display-perspectives-func

These variables are set to the correct functions by the helm and ivy layers via
a use-package hook.

Default is `ignore` function so b and l does nothing if both helm and ivy layers
are not used, TODO: we should find a better default function.
2017-09-26 00:10:00 -04:00
syl20bnr
dc58801c7d core: refactor shadow mechanism
Shadowing is now control by layer property ':can-shadow' only.
can-shadow is a commutative relation, if layer1 can shadow layer2 then layer2
can shadow layer1.
the shadow operator is a binary operator accepting two layer names, it is not
commutative and the order of the operands is determined by the order of the
layers in the dotfile (like the ownership stealing mechanism).

If ':can-shadow' is set explicity to nil in the dotfile then the layer won't
shadow any layer.
For instance to install both ivy and helm layer:

   (setq dotspacemacs-configuration-layers
   '(
     ivy
     (helm :can-shadow nil)
     )

note that due to the commutative relation the above example can also be
written (in this case, ':can-shadow' should be read ':can-be-shawdowed'):

   (setq dotspacemacs-configuration-layers
   '(
     (ivy :can-shadow nil)
     helm
     )
2017-09-25 23:07:22 -04:00
JAremko
7ff7f51e50 (docker dist) fix pdf-tools installer 2017-09-23 22:12:58 +03:00
syl20bnr
95699ee61c core: add layer shadowing system
Layers can now declare in their layers.el file that they shadow one or more
layers using the following functions:

- configuration-layer/shadow-layers
- configuration-layer/shadow-layer

Those function are commutative so:
    (configuration-layer/shadow-layer 'layer1 'layer2)
is the same as
    (configuration-layer/shadow-layer 'layer2 'layer1)
and means that
layer1 shadows layer2
and
layer2 shadows layer1

The typical use-case is helm and ivy layers. Helm shadows the ivy layer and
Ivy shadows the helm layer.

Shadowing is sensitive to the order of declaration of layers in the dotfile,
for instance:

    (setq dotspacemacs-configuration-layers '(
      helm
      ivy
     ))

means that ivy shadows helm so helm layer is effectively ignored,
whereas

    (setq dotspacemacs-configuration-layers '(
      ivy
      helm
     ))

means that helm shadows ivy so ivy layer is effectively ignored.

This mechanism can be turned off using the :can-shadow keyword:

    (setq dotspacemacs-configuration-layers '(
      ivy
      (helm :can-shadow nil)
     ))

means that both ivy and helm layers will be installed (not recommended in this
case)

Note that the `:can-shadow` mechanism will be fully implemented in a next
commit.
2017-09-21 23:56:09 -04:00
bmag
ca28bde049 purpose: disable popwin-mode at startup 2017-09-16 22:07:10 +03:00
bmag
22deb279c3 Revert "Remove obsolete purpose-conf name argument"
This reverts commit 4db4424b90 and adds an
appropriate comment.
2017-09-16 18:06:38 +03:00
Benjamin Reynolds
9341e1d751 Fix documentation issues with ruby, rails, and swift layers
See #9476
2017-09-11 22:35:46 +03:00
smile13241324
0c5f64347c Add "features" block to doc of plantuml, shell and search-engine layer 2017-09-11 22:35:31 +03:00
bmag
84751cbc53 counsel: rename git dir variable
counsel--git-grep-dir was renamed upstream to counsel--git-dir.
2017-09-10 19:54:33 +03:00
bmag
f221d7ed73 helm-bookmarks: don't change keys to early
helm-bookmark-map might not be available yet when helm-mode is enabled, so don't
change bindings until it is available. (fixes a void-variable error)
2017-09-07 13:49:55 +03:00
syl20bnr
6d73df7036 Fix SPC w = (balance windows) 2017-09-05 11:01:39 -04:00
syl20bnr
79a5687d1b Fix evil-snipe
Must always enable explicitly evil-snipe-mode even when evil-snipe-override-mode
is enabled.
2017-09-05 11:01:39 -04:00
Benjamin Reynolds
6bc940fe7c Fix last remaining link that uses relative style 2017-08-31 00:25:24 +03:00
JAremko
8a95d3bb92
Fix nix-mode.el URL 2017-08-31 00:23:34 +03:00
CeleritasCelery
e32acfbf3b Fixed feature header 2017-08-29 20:00:44 +03:00
syl20bnr
a496401e1f Move groovy configuration to its own layer and improve it
Enable company, org babel and repl.
2017-08-28 13:49:09 -04:00
syl20bnr
211c3f5c1b Prefer to use pre-init instead of post-init whenever possible
This commit does it for org.
2017-08-28 13:34:15 -04:00
syl20bnr
cb5af86aaa Remove feed lines in auto-layer.el
Too many feed lines make emacs slow.
2017-08-28 12:05:48 -04:00
syl20bnr
82220fce3a Remove old wording "contribution layer" 2017-08-28 11:33:55 -04:00
syl20bnr
b2eaf9fd30 groovy: update indent-variable-alist to support new groovy-mode 2017-08-28 11:02:44 -04:00
syl20bnr
98ca4821a1 clojure: add missing file header to packages.el 2017-08-28 10:44:59 -04:00
syl20bnr
2e8412323c python: move functions to funcs.el 2017-08-28 10:44:58 -04:00
syl20bnr
e7205e0097 erc: update documentation for layer variables 2017-08-27 22:54:04 -04:00
syl20bnr
b804aef694 yasnippet: fix check for dotspacemacs-directory-snippets-dir
An error occurred when dotspacemacs-directory was nil.
2017-08-27 22:44:18 -04:00
bharat joshi
6c3ca50b3b add exotica theme to spacemacs theme megapack 2017-08-27 22:39:48 -04:00
duianto
4db4424b90 Remove obsolete purpose-conf name argument
This message is shown when Spacemacs starts:
../../Users/Username/AppData/Roaming/.emacs.d/layers/+spacemacs/spacemacs-purpose/local/spacemacs-purpose-popwin/spacemacs-purpose-popwin.el: Obsolete name arg "pupo" to constructor purpose-conf

The name argument, seems to only be needed for Emacs <= 24.3, according to this
line in the emacs-purpose package:
;; the name arg ("purpose-x-code1") is necessary for Emacs 24.3 and older

source:
00ddafcf48/window-purpose-x.el (L71)

The minimum version supported by Spacemacs is 24.4.
2017-08-27 22:27:52 -04:00
Wojciech Wojtyniak
24ed4bce59 Check if dotspacemacs-directory-snippets-dir exists before adding it
dotspacemacs-directory-snippets-dir contains a path to a directory with yas
snippets in ~/.spacemacs.d (or arbitrary picked dotspacemacs direcotry).
However, while it's not always present (user has to create it manually)
it is always checked while yas is loaded which generates errors.

This diffs forces checking whether the assumed path exists before adding
it to the yas-snippet-dirs.
2017-08-27 22:26:51 -04:00
Josh Santos
bfde1a44dc Convert remote file name to local name, stripping trampy stuff
Turn into conditional so local files still work
2017-08-27 22:21:31 -04:00
Josh Santos
7b24f838db Add org-mode support for shell-scripts layer 2017-08-27 22:20:32 -04:00
syl20bnr
7abda1c552 c-c++: minor updates to README.org 2017-08-27 22:18:53 -04:00
Alexander Dalshov
16c5ad8b96 c/c++ cmake-ide: add key bindings description and sample configuration. 2017-08-27 22:16:58 -04:00
Alexander Dalshov
690cf68315 Add cmake-ide to lang/c-c++ layer 2017-08-27 22:16:58 -04:00
duianto
622ae00aff Clear both / and C-s search highlights with SPC s c
When `evil-search-module` is set to:
evil-search:
Then `/` search highlights are cleared by pressing: `SPC s c`,
and `C-s` highlights are cleared with `:noh`.

isearch:
Then `/` highlights are cleared with `M-x evil-ex-nohighlight`,
and `C-s` highlights are cleared with both `SPC s c` and `:noh`.
2017-08-27 22:12:04 -04:00
Francesc Elies Henar
59633515cf Fix: kill buffer shall return to *docker-containers*
| ~SPC D c~          | open docker containers buffer  =*docker-containers*= |
| ~L~                | open log popup for a running container               |
| ~L~                | open the log                                         |
| ~SPC b d~          | kill the buffer                                      |
|--------------------+------------------------------------------------------|
| Observed behaviour | the =scratch= buffer is shown                        |
| Expected behaviour | return to =*docker-containers*= buffer               |
2017-08-27 22:09:43 -04:00
Aaron Jensen
04f7831b04 Fix org-projectile/goto-todos 2017-08-27 22:08:25 -04:00
Evan Klitzke
8491304371 Conditionally enable ERC notifications via erc-enable-notifications
Enable ERC notifications only when erc-enable-notifications is non-nil; the
default configuration for the variable is t.
2017-08-27 21:56:39 -04:00
Swaroop C H
0b01b5d2e2 org-verbatim, not org-verbose
I'm assuming this is a typo, because I see only in org verbatim in the orgmode
manual - http://orgmode.org/org.html#Emphasis-and-monospace
2017-08-27 21:55:37 -04:00
syl20bnr
c913ae784e org: add documentation for m T e and m T l key bindings 2017-08-27 21:53:44 -04:00
James Wang
f0faca4213 Org: add toggles for pretty entities and org links 2017-08-27 21:51:52 -04:00
syl20bnr
88a56c0f9c Move unicode-fonts layer to new categorie +fonts 2017-08-27 21:51:09 -04:00
Aaron Jensen
b42e083a0c Add unicode-fonts layer 2017-08-27 21:50:09 -04:00
syl20bnr
12301dfefa csharp: minor update of README.org 2017-08-27 21:44:46 -04:00
Saulius Menkevičius
a6d905820d csharp: update layer documentation to be more up to date with the roslyn version 2017-08-27 21:39:43 -04:00
Saulius Menkevičius
9488f444a0 csharp: disable functions not present in the latest omnisharp package 2017-08-27 21:39:43 -04:00
Saulius Menkevičius
95720b4bc1 csharp: no need to unset omnisharp-auto-complete-want-documentation anymore
the latest omnisharp package uses roslyn server now
2017-08-27 21:39:43 -04:00
Henrique Jung
8e3bac32a0 [themes-megapack] Remove themes that were deleted from Melpa
This makes Spacemacs stop checking their existence every time it starts,
which performs a refresh of every package archive and makes startup
slower.

firebelly, niflheim, tronesque and pastels-on-dark were all removed from MELPA
because they either don't have licenses or have licenses that are incompatible
with GPL3.

The relevant commits on MELPA are

melpa/melpa@cf92ce1a2b
melpa/melpa@c3366117f3
melpa/melpa@75539c0af4
2017-08-27 21:35:36 -04:00
syl20bnr
655eec4ca4 Disable magithub temporarily
Magithub is a project under developement which took another direction, let's
wait for it to mature before adding it again to the GitHub layer.

To use it before it has been re-activated, add it to your dotfile in
dotspacemacs-additional-packages.
2017-08-27 11:51:02 -04:00
JAremko
626f5cdea0 add TypeScript deps installer & up JSes one 2017-08-27 18:29:45 +03:00
JAremko
afe221f222
up go installer to 1.9 2017-08-26 14:38:23 +03:00
J. Patrick Lanigan
df7af0ad20 Fix features format in misc README.org's
See #9346
2017-08-22 21:27:13 +03:00
Kechao CAI
32e75c5654 bm layer: fix readme.org
bm layer: fix readme.org
2017-08-20 15:53:23 +03:00
JAremko
a1101eb38f fix links 2017-08-18 22:12:17 +03:00
JAremko
06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
bmag
433ae7c30b git-gutter: remove redundant arg for timer 2017-08-11 23:56:24 +03:00
Aaron Jensen
d47066611b Defer git-gutter loading
As it was, git-gutter and git-gutter+ get started as soon as emacs starts if
they're enabled. This added about 500ms to startup time on my machine, so this
will instead defer it until emacs has been idle for 5 seconds.
2017-08-11 23:56:24 +03:00
Benjamin Reynolds
849d8b9f60 require company in eshell-switch-company-frontend 2017-08-11 23:47:58 +03:00
Francesc Elies Henar
a53cd6062e adds global evil-leader mappings aokr for org-resolve-clocks 2017-08-11 10:06:21 +02:00
smile13241324
c6afc2a0fc
Add insert commands from sh-script package to major mode menu 2017-08-09 12:38:25 +03:00
Hinckley, Troy J
06260eec11
added helm transient state swoop edit 2017-08-09 12:35:07 +03:00
Codruț Constantin Gușoi
7d4946901b
Improves the linum text scaling advice
The first improvement consists of running the scale fix only for
graphical emacs. The scale fix is not needed in the terminal. Also some
poeple still have problems with it in the terminal even though they run
latest emacs master and spacemacs develop.

The second improvement is related to the way the margins are scaled. It
was incorrect to calculate the scale factor and apply it to the current
window margin width, it needed to be applied to the initial margin
width.
2017-08-09 12:26:16 +03:00
d12frosted
184c7920fe
format latex readme file 2017-08-09 12:25:35 +03:00
Aaron Jensen
459268f526
Load org-projectile lazily, after org-capture
Fixes #9367 and prevents org from loading on startup
2017-08-08 19:28:41 +03:00
d12frosted
8ee1b1baf7
adapt to org-brain 0.4
Fixes #9329
2017-08-08 19:12:47 +03:00
d12frosted
fc978543ca
[ror] add key binding to find serializer
Fixes #9239
2017-08-08 19:11:41 +03:00
J. Patrick Lanigan
0a873b9731 Fix link and features in spacemacs-docker/README
See #9346
2017-08-06 04:50:30 +03:00
Benjamin Reynolds
a0cdccace9 Fix documentation issues with slack and emoji layers
See #9346
2017-08-04 21:37:59 +03:00
Ivan Malison
85c023a5c5
Remove nils from call to org-projectile-project-todo-entry 2017-08-03 16:14:04 +03:00
JAremko
2ef230369a Convert new exporter into standalone tool 2017-08-02 09:16:23 +03:00
d12frosted
c35b5b3dc3
set ivy-use-selectable-prompt to t
Following #8571.
2017-08-01 16:51:19 +03:00
Dela Anthonio
d874f21a48
spacemacs-base: Add key bindings for projectile-edit-dir-locals 2017-08-01 16:49:41 +03:00
Dela Anthonio
cdb8672f04
php: Fix php-company autocompletion
Solve #9115.

The company-minimum-prefix-length variable shouldn't be set to 1000. Doing so
prevents the company completion popup from showing. Instead, let the
company-minimum-prefix-length stay at its default value.
2017-08-01 16:49:13 +03:00
Dela Anthonio
8e3a59dbfd
c-c++: Refactor to reduce duplication
Instead of repeating actions for c-mode and c++-mode and their respective hooks,
let loop through each mode or hook to reduce duplication.
2017-08-01 16:45:12 +03:00
James Wang
74b8a3460d
Chinese layer: update package name due to upstream renaming 2017-08-01 16:44:33 +03:00
d12frosted
8212b29ce9
[show user error when location is not set in theme changer 2017-07-31 14:57:02 +03:00
d12frosted
86f8cdff4d
update geolocation readme
- reorganise 'location' instructions
- add a note that location must be set for 'theme-changer'
2017-07-31 14:57:00 +03:00
d12frosted
532c11a0cc
fix geolocation layer on non-macos systems
Fixes #9221
2017-07-31 14:56:57 +03:00
Ivan Malison
6063466231
Make org-projectile integration compatible with its new version 2017-07-30 16:10:15 +03:00
d12frosted
6f5c50127f
remove duplication of key bindings in ivy readme 2017-07-30 14:52:55 +03:00
Andy Lindeman
11180699e6
Adds GOROOT to list of variables copied from shell environment
From <https://golang.org/doc/install> "Installing to a custom location"

> The Go binary distributions assume they will be installed in /usr/local/go
> (or c:\Go under Windows), but it is possible to install the Go tools to a
> different location. In this case you must set the GOROOT environment variable
> to point to the directory in which it was installed.
2017-07-29 22:30:10 +03:00
duianto
1ecec7e538
Add missing which-key prefix names
Unnamed Which-key prefixes:
`SPC b`, `N -> +prefix`
`SPC x`, `j -> +prefix`
have to be opened to see what kind of commands they contain.
2017-07-29 22:13:25 +03:00
Dela Anthonio
3c8c28c4eb
c-c++: Declare "mg" prefix as "goto"
By convention, the "mg" prefix for all layers is "goto".
2017-07-29 22:00:19 +03:00
d12frosted
8304c030cd
improve geolocation readme formatting 2017-07-29 21:41:15 +03:00
d12frosted
139001e877
mention dependent layers in cscope layer readme
Fixes #9294
2017-07-29 21:35:37 +03:00
Francesc Elies Henar
5be6edf0b7
binds org-resolve-clocks to ~, C r~ 2017-07-29 21:24:52 +03:00
d12frosted
3c408b45a4
mention C-M-j key binding for using current input in ivy mini buffer
Fixes #8571
2017-07-29 20:33:41 +03:00
Michael Kohl
9a9d9a0feb
Add shortcut for cargo clippy 2017-07-27 22:35:33 +03:00
Tetsuro Takemoto
9ce0310678
Remove duplicated code 2017-07-26 19:48:42 +03:00
d12frosted
c77d826079
sort transpose functions and update documentation 2017-07-26 13:36:02 +03:00
Daniel Gomez
e2105b3f33
Add transpose senteces and transpose paragraphs keybindings. 2017-07-26 13:31:30 +03:00
JAremko
547458ae23 rearrange functions in space-doc and centered-buffer modes 2017-07-25 01:56:44 +03:00
tinysong
c16c360cec
@Fix issue: SPC m : current major mode commands 2017-07-24 14:17:55 +03:00
jimyl
c8740530bf fix misused function, `merlin' is a package not a layer 2017-07-24 00:29:18 +08:00
tinysong
a7d9f72461 New Feature: add shortcut "q" for deft-mode to quit window 2017-07-23 15:24:35 +03:00
JAremko
ac02216964 Fix html layer installer of spacemacs-docker 2017-07-23 01:22:33 +03:00
JAremko
106f98497e Update README.org template
Replace some local Org links with GitHub ones
2017-07-23 01:22:20 +03:00
John Stevenson
2ecfbef20a Add keybinding to toggle between a keyword & a string
The function `clojure-toggle-keyword-string` will convert a string to a keyword,
or keyword to a string.

The keybinding is added under the Clojure refactor menu, in the
"cycle/clean/convert" section.

`SPC m r c :`

As this is a `clojure-mode` function, it is defined in the clojure-mode
refactoring keybinding section of packages.el.
2017-07-21 14:46:12 +03:00
syl20bnr
e09385d29e typescript: mention tide-tsserver-executable variable in doc 2017-07-14 16:58:30 -04:00
syl20bnr
27a3684e3b typescript: rename functions with spacemacs prefix 2017-07-14 16:50:34 -04:00
syl20bnr
20bafdbb92 typescript: rewrite hooks for web-mode 2017-07-14 16:47:15 -04:00
George Miller
74ca54ad40 Adds tide keybindings to tsx web mode
Currently, when a tsx file is edited, the typescript layer puts it into web
mode so we can properly edit/format the html that's inside. However, with this
you lose the awesome ", g g" keybinding which takes you to a definition of
the current function/variable. You also lose the ", g u" keybinding which
gives you all references of current function/variable. This PR adds
all the tide bindings that are in typescript mode into web mode while using the typescript layer.

NOTE:
I must add ("gg" tide-jump-to-definition) to the webList because spacemacs-jump-handlers-web-mode does not exist.
2017-07-14 14:14:15 -04:00
syl20bnr
70e5a10537 typescript: declare tide-jump-to-definition as async.
Fixes #8963
2017-07-14 14:08:37 -04:00
JAremko
24c9843041 Add customization for hiding original buffer
Set buffer-file, update docstrings...
2017-07-13 12:05:09 +03:00
Dela Anthonio
7e57b1f341 java: Add missing key bindings to README 2017-07-10 09:38:44 +02:00
bmag
9e2da0037c Ivy: add counsel-mark-ring 2017-07-09 18:19:38 +03:00
Dominik Schrempf
3c8548d719 Fix Org MIME keybindings in gnus layer help. 2017-07-07 12:50:57 +02:00
James Wang
804bdb817b counsel-find-file: Bind `find-file-other-window' to "j"
By default, "M-o w" binding has already been used by ivy package. So we bind
`find-file-other-window' to "M-o j" here.
2017-07-07 12:32:21 +02:00
Timothy Jones
bba8adbdc1 Update author email for Idris layer 2017-07-07 11:40:54 +02:00
CeleritasCelery
c4be9e9504 added cperl keybindings
added keybindings for cperl POD and HERE functions, added dump jump support, and fixed tab command
2017-07-07 11:39:46 +02:00
Eivind Fonn
7ba2b3ed06 markdown: move function to funcs.el 2017-07-07 11:36:22 +02:00
Eivind Fonn
01d8ce76a1 markdown: make sure to evaluate the ‘mode’ binding 2017-07-07 11:36:03 +02:00
Codruț Constantin Gușoi
edd14b50af Makes all keybindings available in gfm-mode 2017-07-07 11:35:01 +02:00
Abdo Roig-Maranges
67cdbcc552 ycmd: python3 compatibility fix for global_conf.py 2017-07-06 15:44:03 +02:00
ZarsBranchkin
efef39050b Prompt to save modified, user created buffers on quit 2017-07-06 14:39:26 +02:00
Jam Risser
bff4cf5857 Use JSX header without breaking React
Using the header below is now deprecated in React.
```js
/** @jsx React.DOM */
```

However, there are situations where I have to use the *.js extension, and need to tell my text editor that the file has JSX.

I suggest switching to JSX mode if it detects a header starting with `@jsx`. Then I'll be able to do the following without breaking react.

```js
/** @jsx */
2017-07-06 14:36:15 +02:00
Alex Palaistras
4c57939fb3 Add SPC b u keybinding for reopening killed buffers
This is similar to the `Ctrl+Shift+T` keybinding found in major browsers, and
helps when accidentally killing a buffer (i.e. fat-fingering `SPC b d` when
meaning to press `SPC b s`).

Only buffers that resolve to existing files will be considered, and stored in a
stack which is pushed to and popped from on buffer kill.
2017-07-06 14:34:46 +02:00
Benjamin Reynolds
4c3f2e4291 Fix documentation for installing pass layer 2017-07-06 13:18:19 +02:00
Paul
4b347759b9 ruby: change documentation lookup key binding
`SPC m h h` is conventional key binding to show documentation for thing under
point. It is called by `spacemacs/evil-smart-doc-lookup`, so this change makes
`K` in normal state work as expected.
2017-07-06 12:30:11 +02:00
Paul
d3cef31ed6 Fix docstring for spacemacs/evil-smart-doc-lookup 2017-07-06 12:29:22 +02:00
JAremko
88eaed2733
Fix link 2017-07-04 13:09:53 +03:00
JAremko
44423c18d0 Implement and bind "distraction free mode" to SPC w C 2017-07-04 11:54:24 +03:00
JAremko
442b90e9e9 Rework centered-bufffer-mode 2017-07-04 11:54:09 +03:00
Eivind Fonn
f4b53d2a4f Rename :depends to :requires 2017-07-03 09:54:53 +02:00
syl20bnr
e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Eivind Fonn
cb17b2773b Add some more :depends keywords 2017-07-02 09:41:38 -04:00
Allen Li
27e4c43c67 Replace mu4e multiple accounts with contexts
mu4e 0.9.16 now comes with a native contexts feature that completely
replaces the old hack for multiple accounts.
2017-07-01 11:05:37 -04:00
Eivind Fonn
ebc6ba015e Implement directory search for ivy as well 2017-07-01 12:41:26 +02:00
Tim Jäger
0b2dfd0297 Implement helm-dir-search
This is equivalent to helm-file-search with the current directory as the scope
2017-07-01 12:41:03 +02:00
Evan Klitzke
ba17dd9158 Actually configure SPC m b to switch between ERC buffers. 2017-07-01 10:43:41 +02:00
JAremko
907306a117 optimize space-doc-mode 2017-06-25 00:14:29 +03:00
JAremko
ff333c3c3e Add pretty docs option to .spacemacs 2017-06-23 22:29:31 +03:00
JAremko
d2b3498003 space-doc-mode improvements 2017-06-23 22:29:15 +03:00
Eivind Fonn
08561d8631 core: implement :depends for package declarations
This replaces the older pattern
:toggle (configuration-layer/package-usedp ..)

This implementation ensures that :disabled-for honors dependent packages, i.e.
if package a depends on package b, which is owned by layer c, and layer c is
disabled for layer d, then neither package a nor b will be configured for layer
d. Previously, this was only true for package a, but not b.

This commit also fixes:

- configuration-layer/describe-package now shows which post-init and pre-init
  functions are disabled, if any
- Does not recreate all layer objects unconditionally when calling
  configuration-layer/discover-layers. Previously, this led to all layers being
  recreated after e.g. `SPC h SPC`, without any of the dotfile information.
  Since this information is now necessary for
  configuration-layer/describe-package, it’s important that we don’t clear the
  indexed layers when invoking this function.
2017-06-22 11:53:05 +02:00
Eivind Fonn
a38d71782c org: document new layer variable 2017-06-21 12:58:40 +02:00
Eivind Fonn
010164ce77 org: add layer variable for todo bindings 2017-06-21 12:56:44 +02:00
Eivind Fonn
4178a3de6e Add defalias for ensime-type-at-point 2017-06-21 10:07:55 +02:00
Joao Azevedo
61737e6d79 Replace usage of ensime-print-type-at-point by ensime-type-at-point
The `ensime-print-type-at-point` method was recently renamed to
`ensime-type-at-point`. This fixes the method call.
2017-06-21 10:03:00 +02:00
tddsg
e2b49da274 pupo: option to split the active window or the entire frame 2017-06-21 09:38:50 +02:00
Tim Jäger
2985a26901 Add keybinding for cider-pprint-eval-last-sexp 2017-06-21 09:34:37 +02:00
Doug Beardsley
07eb1050be Mention dante in a few places where it was missing 2017-06-20 19:07:41 +02:00
Swaroop
f20bdfd90f [markdown] add key to toggle checkbox 2017-06-19 13:31:07 -07:00
d12frosted
d8c00ffd34 install orgit only when org package is used
Fixes #8890
2017-06-19 11:17:10 +02:00
nashamri
3ae35596cc major-modes: add kivy 2017-06-19 11:13:26 +02:00
Hunter Haugen
83c90349cd major-modes: add hoon 2017-06-19 11:09:29 +02:00
Steven Allen
f8bbc5f225 major-modes: add the vala programming language
Includes:

* Syntax highlighting
* Snippets (yasnippet)
2017-06-19 11:09:23 +02:00
Kai Wohlfahrt
a4aab1ee31 major-modes: add ebuild-mode
Adds ebuild-mode layer for development of Gentoo ebuilds, as requested
in Github bug #6606
2017-06-19 11:09:19 +02:00
Sven Fischer
25366dfe36 major-modes: add pkgbuild 2017-06-19 10:53:02 +02:00
jiejingzhang
3254849eb1 major-modes: add android logcat 2017-06-19 10:49:26 +02:00
Eivind Fonn
2882317709 Move extra-langs to major-modes 2017-06-19 10:48:50 +02:00
duianto
e7f6475658 Workspaces transient state: create workspace keys
Problem:
Creating a new workspace from the workspaces transient state, requires that one
first looks for the next available workspace number, and then presses that
number key.

Solution:
Add the keys: `c` and `C` to create a new workspace. Lowercase exits the state
and uppercase keeps it open.

Notes:
This matches the behaviour of 0..9, which exits the state, and C-0..C-9, which
keeps it open.

This is the last key/command, from the C-c C-w eyebrowse key bindings, that was
missing from the workspaces transient state.
2017-06-18 19:12:49 +02:00
Eivind Fonn
654ebe5b83 html: fix spacefmt test 2017-06-18 14:47:05 +02:00
baxx
df896e4ee5 Added impatient-mode and updated HTML readme
impatient-mode enables one to view HTML document changes live
via a local server, link to package here:

https://github.com/skeeto/impatient-mode/blob/master/README.md

Seemed as though HTML layer was an appropriate place for this.
2017-06-18 14:33:15 +02:00
Ben Lloyd
51bcba8964 Added frame manipulation commands 2017-06-18 14:10:42 +02:00
Eivind Fonn
df3ca63247 Rename ido ms -> ts 2017-06-18 12:54:47 +02:00
Eivind Fonn
37cdf07e91 rcirc: move defuns to funcs.el 2017-06-18 12:47:11 +02:00
Abdo Roig-Maranges
ec2184403b Fix rcirc logging where the channel name has '/' in it
This happens when connecting to gitter via irc.gitter.im, for instance.
It turns out that channels are named like #syl20bnr/spacemacs. For the
logging to work, we need to create the directory #syl20bnr first.
2017-06-18 12:40:10 +02:00
Boris Wong
e07f805606 Ranger Layer: Docs: Updated key bindings 2017-06-18 12:37:19 +02:00
Eivind Fonn
9424430267 ess: minor changes
- if -> when
- make ess-enable-smart-equals a toggle
- fill paragraphs in readme
2017-06-16 09:51:24 +02:00
Jack Kamm
32103b2ddc added ess layer variable ess-disable-underscore-assign 2017-06-16 09:48:56 +02:00
Diego Berrocal
37eed0af8f Add C-S-(J|K) to helm-follow-action
I noticed that one can go down and up with `C-j` and `C-k` but
helm-follow-action bindings are M-down or M-up, which is not EVIL at all
2017-06-15 13:35:39 +02:00
duianto
6a84fb3c0e Replace obsolete which-key functions
Problem:
Two which-key functions doc-strings, state that they are obsolete:

(which-key-declare-prefixes KEY-SEQUENCE REPLACEMENT &rest MORE)
This function is obsolete since 2016-10-05;
use ‘which-key-add-key-based-replacements’ instead.

(which-key-declare-prefixes-for-mode MODE KEY-SEQUENCE REPLACEMENT &rest MORE)
This function is obsolete since 2016-10-05;
use ‘which-key-add-major-mode-key-based-replacements’ instead.

Solution:
Replace the obsolete functions.

Searching with `SPC /` through the .emacs.d folder, didn't find any other
occurrences of these functions.
2017-06-15 13:22:13 +02:00
Eivind Fonn
4f13269642 undo-tree: fix left/right bindings 2017-06-15 10:23:09 +02:00
duianto
0f85e60c29 Update markdown insert link, function renamed
Problem:
The insert link key binding `, i l` shows:
Wrong type argument: commandp, markdown-insert-link

Cause:
The markdown-mode package has renamed the `markdown-insert-link` function to:
`markdown-insert-inline-link-dwim`.

Solution:
Rename the key bindings function name.
Rename documentation to match the function name.
2017-06-14 10:52:08 +02:00
Codruț Constantin Gușoi
9efe92e70d Fixes ansible-doc-mode error on SPC h d k 2017-06-14 10:49:06 +02:00
Eivind Fonn
17124e2b8f Move org-brain to org layer
Add condition on Emacs 25
2017-06-13 12:53:43 +02:00
Matthías Páll Gissurarson
940a72481a Add the org-brain layer 2017-06-13 12:39:03 +02:00
Eivind Fonn
1653368f56 undo-tree: evilify 2017-06-13 12:31:56 +02:00
ralesi
7355da1d79 undo-tree: evil bindings for visualizer and window improvements 2017-06-13 12:01:28 +02:00
Eivind Fonn
3d69e4a13c geolocation: cleanup 2017-06-13 10:45:05 +02:00
Thadeus Fleming
d0c1a7e391 Add deferred theme changer activation function.
Fixes #7563. Replaces proposed workaround in #8212.
2017-06-13 10:39:18 +02:00
JAremko
11356be1e7 Add transmission layer.
Defer transmission package.

Add transmission-auto-refresh-all var

format Docs
2017-06-12 17:40:59 +03:00
Eivind Fonn
0d352decc9 ibuffer doc: update keybinding 2017-06-12 12:48:00 +02:00
deb0ch
0dbfbd40ed bindings: improve buffers listing bindings
- bind spacemacs-layouts/non-restricted-buffer-list to SPC b B instead
of SPC B b
- rename buffer listing functions in which-key to be more explicit

PR title:

bindings: non-restricted-buffer-list-* to SPC B b instead of SPC B b

PR message:

I don't know what was the thought behind this, but `spacemacs-layouts/non-restricted-buffers-list-*` was alone in its `SPC B` prefix and `SPC b B` was almost free, only used in one layer that I would be surprised if it was widely used (`ibuffer`).

I also renamed buffers listing functions in `which-key` to be clearer for the user. Indeed, I find that names like `helm-mini` are pretty obscure and kind of defeat the purpose of `which-key` and `spacemacs-layouts-non-restricted-buffer-list-blah` was so long that it couldn't even be displayed.

Now the user can choose between `list-buffers` or `global-list-buffers` for listing buffers.
2017-06-12 12:46:35 +02:00
Eivind Fonn
bcb597a329 python doc: Reformulate jedi warning 2017-06-12 12:38:27 +02:00
davidpham87
f6b2c90260 Autocompletion debug
Autcompletion does not handle request properly with jedi 1.0. Until the bug is corrected, one should keep the 0.9 version.
2017-06-12 12:37:04 +02:00
Swaroop C H
1f8ad0fb09 [ipython-notebook] Change prefix from "ai" to "ay"
Because "ay" is already being used for IRC (ERC)!

It's weird to say ipython-notebook stuff under "IRC"
2017-06-12 12:35:27 +02:00
Swaroop
e1ed293987 [markdown] Add key bindings to toggle features, esp. hidden urls 2017-06-12 12:34:19 +02:00
duianto
c6fda1a1d4 string-inflection: group which-keys, sort code/doc
Group together the which-key entries that call the same command:
k and - becomes k,-
u and _ becomes u,_

Declare a prefix name for SPC x i, this changes the SPC x entry:
from: "i -> +prefix"
to: "i -> +inflection".

Capitalize the transient state title, so that it matches the other TS titles.

Sort the code and documentation key bindings alphabetically.
2017-06-12 12:32:46 +02:00
nashamri
1f234936c3 Fix a missing package name in mu4e documentation 2017-06-12 12:30:41 +02:00
Nicholas Ochiel
eb5e6ed920 Fix issue #8823: evil-paste-pop doesn't work
previous command was not an evil-paste.
2017-06-12 12:29:39 +02:00
Evan Klitzke
ee7bcc61ce fix a typo 2017-06-12 12:25:39 +02:00
Paulo Schneider
92b0f47c20 Fix docstring for searching in files with Helm
Although the functions search in files, the description references opened
buffers.

Addresses issue #9025.
2017-06-12 12:22:56 +02:00
Dela Anthonio
2c2d7fe038 java: Add eclim-java-new keybinding
This commit addresses #8987.
2017-06-12 12:21:05 +02:00
Eivind Fonn
29d4fa5374 Remap org-attach to ,A
It was mapped to ,ia but it's used for more than inserting attachments.

Fixes #9050
2017-06-12 12:18:43 +02:00
Swaroop C H
0d0f19356f [slack] Add key binding to open message thread 2017-06-10 16:34:00 +02:00
Eivind Fonn
2db9958894 string-inflection: transient state for cycling 2017-06-10 16:31:05 +02:00
Keith Wygant
8a2c22a0c9 Add 'xi_' and 'xi-' to `string-inflection' bindings
'xi_' for underscore
'xi-' for kebab
2017-06-10 16:25:49 +02:00
Jonas Strømsodd
ec5b8adda8 Add require of avy in spacemacs/ace-buffer-links
To mitigate void definition error
2017-06-10 16:12:34 +02:00
Eivind Fonn
d9f3f864f8 org: update tree keybindings 2017-06-10 16:08:08 +02:00
JAremko
8b25642cd3 format Docs 2017-06-10 13:14:13 +03:00
JAremko
4e2b03def8 add bm layer
eagerly restore bookmarks

get spacemacs cache dir from var

reformat hydra thingy

Use @duianto 's formatting for hydra

format TOC
2017-06-10 12:54:58 +03:00
Eivind Fonn
c2a20210e6 keyboard-layout: uniform indentation 2017-06-08 09:52:27 +02:00
fmdkdd
6255081645 Disambiguate the colemak-hnei and colemak-neio layouts 2017-06-08 09:51:36 +02:00
fmdkdd
a8c813a815 Add colemak-jkhl layout to keyboard-layout
This commit remaps the HJKL movement keys to JKHL.

See https://colemak.com/ for a description of the colemak layout.
2017-06-08 09:47:14 +02:00
Loris Lucido
196aeea00c Use a more consistent keybinding for flycheck-buffer 2017-06-08 09:23:23 +02:00
Eivind Fonn
c533605df0 Use evil-org from MELPA 2017-06-08 09:17:04 +02:00
Danny Freeman
6bf310f572 Updated hy-mode lisp eval keys to match spacemacs conventions
Updated to match the conventions listed here:
https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#evaluation

Now functions related to lisp evaluation start with 'SPC m e' and functions
related to the hy repl start with 'SPC m e'.
2017-06-08 09:14:02 +02:00
Eivind Fonn
14a8179b22 perl5: minor changes 2017-06-08 09:12:35 +02:00
CeleritasCelery
af21bf2494 added perl5 layer 2017-06-08 09:02:18 +02:00
Eivind Fonn
65f639d8c4 Disable add-node-modules-path by default 2017-06-08 08:59:06 +02:00
Codruț Constantin Gușoi
3624caf98f Adds dumb autocomplete for sql 2017-06-07 18:22:15 +02:00
Eivind Fonn
77427f2ac3 fix tests: node readme 2017-06-07 18:21:02 +02:00
Eivind Fonn
67cbfbdb62 spacemacs-navigation: move defuns to funcs.el 2017-06-07 17:16:29 +02:00
jupl
09ce56df3d Use add-node-modules-path to automatically find local executables 2017-06-07 16:49:11 +02:00
Eivind Fonn
55ceef53a5 bugfix: arguments to python-setup-hy 2017-06-07 16:28:03 +02:00
Eivind Fonn
e6a0ed0204 ein: remove spurious spaces 2017-06-07 13:44:43 +02:00
Jaakko Luttinen
37c83c7951 Add split cell key binding to ipython-notebook 2017-06-07 13:44:43 +02:00
Eivind Fonn
cbc4717011 Fix keyboard-layout readme
Layout names are not code
2017-06-07 12:50:09 +02:00
benozol
63ba00492c Add neo keyboard layout option to keyboard-layout 2017-06-07 12:46:41 +02:00
Eivind Fonn
ed90f2b4ff Bugfixes
- Set hy-mode-inferior-lisp-command globally
- Function names
2017-06-07 12:43:58 +02:00