Commit graph

3047 commits

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