Commit graph

7652 commits

Author SHA1 Message Date
bmag
4b92183cc0 new-empty-buffer: force buffer to appear in new window
Pass non-nil force-same-window argument to switch-to-buffer, so the newly
generated buffer is guaranteed to display in the newly created window.
2017-04-18 22:10:33 +03:00
syl20bnr
b769756f6d theming: refactor example 2017-04-18 00:23:16 -04:00
Max Nordlund
37de114ea5 Fix documentation about replace mode
There is in fact a replace mode in vanilla Vim, see
http://vimdoc.sourceforge.net/htmldoc/insert.html#mode-replace
and not exclusive to Evil.
2017-04-17 23:43:13 -04:00
ralesi
9b24a38eb9 Ivy: Multiple loading improvements and additional alternates
* Don't list imenu if it isn't loaded
* Add recentf config to :post-init function
* Add :init and :config sections for counsel and ivy for accessibility
* Add projectile alt actions to invalidate cache
* Add recentf alt actions to refresh and delete items
* Load flx since it is listed
2017-04-17 23:39:35 -04:00
Victor Hugo Borja
254a3ec862 Add rebecca theme
[Rebecca](https://github.com/vic/rebecca-theme) is a dark purple theme.
2017-04-17 23:36:22 -04:00
Kevin van Rooijen
9a69d45107 Fix elm to not switch to root directory 2017-04-17 23:35:11 -04:00
Ric da Silva
c1e805cb46 Add string inflection to spacemacs-editing
Add string inflection doc
2017-04-17 23:31:58 -04:00
syl20bnr
f20ef3477d Remove redundant create-align-repeat "brackets" 2017-04-17 23:27:24 -04:00
deb0ch
eb5fcd5826 also provide align functions for {, }, [ and ] under SPC x a 2017-04-17 23:19:07 -04:00
Nikolai Myllymäki
ec08c9d734 Fix links and instructions in beginners tutorial
- Fix broken org link, make links relative as in other documentation and get
them to work correctly in github, spacemacs.org and Spacemacs.

- Add instructions for copying the tutorial and editing it for org mode intro
purposes. The instructions for testing org-mode did not work when the tutorial
was opened in read-only mode.

- The link to the FAQ was said to be online while it would open inside
Spacemacs when clicked. The wording is improved to reflect the actual
behaviour.

- Replace instances of "enter" with "~RET~".
2017-04-17 23:18:35 -04:00
nikolaiam
4c6968c297 Fix notation inconsistencies in .spacemacs.template
Replace all instances of <Something x y> with `Something x y', add to missing
2017-04-17 23:17:35 -04:00
Matthew J. Berger
e1c5e87238 Add binding to open cargo docs in Rust layer. 2017-04-17 23:15:38 -04:00
smile13241324
c8e8280660 Add missing "m key" to debugging and help base prefix 2017-04-17 23:11:00 -04:00
Denis Bernard
9468599ea4 Improve go test output buffer behavior.
- Use compilation-start to get highlighting of compilation or runtime errors.
- Configure output window in popwin and window-purpose (so that it can be closed
  with C-g for example).
- Configurable buffer name.
2017-04-17 23:07:49 -04:00
deb0ch
ddd065b90a fix ranger with golden-ratio activated 2017-04-17 23:01:50 -04:00
Josh Greenwood
02d383255a elm layer docs: Adds note about indentation
Indentation in the elm layer was confusing to me at first so I thought it would be a good idea to add a note.  I stole the section from elm-modes docs: https://github.com/jcollard/elm-mode#indentation
2017-04-17 22:58:45 -04:00
Arseny Smalyuk
23ea887107 Add asm-mode to the spacemacs-indent-sensitive-modes list 2017-04-17 22:45:34 -04:00
Phil Pirozhkov
2dc9feafb4 Update Evil repo
Gitorious is now defunct and Evil moved to Bitbucket
2017-04-17 22:42:08 -04:00
Steven Allen
830b252bdc Change the frame-killer mapping to SPC q f
It was `SPC q z` but:

1. 'z' is not a mnemonic for "frame" (although it may be more familiar to vim
   users).
2. More importantly, it's *really hard* to type 'qz' on a qwerty keyboard.
2017-04-17 22:41:11 -04:00
YiLiu6240
b8a483721e Fix keybindings for ess layer
Change keybindings for sending function to REPL to be in line with
[Spacemacs convention](https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#send-code)
2017-04-17 22:35:41 -04:00
Josh Santos
c82661fe26 Fix readme for GUI only nyan-mode 2017-04-17 22:35:02 -04:00
Pedro Algarvio
9c226d8201 .python-version can contain more than one version specified.
https://github.com/yyuu/pyenv/blob/master/COMMANDS.md#pyenv-local-advanced
2017-04-17 22:31:50 -04:00
Abdo Roig-Maranges
f216309a6c visual: improve colorization of compilation buffer
Lines containing a carriage return alone, followed by color escape
sequences, are not colorized properly.

A carriage return in the compilation buffer is interpreted by erasing
contents since the beginning of the line, but compilation-filter-start
is not updated accordingly before calling the filter-hooks.

Workaround it by always colorizing a region from to the beginning of the
line where compilation-filter-start points.
2017-04-17 22:30:56 -04:00
syl20bnr
ccad42209c Move space-doc-mode toggle to SPC m V 2017-04-17 22:19:47 -04:00
nikolaiam
506edddc96 Bind space-doc-mode to SPC m v in Org
Provide a way to toggle space-doc-mode in any org file with a keybinding.
Useful for reading documents in the same mode as Spacemacs documentation is
opened in.
2017-04-17 22:14:18 -04:00
nikolaiam
c657506331 Fix typos in space-doc.el 2017-04-17 22:11:41 -04:00
syl20bnr
ff0bd88b0c Move all "new empty buffer" key bindings under SPC b N
and add documentation
2017-04-17 22:10:16 -04:00
duianto
33acf40245 Update new-empty-buffer: split argument
Updated the `spacemacs/new-empty-buffer` function, to accept a `split`
argument, that can have 4 values: `left`, `below`, `above` or `right`.

Added new functions and key bindings (SPC b M-h, -j, -k and -l) for
each direction.
2017-04-17 21:54:06 -04:00
jc00ke
5d4875b425 Magit: Fix decrease hunk key in README 2017-04-17 21:51:51 -04:00
Codruț Constantin Gușoi
be33df7dc8 Fixes keybindings for gfm-mode 2017-04-17 21:49:20 -04:00
d12frosted
2ce65095ba use go-rename from MELPA 2017-04-17 20:03:53 -04:00
Aaron
589da14260 Fix spelling error in NeoTree Key Hints 2017-04-17 20:01:33 -04:00
Robert (Robby) O'Connor
9660a90022 grammar fix
This was introduced in a85634c. The grammar wasn't correct here -- so this fixes it.
2017-04-17 19:49:16 -04:00
Codruț Constantin Gușoi
6b4900940f Fixes markdown org table saving 2017-04-17 19:48:13 -04:00
Soo
86bd9c4a1c Update README.md 2017-04-17 19:47:28 -04:00
Daniel Mijares
4461721e2a Adding colemak keyboard layout option to keyboard-layout
- Base Remapping Keys

`#{n, e, i, o}` <=> `#{h, j, k, l}`

- setting `avy` keys to the `colemak` home row keys

`#{a, r, s, t, n, e, i, o}`

- adjusting leader key to `tn`

- overriding evil org mode bindings especially for 'o'

- one character key guess rebindings can give back empty string
when looking for the prefix and it isn't empty, then guess the rebindings --
this fix lets the check not pass and return `'(nil nil)`, allowing the
`(remove-if #'null)` to actually work.

- correcting magit staging when using visual line
2017-04-17 19:36:39 -04:00
syl20bnr
7554affd49 Remove additional CUSTOM_IDs from docs 2017-04-17 19:36:38 -04:00
syl20bnr
62167f708d tests: move html-export test to doc /tests/doc directory 2017-04-17 19:25:43 -04:00
syl20bnr
5a3a3f95f8 Ignore copied org files to /doc 2017-04-17 19:25:43 -04:00
smile13241324
89ab17bd7a Add test for spacemacs//publish-doc export of documentation
To avoid further issues with the publishing of
documentations I have written a test to ensure that
all documentation files can be exported to html.

To avoid issues with loading the right org version
after package installation I have also slightly
modified the test workflow to include a dedicated
package installation target done prior to executing
any tests.
2017-04-17 19:03:41 -04:00
smile13241324
289e963218 Remove CUSTOM ID from documentation to fix #8216
Previously we entered the CUSTOM IDs manually into the
documentation files to fix the html export.
However today this is done automatically during export.
In this case the manually added ids are interfering
with this process and consequently are visible in the
web pages. Therefore I have removed them again.
2017-04-17 18:37:26 -04:00
syl20bnr
462f74e7fa doc: Rename copied file CONTRIBUTE.org to CONTRIBUTING.org
Instead we can fix the bad link directly in index.html of the website repo.
2017-04-17 18:05:35 -04:00
smile13241324
c3c2970a50 Fix broken links to missing README files in layers list to fix #8291
Some of the layers do not supply a README.org file which caused
invalid links in the layer list. To avoid this I have changed
spacemacs//generate-layers-from-path to only add links to layers
with a valid README.org file.

I have also removed an invalid check to exclude the non existing directory
"distribution" from the layers list. I think that originally the folder
"distributions" should have been excluded but this is not longer
a feasible action as there is at least one layer with a valid README.org
file in there today. So now we add links to all layers providing a
README.org file independent of their category.
2017-04-17 17:58:02 -04:00
smile13241324
092f98f51c Fix broken link to CONTRIBUTE.org in documentation to fix #8290
In 2015 a file CONTRIBUTE.org was existing in the /doc folder.
In addition a CONTRIBUTING.md file was existing in the project root folder.
This was merged into a CONTRIBUTING.org file, which is still located in the project root.
However the documentation publishing system was still looking only in the doc folder.
In addition the external documentation is still referring to the old CONTRIBUTE.html which is not longer existing.

I have now included a new function called prior to publishing
which is copying the documents from the projects root into the doc folder.
As a side effect it renames the CONTRIBUTING.org to the old CONTRIBUTE.org
to support the external documentation.
2017-04-17 17:54:42 -04:00
CharlesHD
635dde29c8 Remapping of twittering-mode was broken. Fix it. 2017-04-17 17:53:47 -04:00
Remco Verhoef
8a69e08365 added dollar to match only function name
the check.f and run functions use regular expressions, without the dollar sign it will run not only function _2, but also _21, etc.
2017-04-17 17:52:47 -04:00
duianto
642c987623 Update sort-lines-by-column, improvements
Limit the lines to only get sorted when a block or rectangle
selection is active, on 2 or more lines. Otherwise show a
message stating the requirements for sorting by column.
2017-04-17 17:51:27 -04:00
duianto
89f8d679ea Remove "ph" 'helm-projectile from spacemacs-base
Problem: In the Ivy layer, `SPC p` lists: h -> helm-projectile
but when it's called, then it shows:
`command-execute: Wrong type argument: commandp, helm-projectile`

Solution: Remove "ph" 'helm-projectile from: spacemacs-base/package.el
Because it's also defined in the Helm layer.
2017-04-17 17:44:50 -04:00
duianto
94703a64be Remove "pr" 'projectile-recentf from ivy layer
problem: "pr" 'projectile-recentf is defined in both the Ivy layer
and spacemacs-base/packages.el

solution: remove it from the Ivy layer.
2017-04-17 17:43:05 -04:00
Titov Andrey
3d434e4ec7 Specific Usage Example for README.org
Example for complete emacs/elisp newbies

from someone who finally made theme customisation work after like ~ 10th attempt
2017-04-17 17:41:00 -04:00