Commit graph

8151 commits

Author SHA1 Message Date
Eivind Fonn
377cb2f417 doc: code, not keys 2017-06-10 16:32:18 +02:00
Eivind Fonn
2db9958894 string-inflection: transient state for cycling 2017-06-10 16:31:05 +02:00
Eivind Fonn
c366991422 doc: add new bindings 2017-06-10 16:30:36 +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
Codruț Constantin Gușoi
8754575550 Fixes insert point for lazy loaded layers
A recent change in the `.spacemacs.template` made it so that the
`dotspacemacs-configuration-layers` variable name can be found inside a
comment right before the expression that sets it's value. This makes the
lazy insertion fail to detect the proper place to add lazy loaded
layers.

This fix solves the immediate problem but maybe a better solution can
be found.
2017-06-08 21:03:45 +02: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
e61e915555 Revise .spacemacs docstrings
This is an attempt to tighten up the language of the docstrings for
initialization and configuration functions. I realize that's pretty
subjective, so please only use what makes sense. Below is a break-
down to avoid seeming _too_ arbitrary.

Rationale
---------
Headings: We know they're functions, so we don't need to say
'X function'. 'Layer configuration' is called that in the other
functions.

Instructions: Say what I should do.

Other: `dotspacemacs/init' -- 'very beginning' is the more common
English idiom.

If I sound strident, it's just 'cause I'm trying to be terse.
This is all opinion so YMMV. I hope it helps.
2017-06-07 12:58:06 +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