Commit graph

2977 commits

Author SHA1 Message Date
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
Eivind Fonn
16f25488a9 Clean up python/hy pyenv/pyvenv integration
- Move find-hy-executable to funcs.el and rename
- Don’t set hy-executable (not needed by anything)
- Setup hy only once at startup (allow user to override settings, see #5988)
- Use setup-hy in advice instead of post-activate-hook (works with many more
  commands)
- Setup checkers pyenv change, too
- Guard checker setup function for possibly missing flycheck
- Combine all setup functions into one
2017-06-07 12:40:30 +02:00
Danny Freeman
5a7019427e Fixed bug so hy command work when hy is installed on a virtualenv
Hy is typically installed on a python virtual environment, not globally. When
that is the case, init-hy-mode doesn't set any leader keys for hy since it
can't find the hy executable on the path. When a virtual environment is
activated, init-hy-mode is run again to see if it can find a hy executable
and setup the leader keys for hy.
2017-06-07 12:28:48 +02:00
Swaroop C H
01de4d8b0e Mention key bindings in README 2017-06-06 12:27:45 +02:00
Swaroop C H
503fdfac62 [slack] Add key binding for slack-message-remove-reaction 2017-06-06 12:27:43 +02:00
Elliot Bulmer
887ffe8590 Fix Swift REPL leader key bindings
The `swift-mode` REPL bindings have been updated to use a different
naming convention (e.g. a prefix of `swift-mode:` in the CL style).
Typing `, s s` would trigger this error:

```
command-execute: Wrong type argument: commandp, swift-mode-run-repl
```

This change fixes up the command names so that they are usable again
from the leader key.
2017-06-06 12:26:48 +02:00
Eivind Fonn
383fbe7532 Update keyboard layout layer readme: text/images
Text:
- Rewrite, add missing words, etc.
- Remove the begin and end verse block lines, but kept the verse block text,
  because Github doesn's show text in .org verse blocks.
- Change _after_ to *after*, because Github doesn't show underscores in .org
  files.
- Add the Colemak, Dvorak and Workman layouts vim movement key bindings, and the
  key bindings for the lost (overwritten) keys.
- Fix the image link to the workman layout image, it was missing the square
  brackets.
- Link replaced: The workmanlayout.com domain name seems to have been lost.
  Google Chrome warns "Your connection is not private", and the advanced
  information states that the security certificate is from a "just host" domain.
  The most stable replacement link seems to be the workman section on the
  keyboard layout wikipedia page.
- Indicate the images that have been modified, as suggested by the CC BY-SA
  Attribution section.

Images:
- Add the dvorak simplified layout.
- Fix the programmer dvorak layout, the transparent key faces made it almost
  invisible when viewed in Spacemacs with a dark background.
- Rename images for type, consistency, and most common usage:
  use logo instead of layout for logo names, and use layout for all layout
  images, instead of keymap for some and layout for others. Layout is the most
  common name, wikipedia even redirects keymap to the keyboard layout page.
- Reduce their width to 640px, so that they fit within column 80.
2017-06-06 12:24:30 +02:00
Eivind Fonn
9baa32e3c2 keyboard-layout: remove spurious colemak 2017-06-06 12:22:22 +02:00
braham
1dd0942745 spacemacs/evil-mc-paste-{before,after}: fix multiple cursor paste
* restore these functions' signatures to those of their stock evil
  counterparts (evil-paste-{before,after}), allowing
  `evil-mc-execute-evil-paste` to paste at each cursor when there
  are multiple instead of pasting at only one cursor

* retain these functions' ability to directly take a register as
  input when called interactively

* regression was caused by bfb565eea9
2017-06-06 12:19:49 +02:00
David Florness
81dd44ef72 Fix typo 2017-06-04 21:39:56 -05:00
JAremko
5ccbf4fbc5 Disable dante package if Emacs version is less than 25
fix #8985
2017-06-03 08:59:02 +03:00
Eivind Fonn
4489049cc2 bugfix: margin scaling ignores window
Thanks sdwolf and Eli Zaretskii
2017-06-01 13:49:34 +02:00
Eivind Fonn
dd4bd6ddee ycmd: bugfix 2017-06-01 10:52:02 +02:00
Eivind Fonn
d50b12d886 ycmd: more flexible file search 2017-05-31 15:25:37 +02:00
Amos Bird
18c1e12342 search compile_commands.json in build subdir 2017-05-31 15:21:13 +02:00
JAremko
0e0e90e521
Replace https://faust.grame.fr/ link (faulty server) 2017-05-31 06:25:32 +03:00
duianto
52a03697c1 Update keyboard layout image, gray border
problem:
The keyboard layouts main image, is displayed as a black rectangle, when the
readme.org file, it's opened in Spacemacs. This seems to be because there's an
issue with the transparency when a .png is saved with indexed colors.

When the transparency issue is fixed, by re-saving it as a non-indexed
(grayscale or RGB) image. Then there still is an issue, with themes that have a
dark background, i.e. spacemacs-dark. The black keys become almost invisible.

solution:
Add a 1px gray border, around the keys.
2017-05-30 18:37:02 +02:00
Eivind Fonn
9014197722 clojure: fix spacefmt tests 2017-05-30 12:34:31 +02:00
Ben
cc1b087497 adding the package magic-latex-buffer to the latex layer 2017-05-30 12:28:26 +02:00
James Conroy-Finn
c56c927641 Bind <leader>msX to restart Cider 2017-05-30 12:00:35 +02:00
Eivind Fonn
dce3cd4c0e clojure: define keys in :init 2017-05-30 11:58:17 +02:00
panjan
12f823ba3c react: improved react file recognition 2017-05-30 10:27:07 +02:00
Dietrich Daroch
9a14373845 Fix d-mode flycheck imports on dub projects 2017-05-30 10:22:45 +02:00
Don March
3069d4e244 Restore smart closing paren behavior in racket-mode
Remove the shadowing keybindings for `)`, `]`, and `}` so the default
`racket-insert-closing` command is used again.
2017-05-30 10:19:20 +02:00
Swaroop C H
a2f1bfa8a4 [python] Prefer virtualenv python to compile file 2017-05-29 10:12:20 -07:00
Eivind Fonn
7fd8caa344 Bugfix: missing -hook suffix 2017-05-29 16:52:39 +02:00
Eivind Fonn
fab3b2a4e4 Clean up parinfer layer
- Move to misc instead of vim
- Move add-hook calls into dependent layers
- Improve readme
2017-05-29 11:36:46 +02:00
DogLooksGood
4aadec376d Add parinfer layer 2017-05-29 11:36:40 +02:00
Benno Fünfstück
d83fafb2cb nixos layer: defer loading of options 2017-05-28 18:19:23 +02:00
Kepi
8c230bfbb1 Pass: support for ivy and fix undefined dostpacemacs-use-ido
Looks like pass is trying to use variable which isn't available for some time,
at least there are no other packages using it.

`completing-read` should be universal for all completing needs I hope.
2017-05-28 16:17:45 +02:00
Eivind Fonn
5048aff9fa Properly require tramp 2017-05-28 15:07:01 +02:00
denin
5397b6f01f Rewrite sudo-edit
Old version worked only for method 'ssh' and did not work at all if
user was not specified (e.g. /ssh:hostname:/path). Since the symbol '@' was
required in a filename.
2017-05-28 15:06:20 +02:00
Eoin Houlihan
ca9945d536 Remove SPARQL from extra-langs
Support for SPARQL was added with the semantic-web layer in f7210c30c2
2017-05-28 15:04:01 +02:00
zer09
c504496b12 Update README.org 2017-05-28 15:03:33 +02:00
Eivind Fonn
8b7626ddb1 Document new slack binding 2017-05-28 15:03:08 +02:00
Swaroop C H
7b8324209c [slack] Add key binding to add reaction 2017-05-28 15:02:25 +02:00
Eivind Fonn
97862af26c Trim output from pyenv command
Trailing newlines will cause errors
2017-05-28 14:59:34 +02:00
Eivind Fonn
bf41e9e300 Move enabling of dante-mode to setup-dante function 2017-05-28 14:41:33 +02:00
Kyle McKean
1ed49e0878 add dante support to haskell layer 2017-05-28 14:40:25 +02:00
Eivind Fonn
c812c5be32 Update semantic-web documentation (fix tests) 2017-05-26 11:47:41 +02:00
Eivind Fonn
53cb8a48d3 Move semweb to semantic-web
Minor configuration changes
2017-05-26 11:12:08 +02:00
Andreas Textor
f7210c30c2 Add layer for Semantic Web formats
- Syntax highlighting for N3, Turtle and SPARQL formats
- Company mode for SPARQL
- Execution of SPARQL queries against SPARQL HTTP endpoint
2017-05-26 11:07:06 +02:00
Swaroop C H
735321eda3 [elixir] Add missing Alchemist commands and key bindings
Commands and key bindings found via `alchemist-refcard` command.

I've tried to adhere to Spacemacs conventions but where I couldn't find relevant
conventions, I followed Alchemist's key bindings.

Also, delete alchemist-refcard - approved by @syl20bnr at
https://github.com/syl20bnr/spacemacs/pull/8746#issuecomment-301326850
2017-05-26 10:49:35 +02:00
Ivan Kryvoruchko
1d2392ad1d Fix sayid clojure debugger documentation typo 2017-05-26 10:47:34 +02:00
Eivind Fonn
e6a3d01eb5 Fix company-php configuration 2017-05-26 10:41:46 +02:00
jim
24bf7d0fb6 add company-php to php layer 2017-05-26 10:36:15 +02:00
Eivind Fonn
d4b004433c Fix layout name generation 2017-05-25 13:51:26 +02:00
bmag
6fd0d2573b New dotvariable: auto-generate layout names
If dotspacemacs-auto-generate-layout-names is non-nil, and the user
tries to open a layout in a position that doesn't yet have a layout,
then create a new layout with an automatically generated name.
2017-05-25 13:40:28 +02:00
Eivind Fonn
e4185e4c61 Some refactoring of go layer 2017-05-25 13:20:36 +02:00
Eivind Fonn
adca985dd9 Update go layer documentation 2017-05-25 13:19:50 +02:00
Eivind Fonn
b7370f454e Add godoctor
Thanks to TinySong
2017-05-25 13:19:32 +02:00
duianto
2702b205b6 Update colors layer readme: rainbow-mode screenshot
Problem:
The current rainbow-mode screenshot, is from an older version. It shows white
text on light colors. This makes it hard to read the color codes. The old
screenshot hides the fact that issue has been solved.

Solution:
This updates the screenshot, to show it's current behaviour. Where the text
color is either white or black, depending on if the luminance is greater than
0.5 of 1.0.
2017-05-25 13:07:40 +02:00
syl20bnr
fcc8b9a36c org: remove mu4e and notmuch
org-mu4e was already handled in the mu4e layer which is the correct place for
this.
Added notmuch to mu4e layer, maybe not the right place for this but for now
it is OK.
2017-05-24 23:20:23 -04:00
warreq
40e0f180d4 Add support for the Workman keyboard layout 2017-05-24 14:53:14 +02:00
Max Gonzih
777dc4ea9b Add new programmer dvorak layout that matches vim like key placement 2017-05-24 14:51:34 +02:00
Jim Deville
dae860a4b1 add refactor docs 2017-05-24 14:42:17 +02:00
Daniel Luna
34d842c6f5 [ruby-layer] Adding ruby-refactor package and associated keybindings
This commit adds a series of refactoring commands for Ruby under
"ruby/refactor", by use of the `ruby-refactor` package.
2017-05-24 14:41:55 +02:00
Eivind Fonn
4068a3e6a2 Revert "Clean up elixir layer documentation"
This reverts commit 333e921707.
2017-05-24 14:37:39 +02:00
Eivind Fonn
2b7893ee17 Fix #7383 2017-05-24 14:33:52 +02:00
Garrett Johnson
333e921707 Clean up elixir layer documentation
Remove references to removed checkers and their configuration
2017-05-24 14:19:37 +02:00
Don March
ac1168b6af Fix terminal RET and TAB in layouts/workspaces transient state
* Make RET and TAB (C-m and C-i) perform the same actions as <return>
  and <tab> so the maps work in the terminal.
* Catch <return> in workspaces transient state so that it exits without
  executing a command (like already done for layouts).
* Add "workspace w/helm/ivy" to docstring, mirroring the layouts
  docstring.
2017-05-24 14:05:15 +02:00
Víctor Cuadrado Juan
a37d4296cf .Add bashate style checker to shell-script layer 2017-05-24 14:02:01 +02:00
Muneeb Shaikh
47cb3e01e0 python: fixes for anaconda-mode-view-mode
* layers/+lang/python/funcs.el (spacemacs/anaconda-view-forward-and-push):
  Added helper function to go forward and hit RET
* layers/+lang/python/packages.el (python/init-anaconda-mode):
   - use new evilification macro
   - use helper function to go ahead and push button when hitting `RET`
   - Add `C-j`, `C-k` for easy navigation in anaconda-view-mode when multiple
   references are displayed. Doesn't conflict with normal `hjkl` navigation in
   other views of `anaconda-view-mode`

Fix #7538
Fix #5737
2017-05-24 13:58:23 +02:00
ralesi
d28d9beed4 emacs-restart: make debugging commands accessible. 2017-05-24 13:53:19 +02:00
ralesi
47f90684c9 ranger: add jump other window bindings, minus to enter 2017-05-24 13:48:28 +02:00
ralesi
a518d14c69 Fix some issues with persistent server
* frame killer logic wasn't correct when server not running
* even when debugging, we want to kill spacemacs
2017-05-24 13:42:49 +02:00
Swaroop C H
ea54e6863e Make python-execute-file use python-shell-interpreter
So that we can customize to use `python3` instead of `python`
2017-05-24 13:41:12 +02:00
Michishige Kaito
6dac3425b6 Org layer: Bind org-update-statistics-cookies 2017-05-24 13:36:10 +02:00
Codruț Constantin Gușoi
07c2fccc94 Adds autocomplete for coffeescript 2017-05-24 13:33:57 +02:00
duianto
aada9702dc init-evil-mc: 1 cursor hide mode line text variable
Problem:
Spacemacs rewrites the evil-mc-mode-line variable, to remove the evil-mc mode
line text, when there's only one cursor. The rewrite blocks the recent evil-mc
updates, that made the multi cursor, mode line text, more readable.

Solution:
Use the new evil-mc-one-cursor-show-mode-line-text variable, to only hide the
mode line text, when there's one cursor. This unblocks the current, and any
future updates, that the evil-mc package makes to the mode line text.
2017-05-24 13:32:25 +02:00
d12frosted
c8296e507b don't show warning on layout key clashes 2017-05-24 13:09:17 +02:00
Eivind Fonn
26615a64cb gtags: don’t check if mode function is bound 2017-05-24 13:07:58 +02:00
Eivind Fonn
df4cad42e1 Add condition for fringe-mode toggle 2017-05-24 13:05:17 +02:00
Dietrich Daroch
e4e6638d4d Add requirements list for D 2017-05-24 13:03:57 +02:00
dubnde
36873eaf31 bind helm-cscope-find-assignments-to-this-symbol 2017-05-24 13:02:31 +02:00
Pawan Dubey
83553a54da Move load layout from file option from Go To to Actions
and change doc string.
2017-05-24 12:55:35 +02:00
smimish
36da2f7daa Expanded theming README file with an example 2017-05-24 12:49:32 +02:00
Alexey Kotlyarov
f27568d8f9 Python: Highlight wdb breakpoints as well as pdb/ipdb/pudb 2017-05-24 12:44:57 +02:00
Alexey Kotlyarov
dc3f16b840 Python: search for Pylint and Flake8 in the virtualenvs 2017-05-24 12:44:19 +02:00
Aaron Jensen
ed64e5fa29 Prefer .spacemacs.d/snippets over .emacs.d/private/snippets 2017-05-24 12:41:44 +02:00
deb0ch
0ae8b3a29f bindings: highlight-parentheses-mode from SPC t C p to SPC t h p 2017-05-24 12:39:31 +02:00
Eivind Fonn
907f9e1b09 Make org layer depend on spacemacs-org 2017-05-24 12:33:42 +02:00
dubnde
2febbbb309 Remove git layer documentation to show submodule prompt
There is no such keybinding(SPC g >) in the source code.
2017-05-24 12:30:14 +02:00
Bernhard Schommer
2c193614f7 Ocaml layer init without opam.
Currently the ocaml layer requires opam in order to work. However
opam is only really required for an easy installation of the
required ocaml binaries. The only place where opam is used
instead is to add the merlin files of the merlin installed
via opam instead of the merlin files from melp.

This commit introduces a fallback if opam is not installed but
ocamlmerlin is installed, since the melpa package of merlin
is already installed through packages.
2017-05-24 12:28:58 +02:00
Diego Alvarez
dfa18dafc3 Make ensime use stable version as unstable is for ensime devs 2017-05-24 12:22:20 +02:00
Eivind Fonn
94ed135678 Move sp-local-pair call to with-eval-after-load 2017-05-24 12:17:10 +02:00
Erwin Kroon
c2c4721ddb Remove backtick from smartparens pairs for Clojure
Single backticks are used for namespaced quotes, there is no purpose for
automatically inserting double backticks.
2017-05-24 12:16:38 +02:00
Eivind Fonn
6ba353a8d8 sql: change blacklist to only accept list 2017-05-24 12:13:13 +02:00
Kepi
7cb9c1924a sql: support for keywords auto capitalization
SQL, by convention, uses upper-case keywords, although lower-case works just as
well. As humans, the separation between upper-case and lower-case helps scan and
parse the code much more quickly.
2017-05-24 12:08:45 +02:00
Corey Ling
21c3e2fc2d Fix Clojure layer cider-repl-mode keybindings
Clojure layer attempted to provide `C-j` and `C-k` keybindings
  to the cider-repl-mode but there was a bug.

  This fixes the bug and adds those keybindings to the documentation.
2017-05-24 12:04:13 +02:00
Kristoffer Haugsbakk
6583251ef6 Use proper markup to preserve meaning of code
Mark up code that is mentioned in the documentation of some readmes.

In the case of “long options”, like for example `--with-emacs`, this is not just
cosmetic.  On GitHub, Org files are apparently rendered in such a way that
strings like `--` in non-verbatim text (i.e. not verbatim-quoted nor
code-quoted) is transformed to `–` (EN DASH U+2013).  So the string:

    … --with-emacs option:

Will show up like this:

    … –with-emacs option:

Also mark up nearby not-marked-up code mentions.  But this pattern was what was
searched for, so this mostly changes the abovementioned kind of thing.
2017-05-24 11:59:40 +02:00
Kristoffer Haugsbakk
79ed1a6b4b Use proper markup for code in readmes
By convention, code markup (`~`) is reserved for keybindings in Org-based
documentation in Spacemacs.  Verbatim markup (`=`) is reserved for code and
other code-like things.  So change several readmes to reflect this convention.

Use verbatim markup for things like (non-exhaustive list):

- Emacs Lisp functions, modes, buffers, etc.
- Environment variables
- Directory paths
- Code in general
2017-05-24 11:57:17 +02:00
Ian Clark
249c3b87b0 Configurable extra arguments to go test
ADD:
  - layers/+lang/go/config.el Added new variable `go-use-test-args` to allow
    specifying additional arguments being passed to `go test.

CHANGE:
  - layers/+lang/go/packages.el Updated `go-run-tests` to automatically concat
    the new variable `go-use-test-args` to args passed to `go test`.
2017-05-24 11:52:10 +02:00
ralesi
5bacb13a75 recentf: fix referencing to cache directory when symlinked. 2017-05-24 11:48:23 +02:00
Alexander Berezovsky
00a6e3d5c2 Documentation: Highlight ruby debugger keywords 2017-05-24 10:26:31 +02:00
Eivind Fonn
b02384520e No underscores in lisp!!! 2017-05-24 10:18:19 +02:00
SteveJobzniak
9a0cf70f7b Colors: Minor tweaks to per-theme defaults
Very slight tweaks to make the per-theme defaults even better.
2017-05-24 10:17:19 +02:00
SteveJobzniak
49458314fe Colors: Better way of adding/refreshing themes
The old, verbose method of manipulating a list felt very hacky.

This is much slicker.
2017-05-24 10:17:09 +02:00
SteveJobzniak
bcc1889cf7 Colors: Tuned defaults to work w. majority of light & dark themes
Most people won't take the time to write their own per-theme colors,
so having high-quality defaults matters more than anything else.

These defaults are carefully balanced statistical averages of all colors
suitable for both light and dark themes, and perfected to work for 90% of
all themes.

It's the BEST out-of-the-box experience we can offer without forcing
all users to write their own individual per-theme optimizations
for ALL of their themes...
2017-05-24 10:16:08 +02:00
SteveJobzniak
7d927282ba Colors: Faster method of redrawing buffer for transient state
Switching this to a more correct way of redrawing the buffer contents.
2017-05-24 10:15:25 +02:00
SteveJobzniak
add05f69ef Colors: Major fix to actually render per-theme settings on switch
It isn't enough to just update the variables! We must also refresh the "font
locking" (syntax highlighting) in all buffers that have rainbow-identifiers-mode
currently active, so that they instantly re-paint with their per-theme values.
Otherwise we get stuck with an ugly mishmash of old colors and a new theme.

This change loops through all buffers and marks matching ones for re-painting,
starting with the current buffer first so that the user sees quick results!
2017-05-24 10:14:59 +02:00
SteveJobzniak
22749ced59 Colors: Extended built-in theme list, and added better defaults
Added support for 9 new themes, and updated the defaults
for some old definitions to much more closely match the "spirit"
of each theme's individual intended brightness
and saturation level.
2017-05-24 10:13:58 +02:00
SteveJobzniak
a6b1da5624 Colors: Improved resetting of rainbow-identifiers transient-state
Now reverts lightness and saturation to the user's fallback defaults.

A suggested future improvement: Revert to whatever would be used
for the current theme, so that it is a true "reset". Such a change
would require decoupling the sat&light code in "colors//tweak-theme-colors".
2017-05-24 10:13:36 +02:00
SteveJobzniak
7bff2fddad Colors: Add ability to set default rainbow-identifiers values 2017-05-24 10:13:15 +02:00
SteveJobzniak
079a60b8af Colors: Rewriting of documentation to fix errors and clarify usage 2017-05-24 10:12:33 +02:00
SteveJobzniak
fbd29b1b3b Colors: Corrected keybindings in documentation 2017-05-24 10:09:50 +02:00
Rand01ph
c71d482012 fix python layers anaconda-mode requirements 404
the anaconda-mode requirements has change to wiki
2017-05-24 10:04:33 +02:00
ralesi
e7d01304b8 ivy: define matcher desc, deprecated from package, add M-SPC 2017-05-24 10:00:53 +02:00
Muneeb Shaikh
fd63e5cb44 org: bind org-refile from 'R' to 'r'
Why?
 - 'r' is free binding - not used anywhere for org related modes
 - refiling is quite common activity if you use org heavily, so moving it for
 easy access makes sense
2017-05-24 09:56:18 +02:00
Eivind Fonn
b1f1674109 Ruby debug highlighting: dynamic check
Move check into function, and add to local-vars hook instead of the mode hook.
This makes the variable changeable at runtime and also as part of local vars.
2017-05-24 09:43:06 +02:00
Alexander Berezovsky
26bb5912f0 Highlight ruby debugger keywords 2017-05-24 09:42:47 +02:00
duianto
fd4b74559c Update which-key popup: key/command grouping
Comment the code and group the keys/commands based on the
which-key section they appear in.

Reduce the width of the listed keys:
By removing spaces around the two dots `..` in the key sequences, and
by removing the modifier keys before the last number in a sequence.

Update the renamed select-window-[1-9] command name, to the new
winum-select-window-[1-9] name.

Combine keys that call the same command.
2017-05-24 09:32:16 +02:00
MadAnd
8fea6f134d ivy: Use new API to register additional transient state bindings
This is a follow-up commit after #8155 has been merged. It applies the same
changes to code of the `ivy` layer. It is not part of #8155 because there was
no `ivy` layer when that PR was submitted.
2017-05-24 09:12:48 +02:00
Eivind Fonn
909d23f412 Use symbols instead of strings 2017-05-23 16:04:40 +02:00
MadAnd
5eeaed75d9 transient-state: Improve handling of additional bindings
Add two new functions: `spacemacs/transient-state-register-add-bindings`
and `spacemacs/transient-state-register-remove-bindings` to prevent layer
authors and end users from dealing with the underlying variables' subtleties.
2017-05-23 16:03:03 +02:00
Eivind Fonn
c7df45a0a9 Properly read dsm-major-mode-leader-key 2017-05-23 15:40:08 +02:00
pnagy
17b25784da mu4e-compose: add some convenient major mode bindings 2017-05-23 15:38:51 +02:00
Eivind Fonn
144c37955f Remove unnecessary function 2017-05-23 15:34:24 +02:00
Benno Fünfstück
0d9c56cefc haskell: disable electric indent for cabal-mode 2017-05-23 15:33:01 +02:00
Ryan Fowler
5d613b63d2 store cider repl history in spacemacs cache 2017-05-23 15:18:21 +02:00
Isaac Zeng
0c24559545 Prevent tmux-command at GUI mode 2017-05-23 15:15:37 +02:00
Wieland Hoffmann
63ad55b57e compilation-finish-function: Set case-fold-search to nil
The various string-match calls in this function were obviosly written with that
in mind.

This also fixes the case where the compilation buffer contains the output of
`cargo test`, which includes "0 failed". Previously, this was treated as an
error, now it's not.
2017-05-23 15:13:29 +02:00
Victor Andrée
110419fd01 Call tsfmt with extension of current buffer for TSX formatting
Addresses #8297 for the tsfmt backend. However, does not fix tide issue, and
automatic major mode formatting (`SPC m =`) does not work in TSX files as they
are opened in web mode.
2017-05-23 15:08:12 +02:00
Eivind Fonn
5c4b7e62b1 Some changes to align-repeat
- Remove echo of regexp
- Use = instead of equalp
- Use use-region-p instead of checking line numbers
- Use when/unless instead of if
- Use point-at-{eol,bol} instead of point
2017-05-23 13:05:23 +02:00
Eric Siegel
5be474f5d3 Smarter default alignment with spacemacs/align-repeat (#8309) 2017-05-23 13:00:32 +02:00
MadAnd
62a4a60510 javascript: leverage js-doc Yasnippet integration if available
js-doc provides an alternative function for generating function doc comments
that makes use of Yasnippet to easily jump between the comment sections/tags.

This commit enables use of that function, if Yasnippet package is active.
2017-05-23 12:52:18 +02:00
Ben Mabey
aa83ed0249 adds ein:notebooklist-login as app command
The login is required for most jupyter installs these days.

change ipython command keybinding for open from 'n' to 'o'

Unless I'm violating some Spacemacs convention using 'o' for 'open'
seems to the right choice instead of 'n'. Better mnemonics, IMO.
2017-05-23 12:49:53 +02:00
duianto
e8694f5018 Combine 2 projectile spacemacs/set-leader-keys sections
Problem: There are two projectile spacemacs/set-leader-keys sections,
next to each other.

Solution: Combine and sort the keys alphabetically with lower case
before upper case. A quick search showed that order in a lot of
other set-leader-key sections.
2017-05-23 12:36:59 +02:00
Eivind Fonn
5290456304 Modify evil-lion config
- Adjust keys not to collide with evil-little-word
- Add documentation
2017-05-23 11:08:06 +02:00
James Wang
3661ac1937 Add evil-lion 2017-05-23 11:02:23 +02:00
Eivind Fonn
a5e6509695 Wrap markdown :mode as list 2017-05-23 11:00:09 +02:00
Han Wang
fbb5908a3e Render Madoko document using markdown mode
Madoko is a fast markdown processor with a special .mdk extension
from microsoft research. emacs should use markdown-mode to render
a .mdk file as markdown file.
2017-05-23 10:58:50 +02:00
Eivind Fonn
8f7afe5eec Add prefix argument to rename-current-buffer-file
Best of both worlds. Maybe.
2017-05-23 10:55:25 +02:00
tddsg
7ecf1433ba fill the current filename as a suggestion of spacemacs/rename-current-buffer-file 2017-05-23 10:52:47 +02:00
JAremko
46cbe18745 remove ^M from nyan README.org 2017-05-22 18:35:37 +03:00
JAremko
6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Daniel Manila
cfe0295875 Add sayid, a debugger, to the clojure language
"Sayid (siy EED) is a tool for debugging and profiling clojure code."
(https://bpiel.github.io/sayid/) it allows viewing the results of each line of
code in a clojure function, without editing the code at all.

This commit evilifies the plugin and adds its commands to the "debug" submenu
of the main clojure mode menu.
2017-05-22 17:25:25 +02:00
Alexander M
113794f4e8 Keep find-ert-test-buffer from moving point. 2017-05-22 17:13:57 +02:00
Steven Allen
1872376cc2 Load org-mode email integration (mu4e/notmuch) when org is loaded.
Before, `org-mu4e` would be loaded when mu4e was. However, as an extension to
org mode, not mu4e, it should be loaded when org mode is.

This commit also adds similar support for notmuch.
2017-05-19 17:17:33 +02:00
Steven Allen
58d521af51 Unbreak diff-mode
diff-mode is for *editing* diffs. Defaulting to evilified state and binding j/k
breaks this.

You can still use TAB/S-TAB to navigate through hunks.
2017-05-19 16:58:01 +02:00
Daniel Ralston
5b383559be Add key binding for helm-gtags-find-symbol: '<SPC> g y' 2017-05-19 11:46:14 +02:00
Eivind Fonn
488fc0977f Move editorconfig to spacemacs-editing 2017-05-19 11:43:29 +02:00
Vladimir Kochnev
bed1d344d7 Add editorconfig layer.
Sometime in the past editorconfig layer has been deleted.

Commit: 5887344.
Related PR: #1526.

Explanation was that layer was so simple that everything you need to get
editorconfig to work is just add it to dotspacemacs-additional-packages.

However it's not quite true.

- (editorconfig-mode t) should be performed manually.
- it looks ugly in modeline.
2017-05-19 11:38:25 +02:00
Alexander Miller
f4fafa9a51 Shell scripts: add new company-shell environment variable backend. 2017-05-19 11:12:22 +02:00
syl20bnr
7cd8e1fee5 Add password-generator package under SPC i p 2017-05-18 23:12:56 -04:00
syl20bnr
517c4eec68 pass: update layer to be more idiomatic and move key bindings on SPC A p
New prefix command SPC A for other applications
2017-05-18 23:12:56 -04:00
Andrew Oppenlander
3dd9fc5d4e Added pass contrib layer that repescts dotspacemacs-use-ido and
describes multiline pass entries.
2017-05-18 23:12:56 -04:00
Dietr1ch
ff43db919b Add SPARQL-mode to +lang/extra-langs 2017-05-18 23:12:56 -04:00
syl20bnr
95ec362582 dash: make if more idiomatic 2017-05-18 23:12:56 -04:00
Color Fuzzy
549f7e2518 helm-dash use default docsets path on macos
If we don't use the default docksets, helm-dash will not work smoothly
unless we set the `dash-helm-dash-docset-path' variable when we import
the dash layer(actually, the default dash docset path is always
"~/Library/Application Support/Dash/DocSets").
2017-05-18 23:12:56 -04:00
WillianPaiva
e1e091eee8 add a keybind for the function eclim-java-run-run 2017-05-18 23:12:56 -04:00
Liu, Joey
42b13b5178 Fix OSX mapping issue, because of a recent commit changed the way of OSX mapping 2017-05-18 23:12:56 -04:00
BorisVerk
ac81e671e8 added names to django mode prefixes 2017-05-18 18:54:38 +02:00
Robert (Robby) O'Connor
097f341eac Fix typo in java layer README 2017-05-18 18:53:08 +02:00
duianto
116c51520e Add a key binding for magit-find-file
problem:  currently, viewing a file at a specific branch/commit, requires one to
          type the magit-find-file command, at the M-x prompt
solution: SPC g f f is available and consistent with the SPC f f key binding
2017-05-18 18:40:34 +02:00
Vladimir Kochnev
962cb03a85 Fix frame cycling in evil-unimpaired.
`raise-frame` does not set input focus on selected frame.
2017-05-18 18:34:56 +02:00
duianto
1ded2f56be Update git doc magit-clone and magit-init 2017-05-18 18:33:33 +02:00
legalcodes
c3e32e2891 Add note about separate ledger install. 2017-05-18 18:27:49 +02:00
Eivind Fonn
3dde988212 Lambda -> named function 2017-05-18 18:20:05 +02:00
Codruț Constantin Gușoi
59d45d10d8 Fixes org table cleanup 2017-05-18 18:16:48 +02:00
Paul Milla
361c704827 Fix typo for spell-checking config
speeling -> spelling
2017-05-18 18:11:02 +02:00
Eivind Fonn
9c6216b024 Move magithub cache to cache directory 2017-05-18 18:07:50 +02:00
syl20bnr
bff206af37 Fix last documentation errors
Should be good now :-)
2017-05-14 23:05:26 -04:00
syl20bnr
8ece2fd1f2 Fix documentation error reported by Travis 2017-05-14 22:56:42 -04:00
syl20bnr
cf2b967b3b react: respect 80 chars per line in README 2017-05-14 22:20:00 -04:00
Evan Niessen-Derry
e6048e0863 Add an example for non-standard node bin locations
If you install your node bins in places outside of the system path, you
need to add those locations to the exec path before packages are loaded
or else spacemacs won't recognize them as existing when it initializes
the layers.
2017-05-14 22:18:43 -04:00
James Hicks
e246ac1957 Fix error message about no eldoc support 2017-05-14 22:17:54 -04:00
Steven Allen
909d1dcf6f Enable flycheck in the systemd layer 2017-05-14 22:12:19 -04:00
Wieland Hoffmann
4c009f4721 Use verbatim markup for the flake8 package name 2017-05-14 22:07:21 -04:00
Swaroop C H
80d2a0d99d [docs] Fix parentheses 2017-05-14 22:06:08 -04:00
Steven Allen
6c0c4dcf37 Add keybindings for magit clone and init. 2017-05-14 22:04:02 -04:00
Sid Kapur
5ebcbfe6f6 Add info about SSH key to github layer README 2017-05-14 22:01:44 -04:00
Bas Veeling
20535e2ebc Added hide-others shortcut to osx keybindings
In emacs 25.1, the osx system default shortcut cmd+alt+h to hide other windows is broken. This commit fixes this (see #7464).
2017-05-14 21:57:11 -04:00
Aaron Culich
2215ffe68d change osx-command-as default for ⌘ to hyper instead of super
The purpose of this PR is to set the default for ⌘ to `hyper' and to provide the
function `kbd-mac-command` to replace `kbd' when defining keybindings for ⌘ in
case someone decides to explicitly set osx-command-as to `super' or `alt'.

There are problems setting osx-command-as to `alt' and `super',
so we use `hyper' as a default instead because, for example:
  - Using `alt':   Command-x or Command-m inserts, respectively: × µ
  - Using `super': Control-Command-f produces keycode: <C-s-268632078>
Setting to `hyper' seems to avoid both types of the above problems.
Also, while it is possible, it is not recommended to set to `meta'
since standard OSX shortcuts would overshadow important keys such
as M-x.

Two other small changes include:

  - Commenting out the code that defines <C-s-268632078> (C-s-f) since it is
    unnecessary if we use `hyper' as the default; and if we really want to use
    `super' then we should figure out how to solve the weird keycode issue.

  - add keybinding for ⌘` (Command-backtick) to `other-window'.
    Emacs usually swallows this keystroke, so other-window basically restores
    the default behavior that most Mac OSX users would expect.
2017-05-14 21:54:06 -04:00
Chream
5ff0fbe6d9 [enhancement] OSX Layer. add config variables for different OSX modifier keys.
[update] Update defaults.

[update] update README.
2017-05-14 21:34:30 -04:00
syl20bnr
5ecd3c9fa9 lua: use new add-company-backends macro 2017-05-14 21:26:41 -04:00
zhuyan
210106b7b3 lua: Add company-lua package
Lua-mode it self has poor completion support and company-lua will enhance it.
2017-05-14 21:24:14 -04:00
syl20bnr
22e40f4f3d prodigy: move c key biniding to evilified macro and update doc 2017-05-14 13:48:36 -04:00
Francesc Elies Henar
f242c8eb77 binds c to prodigy-view-clear-buffer 2017-05-14 13:46:13 -04:00