Commit graph

2961 commits

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