Commit graph

2732 commits

Author SHA1 Message Date
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
Codruț Constantin Gușoi 6b4900940f Fixes markdown org table saving 2017-04-17 19:48:13 -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
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
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
syl20bnr a4be86cb5d Update documentation to remove explicit mentions to helm
Move some helm explicit sections the helm layer README.
2017-04-16 11:14:59 -04:00
person808 489f391fb5 Add beginners tutorial to ivy-spacemacs-help. 2017-04-16 11:14:59 -04:00
Robert O'Connor df6333d55c When using the meghanada backend with java, there is a small typo
In the compile prefix, there is a typo.
2017-04-16 11:14:59 -04:00
Somelauw c5066d6100 Add documentation for ivy 2017-04-16 11:14:59 -04:00
John Wood 86829c5467 Add Helm layer README
Add a README.org to the Helm layer to fix `helm-spacemacs-help-layers`
(`SPC h l`). There is little actual documentation -- it just links to
the official docs as well as the Helm wiki and the Helm guide.

Issue #8679
2017-04-16 11:14:59 -04:00
Somelauw 4361254e06 Fix #8698 2017-04-13 12:04:30 +02:00
syl20bnr ea1c0d3e14 emacs-lisp: change edebug-go-mode key binding to c
As per convention.
2017-04-12 23:46:01 -04:00
hodge 32587a2458 fix spacemacs/edebug-instrument-defun-off and add a shortcut 2017-04-12 23:40:36 -04:00
syl20bnr 2fba8eeba8 Remove unecessary parenthesis in comments 2017-04-12 23:35:23 -04:00
tinysong 41de690a55 fix url jump error 2017-04-12 23:34:00 -04:00
aijony 6acf33263f Fix and update eshell's clear features
Modify the default behavior for eshell's clear functionality.

 - Make eshell `clear RET` _similar_ to `C-l`
   - `clear RET` is eshell/clear
   - `C-l` is eshell-clear-stroke
 - Prevent `C-l` clearing cycle
 - Prevent `clear RET` inserting a page of white-space
 - Prevent duplicate insert lines from `clear RET`
 - Make eshell-clear-keystroke that is dependent on eshell/clear
 - Load both after eshell is initialized to prevent them from being overwritten

This fixes #5424, fixes #5419

Modify eshell clear statements load position

Change the clear statements load position from after loading eshell to
after enabling eshell.
This produces the same result, but is cleaner.
Note, they _cannot_ be defined before eshell loads, otherwise they are overwritten.

Refactor eshell-clear-keystroke to spacemacs/eshell-clear-keystroke

- Reduce steps needed to access clear command with define key
- Rename function to match naming conventions
  - The function shouldn't be accessed from the shell prompt
    - So not eshell/clear-keystroke
  - The function isn't from eshell.el
    - So not eshell-clear-keystroke
      - However, eshell/clear should be since it is overwriting a command
2017-04-12 23:27:07 -04:00
Codruț Constantin Gușoi a4d5d25765 Documents conflict resolution between ctags and etags 2017-04-12 23:24:19 -04:00
MadAnd 33f3cf1293 ivy: add 2 missing bindings "SPC fel" and "SPC hi"
These are available with Helm and Counsel has similar counterparts.
2017-04-12 23:23:09 -04:00
Somelauw a8f68c0cca Add escape and M-SPC bindings to ivy
- escape quits the minibuffer
- M-SPC enters transient state

See conventions at
https://github.com/syl20bnr/spacemacs/blob/master/doc/CONVENTIONS.org
2017-04-12 23:21:51 -04:00
MadAnd 1f8c41059a Fix signatures of spacemacs/evil-mc-paste-{after,before}
Fixes #8672
2017-04-12 23:20:04 -04:00
syl20bnr 184a530596 python: hide YAPF lighter in modeline
Circled lighters in modeline are reserved for toggles under SPC t and SPC T
2017-04-12 23:18:42 -04:00
Robbert van der Helm 7af8321587 Diminish the YAPF minor mode indicator 2017-04-12 23:17:01 -04:00
syl20bnr fc61280423 Fix zoom-frm
Fixes #8696
2017-04-12 23:09:17 -04:00
syl20bnr 6d2f66852c terraform: rename layer var. to terraform-auto-format-on-save, set it to nil
Set it to nil by default.
2017-04-12 00:04:38 -04:00
Harry Hull fb59a64089 Use terraform fmt by default in the terraform layer 2017-04-12 00:00:19 -04:00
tinysong 550eddd368 update go layer README.md 2017-04-11 23:57:57 -04:00
Benjamin Reynolds e09cb1beda Fix documentation for bundler keybindings in ruby layer 2017-04-11 23:56:24 -04:00
Leonard 806b39ca7a Fix #7644
persp-mode sets initial-buffer-choice to #[nil "�\207" [persp-special-last-buffer] 1] unless persp-is-ibc-as-f-supported is set to nil
2017-04-11 23:52:58 -04:00
Steven Allen 6b7aa70428 Late expand completion backends in the spacemacs|add-company-backends macro
Otherwise, the Haskell layer throws an eager expansion error because
`layers/+lang/haskell/funcs.el`, which calls this macro, is loaded before
`layers/+completion/auto-completion/config.el`, which defines
`spacemacs-default-company-backends`.
2017-04-11 23:51:29 -04:00
Paulo Diniz 354951e37a Creates aligment for brackets 2017-04-11 23:46:05 -04:00
JAremko 1853627d58 Redesign spacemacs-docker distribution
remove trailing whitespaces

reword
2017-04-11 23:40:59 -04:00
syl20bnr bb57dc8cd9 Move symon to spacemacs-modeline layer 2017-04-11 23:36:13 -04:00
syl20bnr 30d7beb277 Refactor spacemacs-ui and spacemacs-ui-visual layers
Create new layers:
- spacemacs-navigation: contains packages whose principal goal is navigation
- spacemacs-modeline: contains packages about mode line

Merge spacemacs-ui and spacemacs-ui-visual into layer spacemacs-visual.
2017-04-11 23:09:35 -04:00
JAremko 164fcc7e95 Add symon layer - the tiny sys. mon. 2017-04-11 21:52:26 -04:00
syl20bnr c17722ba96 Fix void: evil-mc-get-cursor-count when pasting
Fixes #8672
2017-04-10 23:40:14 -04:00
syl20bnr 2d0c3ae92c Rename dotspacemacs-zone-when-idle-for to dotspacemacs-zone-out-when-idle
Set key binding to SPC T Z
Improve the configuration a bit by selecting only the most interesting pgm
2017-04-09 23:55:00 -04:00
JAremko 96be9c9aeb zonefy 2017-04-09 23:26:14 -04:00
Anurag Sharma fcf72db3ed Fixing typo
Fixing typo in 'Key Bindings' section
2017-04-09 23:24:33 -04:00
dubnde 60d82ef4b8 Fixed keybinding to helm-cscope-find-calling-this-function
helm-cscope typo fixed
2017-04-09 23:24:15 -04:00
Shane Kilkelly 32b34b67b9 Add instructions to disable org-bullets 2017-04-09 23:23:18 -04:00
syl20bnr fed06956e3 Move evil-mc functions to funcs.el 2017-04-09 23:22:12 -04:00
Koray Al 58458f2d2a Disable paste transient state when multiple cursors are active
evil-mc has no support for the 'paste transient state', hence we should fall back
to the default version during that period.
2017-04-09 23:15:53 -04:00
syl20bnr bf2892b198 csharp: use spacemacs/enable-flycheck 2017-04-09 23:03:07 -04:00
Saulius Menkevičius 5ab72c2e4e csharp: enable flycheck by default 2017-04-09 23:01:35 -04:00
Daniel Schoepe f2dd7a1be3 common-lisp: Add slime-asdf to slime-contribs
Some slime commands such as `,load-system` do not work without `slime-asdf`
being loaded. Since ASDF is the main system definition facility used by lisp
programs, I think this functionality should be available by default.
2017-04-09 23:00:49 -04:00
syl20bnr 24db3c6513 Add comments for eshell preoutput-filter fix 2017-04-09 22:56:39 -04:00
Steven Allen 538a778a39 Work around bug in eshell's preoutput-filter code.
Eshell doesn't call preoutput-filter functions in the context of the eshell
buffer. This breaks the xterm color filtering when the eshell buffer is updated
when it's not currently focused.

I intend on submitting this fix upstream when I get a chance but an advice fixes
it for now. The other fix is to move the xterm color filter to a
output-filter function (instead of preoutput-filter) but those operate on
strings that have already been inserted into the buffer.
2017-04-09 22:55:11 -04:00
ishestakov 86394d4af0 Fix IndexProcessor for compatibility with python3.
Replaced version check with try-except block.
Reformatted pylookup.py due to PEP8.
2017-04-09 22:51:36 -04:00
Jelle Licht fe4726cd12 rcirc: Fix using multiple .authinfo lines for authentication.
The auth-source-search function has an implied :max parameter with value 1. In
the case of connecting to multiple irc servers, only the first line in .authinfo
was applied. Thus, we should pass a value for :max to auth-source-search that is
guaranteed to at least be able to fit all our credentials.
2017-04-09 22:50:12 -04:00
syl20bnr d43f6a2122 Merge gpu and shaders layers into gpu layer 2017-04-09 18:14:59 -04:00
Evan Klitzke 0e38ce3686 GLPv3 -> GPLv3 for shaders package 2017-04-09 18:00:22 -04:00
Evan Klitzke 9be4e9e8de whitespace 2017-04-09 18:00:07 -04:00
Evan Klitzke 8772c8558f defer loading glsl-mode 2017-04-09 17:59:56 -04:00
Evan Klitzke 12d0236bb0 add gpu stuff 2017-04-09 17:59:30 -04:00
Evan Klitzke efbc76ae3f alphabetize the init functions in extra-langs 2017-04-09 17:58:14 -04:00
syl20bnr a7b7e1c168 c-c++: Rename functions with spacemacs- prefix
Respect 80 chars per line
2017-04-09 17:55:50 -04:00
syl20bnr cc61e08b30 Allow usage of dir-local variable for c-c++-enable-clang-format-on-save 2017-04-09 17:50:21 -04:00
Robbert van der Helm 91a2ca456f Add automatic formatting on save for C++ using ClangFormat
This can be enabled by setting both `c-c++-enable-clang-format-on-save` and
`c-c++-enable-clang-support` to `t`.
2017-04-09 17:41:44 -04:00
Muneeb Shaikh 1d82d8a0f8 Fix #8653
Use `buffer-base-buffer` to get base-buffer of an indirect buffer.
2017-04-09 17:38:05 -04:00
syl20bnr 3f1bb43597 Move evil-declare-ignore-repeat to evil init function 2017-04-09 17:25:57 -04:00
Robbert van der Helm 98584205ce Fix repeating jumping to errors using the '.' command #8083
The unimpaired keybindings `[ q` and `] q` can be used to jump to flycheck
errors in the current buffer. Because evil-repeat treated them as regular
operations, they were repeated when pressing the `.` key. This made it harder to
rename multiple erroneous variables.
2017-04-09 17:21:52 -04:00
syl20bnr 378a767a8e evil: add text objects "«" "「" "‘" "“" 2017-04-09 15:49:55 -04:00
syl20bnr bb7e304e9b perl6: refactor layer to be more idiomatic 2017-04-09 15:48:17 -04:00
syl20bnr 3ad3a50263 protobuf: use spacemacs/enable-flycheck 2017-04-09 15:35:29 -04:00
Bahtiar `kalkin-` Gadimov 4661bbf266 Add layer for the Perl 6 Programming Language
This layer provides the following features for the Perl 6 Programming Language:

* Jump to definition & Code completion via [ctags-universal](https://github.com/universal-ctags/ctags)
* Syntax checking via [flycheck-perl6](https://github.com/hinrik/flycheck-perl6)
* Syntax highlighting & Syntax indentation via [perl6-mode](https://github.com/hinrik/perl6-mode)
* `META6.json` highlighting via [json-mode](https://github.com/joshwnj/json-mode)
* Provides evil text objects for:
    * double-angle-brackets
    * corner-brackets
    * single-quotation-marks
    * double-quotation-marks

See also #5019
2017-04-09 15:18:04 -04:00
syl20bnr f89dce787a protobuf: minor refactoring and add logo 2017-04-09 13:26:38 -04:00
Tim Heckman a52b68f125 add hook to enable flycheck when in protobuf-mode
This change updates the `packages.el` file to support automatically enabling
flycheck when opening a protobuf file. This is accomplished by adding `flycheck`
to the list of packages, as well as defining a `post-init-flycheck()` function.

I've tested that this works with spacemacs `0.200.7@25.1.1`.
2017-04-09 12:55:24 -04:00
Eric Drechsel 05735cf328 Remove defunct flycheck-protobuf package.
This functionality is in the flycheck package now.
2017-04-09 12:55:15 -04:00
Amol Mandhane b08faa730e Add language layer for Protocol Buffers. 2017-04-09 12:55:02 -04:00
syl20bnr 2cbc1a6a6e github: make it depend on version-control layer 2017-03-31 00:52:26 -04:00
syl20bnr 7ba2e3ac4b github: remove github-browse-file
Replaced by browse-at-remote in version-control layer.
2017-03-31 00:52:16 -04:00
JAremko c277c9716b add browse-at-remote 2017-03-30 22:15:23 -04:00
syl20bnr 78f098ae46 Revert go-coverage to SPC m g c and move create-tages to SPC m g C
SPC m g C is only used in Clojure whereas SPC m g c is used in various layers.
This is simpler to just move create tags to SPC m g C and move the clojure
bindings to SPC m g c (since it is not used in the clojure layer).
2017-03-30 22:07:16 -04:00
JAremko 0fc5a729ff Rebind go-coverage to gC 2017-03-30 22:07:16 -04:00
Andre Silva ed8772fb93 scala: fix flyspell setup 2017-03-27 13:14:28 +01:00
Tor Hedin Brønner 6885863e8b java: Update ensime documentation 2017-03-26 13:31:17 -04:00
Codruț Constantin Gușoi 887eb9dc1e Adds the neotree-quick-look keybind
Weirdly, the `'` keybind for `neotree-mode-map` was already present when
doing `M-x neotree-quick-look` with the cursor on the neotree window but
I could not find where exactly it was defined.

This commit officially adds it to the `neotree-mode-map` and the neotree
transient state.
2017-03-26 13:27:19 -04:00
duianto 743471996f Update auto-completion layer readme.org: dead link
Problem:  The auto-complete link: auto-complete.org leads to a domain
          for sale page.
Solution: Change the link to the auto-complete github page.
2017-03-26 13:25:59 -04:00
syl20bnr 8ea95c9a73 elixir: reformat documentation and use blocks for code. 2017-03-26 13:24:19 -04:00
Ben Botwin 4dd4467ee3 Added instructions for dogma and fixed a typo 2017-03-26 13:15:41 -04:00
Robert O'Connor e9ff9f09c6 Remove trailing whitespace from all files 2017-03-26 13:06:43 -04:00
Denis Bernard 1f7c8d095d Fix void reference to go--position-bytes in go-rename 2017-03-24 22:29:53 +03:00
deb0ch 8226f0070f do not filter for alternating buffers 2017-03-24 22:29:52 +03:00
bmag 7b707537a1 Vagrant: update key bindings in docs 2017-03-24 22:29:52 +03:00
deb0ch 667421c43a put vagrant bindings under a prefix 2017-03-24 14:28:52 +03:00
Steven Allen 48c12d48d0 Partially tame exec-path-from-shell
1. Make it possible to exclude the package (fix the go and rust layers).
2. Import variables all at once (avoid spawning multiple login shells).
3. Import variables early (during the "pre" package loading stage).
4. Centralize the platform check by using a package toggle in the
   `spacemacs-base`.
5. Avoid importing already defined variables (except `PATH`/`MANPATH`).

Relates to #8537.

TODO: We can probably trim the platform list to macos only.
2017-03-24 14:23:38 +03:00
magia 281410de11 Fix python-enable-yapf-format-on-save 2017-03-23 13:57:47 +02:00
syl20bnr c9d332fbf1 java: refactor documentation to put meghanada first 2017-03-19 13:24:05 -04:00
syl20bnr f86c55f499 Remove SPC m e bindings since Flycheck is not integrated
Use the general key bindings SPC e e, SPC e n, SPC e p, SPC e l...

SPC m e e is now for error correction.
2017-03-19 12:40:36 -04:00
syl20bnr fa8e741122 syntax-checking: SPC e e trigger a check SPC e x to explain error 2017-03-19 12:40:36 -04:00
syl20bnr f45ce1a88e syntax-checking: rename function add-flycheck-hook to enable-flycheck
spacemacs/add-flycheck-hook was not really hooking anything, change the name
to better reflect what it does.
Also changed the push for a add-to-list to avoid duplicates.
2017-03-19 12:40:36 -04:00
syl20bnr dd85084826 java: multiple backends support
Define multiple dispatch functions for each service:
- spacemacs//java-setup-backend
- spacemacs//java-setup-auto-completion
- spacemacs//java-setup-syntax-checking
- spacemacs//java-setup-spell-checking
- spacemacs//java-setup-eldoc

java: replace ensime-configure-keybindings function by a variable

It's not convenient to have key bindings in funcs.el file, instead of relying
on a function we define a private layer variable java--ensime-modes which
can be updated by other layers using a :pre-config use-package hook.

java: refactor key bindings

- define key bindings for meghanada back-end
- move ensime key bindings documentation from scala layer to java layer
- change SPC m d for daemon to SPC m D (since SPC m d is reserved for debugging)
2017-03-19 12:40:36 -04:00
syl20bnr 12827c03d8 core: add :hooks property to spacemacs|add-company-backends
Allow to control wether to hook the generated hook functions or not.
2017-03-19 12:40:36 -04:00
syl20bnr 04790f515d java: move command prefixes definition to funcs.el 2017-03-19 12:40:36 -04:00
syl20bnr c552c35a77 java: add groovy and gradle packages 2017-03-19 12:40:36 -04:00
syl20bnr 40b996edff java: delete ensime layer and import it into java layer
Make scala layer depends on java layer.
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner 824356b679 Enable ensime completions properly for java 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner c68af66459 Add readme to Ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner 9aa4bde282 Add ensime support to java
New variable `java-backend' controls whether to use eclim, by default,
or ensime.

The setup is identical to scala and as such there's some functionality
included that still isn't supported in java.
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner dcba84bff4 Move initialization code to ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner a5d6171c28 Move keybinding setup to the ensime layer 2017-03-19 12:40:36 -04:00
Tor Hedin Brønner 5199ddbfcf Rename moved scala functions
Functions under the ensime layer should start with `ensime/'
2017-03-19 12:40:36 -04:00
Tor Hedin Brønner ab0ec8a777 Move ensime to it's own layer 2017-03-19 12:40:36 -04:00
bmag f5a736cdc1 Set evil-search-module correctly
- Just setting evil-search-module is not enough. If Evil is loaded already, we
  must call evil-select-search-module as well to actually change the
  key-bindings to use the correct search module.
- If the user didn't set hybrid-mode-use-evil-search-module so it's not bound,
  we treat it as if it was set to nil, to match the documentation and the
  default value of hybrid-mode-use-evil-search-module.
2017-03-13 21:06:07 +02:00
bmag a1c02ba323 dsm-line-numbers: support parent modes, fix mode restriction
Specifying parent modes (e.g. prog-mode) in :enabled-for-modes and
:disabled-for-modes keys in dotspacemacs-line-numbers catches derived
modes (e.g. c-mode) as well.

Fix bug where an empty :disabled-for-modes and a non-empty :enabled-for-modes
enabled line numbers everywhere, instead of only in modes specified in
:enabled-for-modes. (see https://github.com/syl20bnr/spacemacs/issues/8482)

Add auxiliary function spacemacs/derived-mode-p, similar to derived-mode-p but
takes a major-mode as an argument instead of using the current major-mode.
2017-03-13 21:04:00 +02:00
Ayush Goyal b00096e9ef Add transient state for smerge mode 2017-03-13 19:21:57 +02:00
Daniel Schoepe 70a0217be9 Fix 'o' on folded headings 2017-03-12 17:20:23 +02:00
Daniel Revere 9569d36bc7 Move pyim into the .cache directory. 2017-03-12 16:58:36 +02:00
duianto 443df5dbd5 Update bitbucket evil urls to github evil urls
The issues section in the bitbucket evil repository seems to
have been removed when the evil package was migrated to github.

It means that the bitbucket url to the file: evil-states.el,
is eventually going to become outdated and possibly removed.

And the bitbucket issue url now redirects to the bitbucket sign
up page.

Therefore both urls were updated to point to the equivalent
urls in the github evil repository.
2017-03-10 13:10:33 +02:00
bmag b6e553bd06 rg: explicitly request line numbers
rg tries to be smart about printing line numbers in its output (if running
inside a TTY or not). On Windows, sometimes (always?) it chooses not to print
line number. However, we always want line numbers, so we need to pass -n flag.

Also fix a minor grammar mistake.
2017-03-09 09:00:39 +02:00
Arjun Urs b8c9100d3a Adding keybinding to jump to currently open file in neotree 2017-03-07 09:35:07 +02:00
bmag 6f463c4d0e TeX fold: add comment about not-autoloaded commands 2017-03-06 15:58:26 +02:00
nashamri f8306a4f5c Add shortcuts for missing latex folding functions 2017-03-06 15:51:03 +02:00
bmag f853b78148 Refactor long comment 2017-03-06 15:46:01 +02:00
kenkangxgwe f5c5fdd735 Add extension ".wl" for wolfram-mode 2017-03-06 15:44:23 +02:00
duianto 92751fdcfb Update packages.el, remove trailing white space
My previous commit left behind a trailing white space.
2017-03-05 21:42:47 +02:00
deb0ch 8ea2bd7b6c fix error when nlinum is enabled and dotspacemacs-line-numbers is t 2017-03-04 10:18:46 +02:00
bmag 165b4b425f Refactor transparency functions 2017-03-03 18:14:35 +02:00
Adam Basfop Cavendish a7b0fc0485 Add enable/disable transparency functions
Add spacemacs/enable-transparency and spacemacs/disable-transparency.

For anyone who'd like to enable transparency at startup, just write '(spacemacs/enable-transparency)' to .spacemacs, and it'll work fine.

Fix spacemacs/increase-transparency and spacemacs/decrease-transparency
2017-03-03 18:14:03 +02:00
Juraj Martinka c48921ab2d Fix typo in Clojure layer README 2017-03-02 16:12:37 +01:00
Igor Avdeev 750563961f Fix spacemacs/rename-current-buffer-file on non-file buffers.
fix issue #8415
2017-03-02 09:31:44 +02:00
Ben Gamari 7ce71c711f Add Buffer-menu-mode to global-auto-revert-ignore-modes
Fixes #7661.
2017-02-28 19:01:36 -05:00
Aaron Jensen 0c8af9686c Fix ivy wgrep and helm-ag when used with rg
wgrep does not know how to handle column numbers, which the `--vimgrep` flag
adds.
2017-02-20 08:39:42 +02:00
syl20bnr 3072e72773 Replace use-package :diminish by spacemacs|hide-lighter 2017-02-13 08:38:37 -05:00
syl20bnr 8f1a5d6fd5 coq: fix some configuration
- delete some diminish expressions which are not related to PG and user
  spacemacs|hide-lighter instead of spacemacs|diminish
- move company related configuration to the correct place
- move setq expressions to :init blocks to allow users to easily change them
2017-02-12 23:45:56 -05:00
syl20bnr e413534e01 Update layers.org 2017-02-12 23:45:39 -05:00
syl20bnr 3da2f3702e emacs-lisp: don't use custom-set-variables
As it make evil to error when the delq form is written the customize file,
instead we call the set method manually and it works fine.

Would be better and more future proof to curry the set function into a named
function of 0 arity for evil-intercept-maps custom setting.
2017-02-12 22:59:26 -05:00
syl20bnr 76b0d3c48a csharp: comment typo 2017-02-12 22:24:25 -05:00
syl20bnr fe168f07b3 coq: update key bindings and README
README:
- add `SPC m` prefixes to follow the style of the other READMEs
- Sort key bindings alphabetically

Key bindings changes made to be more mnemocnic and/or to better fit the other
key bindings of other layers:

- SPC m p b --> SPC m p p (show prover process buffer)
- SPC m p c --> SPC m p i (interrupt prover process)
- SPC m p x --> SPC m p q (quit prover process, maybe SPC m p k for kill would
  be better ?)

- SPC m a p --> SPC m a a to print query
- SPC m a n p --> SPC m a A to print query showing all
- SPC m a i p --> SPC m a i i to print query showing implicits
- Ask showing all bindings use the same keys as regular Ask but the last key
  is capitalized, example: SPC m a b (ask about) and SPC m a B (ask about
  showing all)
- Ask showing implicits are still on SPC m a i (we could also use Control key,
  for instance SPC m a b (ask about) and SPC m a C-b (ask about show implicit),
  it depends on how frequent showing implicits are used).

- SPC m g . --> SPC m g l (go to end of Locked command)
- SPC m g d --> SPC m g g (using the jump handlers facility of Spacemacs)
- SPC m g a --> SPC m g s (to go to start of command)
2017-02-12 22:24:25 -05:00
Jeremy Bi 8b72130fc5 Add coq layer 2017-02-12 21:31:44 -05:00
syl20bnr d97143be08 emacs-lisp: remove SPC g f as it is already available with SPC j f 2017-02-12 13:49:40 -05:00
syl20bnr aa6cdd938e emacs-lisp: update README and add an interactive edebug quick start 2017-02-12 13:48:23 -05:00
syl20bnr a0bcbbd38a Add conventional evilified key bindings for edebug-mode 2017-02-12 13:48:02 -05:00
syl20bnr 87cd00eac7 conventions: update debug conventions
Step in and Step out are now, i and o respectively.
Inspect a value is now v.
Next step is now s.

These new conventions better fit evilificiation.
2017-02-12 13:02:55 -05:00
syl20bnr 36b6b29cde Fix evilification of edebug-mode-map 2017-02-12 12:50:07 -05:00
syl20bnr 6e713ed89f emacs-lisp: add support for debugger and edebug
Make edebug key bindings work in normal state.
Add evilification of debugger stack trace buffers.
2017-02-11 17:23:14 -05:00
syl20bnr 64e0787123 emacs-lisp: add SPC m g f to go to a selected known function definition 2017-02-11 17:23:14 -05:00
Eivind Fonn 1458b3ff73 Remove deferred for projectile-rails 2017-02-11 11:19:04 +01:00
Adam Sokolnicki 26e64d3918 Use projectile-rails-global-mode if available 2017-02-11 11:18:03 +01:00
syl20bnr f6ccc1eb6f Add JR programming language layer 2017-02-10 14:48:37 -05:00
syl20bnr aaf2f7d535 github: move load-gh-pulls-mode to funcs.el 2017-02-09 18:00:32 -05:00
Tim Jaeger acaf0e31f5 Implement layer for developing in the Forth language 2017-02-09 18:00:32 -05:00
syl20bnr cbab7cac59 markdown: add SPC m i t key binding to instert toc 2017-02-09 17:02:50 -05:00
syl20bnr eef1a87e98 Fix evil-search module activation
The search module must be set before requering evil otherwise the variable is
set but it has not effect and `isearch` module is the active module.
2017-02-07 16:53:33 -05:00
deb0ch cfcdb4dabc fix evil-search enabling in evil-state (c7e47de)
There was an error on startup saying that hybrid-mode-use-evil-search-module was
void as a variable.
2017-02-07 16:36:02 -05:00
syl20bnr b53a8957a1 github: add magithub
to opt-out simply add magithub to the dotspacemacs-excluded-packages variable
2017-02-06 22:48:38 -05:00
syl20bnr 4ab741b1da Fix error global-linum-mode-check-buffers wrong type error
Check dotspacemacs-line-numbers type before getting any keyword value.
Fixes #8318
2017-02-06 08:56:16 -05:00
syl20bnr 3f38ab0a51 line-numbers: fix spacemacs/enable-line-numbers-p
Fix the condition by moving the check for file size.
2017-02-05 23:49:17 -05:00
syl20bnr d5d80eb1a1 line-number: fix backward compatibility
There was an error in `linum-on` when `dotspacemacs-line-numbers` was set to
`'relative`.

- new function `spacemacs//linum-backward-compabitility` to test for old
supported values.
- Use an :around advice for `linum-on` instead of redefining it.
- move linum init time config to `:init` section of `use-package`
- fix relative linum initialization by testing if `dotspacemacs-line-numbers` is
  a list first.
2017-02-05 13:50:50 -05:00
syl20bnr ddfb996b20 line number: broke enable-p condition into functions
Also remove the docstring about SPC h SPC as it is already implied for the other
options in the dotfile.

Note that this commit modifies one condition, namely disabled mode condition.
It removes the first test:

    (not (spacemacs/mplist-get dotspacemacs-line-numbers :enabled-for-modes))

as it is not necessary since we have a `or` in the enable-p condition. Disabled
modes will be checked only if the current major mode is not explicitly enabled
(as intented).
2017-02-05 13:10:30 -05:00
deb0ch c346c7dc99 nlinum: activating nlinum-relative now activates nlinum
reflect ddbee36.
2017-02-05 12:47:23 -05:00
deb0ch a28e17c4d3 line numbers: finer configuration of line numbers activation 2017-02-05 12:47:19 -05:00
syl20bnr ae9a088d19 core: Fix typo 2017-02-05 12:28:03 -05:00
syl20bnr c7e47de938 evil: enable evil-search search module in evil state.
Add new hybrid variable hybrid-mode-use-evil-search-module to switch evil
search module to its own which is closer to Vim. Default is nil.

Fixes #5101
2017-02-03 19:36:19 -05:00
syl20bnr d3bd29997a sphinx: add missing key bindings to README 2017-02-03 11:53:28 -05:00
syl20bnr d1d58ef9f4 sphinx: add new conventional command under , c and add , g c
New functions in rst-sphinx:
- rst-sphinx-find-conf-py-path
- rst-sphinx-open-conf
- rst-sphinx-clean
- rst-sphinx-rebuild

Modified functions:
- rst-sphinx-compile takes now an optional argument to clean the project
- rst-sphinx-find-conf has been renamed to rst-sphinx-set-variables and now use
rst-sphinx-find-conf-py-path function

New key bindings:
- "cc" --> rst-sphinx-compile
- "cC" --> rst-sphinx-clean
- "cr" --> rst-sphinx-rebuild
- "gc" --> rst-sphinx-open-conf
- "o"  --> rst-sphinx-target-open)))
2017-02-03 11:40:19 -05:00
d12frosted 57e653a221
minor improvements in elixir README file 2017-02-03 11:10:40 +02:00
denin 52ea26a052
elixir: add support for credo
There was no flycheck-credo package in the layer.
Although it was described in documentation, how to install credo.
This commit fixes documentation and adds flycheck-credo package.
2017-02-03 11:09:07 +02:00
syl20bnr e059d9bbeb sphinx: add sphinx logo to README 2017-02-02 15:34:44 -05:00
syl20bnr 6c1f221196 restructuredtext: mention auto-complete-rst to README 2017-02-02 15:01:07 -05:00
syl20bnr 05f7743714 minor copyright year fix 2017-02-02 14:57:14 -05:00
syl20bnr 1cfb90e030 auto-complete: add fuzzy package
Needed for fuzzy completion with auto-complete
2017-02-02 14:56:44 -05:00
syl20bnr 42b2c4a144 restructuredtext: fix auto-complete conflicts with flyspell and linum 2017-02-02 14:56:13 -05:00
syl20bnr a1e63424e2 reST: Extract sphinx specific config to a stand alone sphinx layer 2017-02-02 14:55:18 -05:00
syl20bnr 7ced78089d restrucutredtext: rename deprecated extensions folder to local 2017-02-02 14:37:19 -05:00
syl20bnr 56377cf1b3 Rename ReST layer to restructuredtext and clean up layer
rest can be confusing since there is already a restclient layer.
2017-02-02 09:37:34 -05:00
Wei-Wei Guo 9399de0ddc Add ReST layer 2017-02-02 09:09:31 -05:00
syl20bnr 7d75e651a4 Remove limitation of number of candidates for helm-themes
Fixes #4062
2017-02-02 00:08:59 -05:00
syl20bnr 36044870cb themes-megapack: add missing solarized-theme 2017-02-01 17:27:41 -05:00
d12frosted 3433e94913
fix typo in flymd configs 2017-02-01 19:37:23 +02:00
d12frosted bb3e5c8289
fix go layer headers 2017-02-01 16:06:00 +02:00
d12frosted 2319bdc350
add note about flymd in markdown layer 2017-02-01 16:00:43 +02:00
hodge 621c0e0741
add flymd to chrome layer(a realtime markdown preview) 2017-02-01 15:51:40 +02:00
d12frosted 1a5579db6f
unify transient states
- use `..` for listing
- use 2 spaces between groups
- use 1 space between key binding and action
2017-01-31 18:27:01 +02:00
duianto 640efb8562
Update buffer transient state formatting
Changed the buffer transient states formatting so that it matches
most of the other transient states.

Frontend
Reduced spacing:
- Between the keys and descriptions, from 2 to 1.
- Between both columns, from 4 to 2.

Backend
The first column didn't need the last two "^" (caret) characters.
Changed the last line so that "^^^^" starts below the first column.
2017-01-31 18:27:00 +02:00
duianto e89285dd67
Update window manipulation transient state formatting
Update the formatting of the SPC w .  window manipulation
transient state panel.

Select column
Change "[0-9] window N", to "[0..9] window 0..9",
so that it matches the SPC "0..9 -> window 0..9" and
SPC b "1..9 -> buffer to window 1..9" combined entries.

Split column
Add "i" to the end of "vert", then it'll have the same number
of characters as "horiz", and the text will be aligned.

Resize column
Shorten "horizontally" and "vertically" to "horiz" and "verti",
it reduces the panels width slightly.

Other column
Shorten the horizontal line below the title, so that it matches
the longest key description.

Move [q] quit to the bottom of the column.

All columns
Equalize the horizontal spacing between the columns,
from: 2, 2, 3, 3, to 2 between all columns.
2017-01-31 18:27:00 +02:00
cyberxndr 05d6cc7d9e Fixed ranger layer documentation
Updated entry for "show dotfiles at ranger startup" option.
Old variable had no effect (possibly deprecated)

Updated entry for "show previews literally" option.
Old variable had no effect (possibly mistype)
2017-01-31 18:01:30 +02:00
madhat2r fd0bcf0afc
add madhat2r theme to megapack 2017-01-31 17:59:27 +02:00
Wieland Hoffmann 99cf5750e3
syntax-checking: Mention that flycheck is disabled in emacs-lisp-mode. 2017-01-31 17:59:07 +02:00
Benedek Fazekas 970acddacf Clojure refactor: replace cycle coll with convert to coll
Cycle collection type was recently removed from `clj-refactor` as the
feature was migrated and rewritten in `clojure-mode`. The new feature
lets the user convert a collection into a specific collection type
instead of cycling through them.

To added shortcuts correspond to the shortcuts of this feature in
`clojure-mode` and placed in the refactor submenu.
2017-01-26 12:09:50 +00:00
Ivan Verevkin 5af909ab11
Fix typo for spell-checking readme 2017-01-25 17:01:46 +02:00
syl20bnr 9ac779a2e4 core: import spacemacs-theme into libs
Distribute spacemacs-theme with Spacemacs so we don't need to download the
package of the theme at startup. It was delaying the display of the home buffer.

Now Spacemacs fallback to spacemacs-dark theme if the user theme cannot be
applied. Spacemacs then tries to install and reapply the user theme. If
successful, at the subsequent startups the user theme is applied right away
instead of spacemacs-dark. If the installation failed then we display a warning
informing the user and suggesting some actions.

There is now no package left to be installed manually at the start of Spacemacs.
2017-01-25 00:30:31 -05:00
syl20bnr 973f6fe5ae core: import ido-vertical-mode into core/libs
It provides more intuitive way to display the wizard.
2017-01-23 23:52:57 -05:00
d12frosted ab878bd7ac
update cider keybindings doc 2017-01-23 13:25:48 +02:00
Ivan Plyusnin 15e86700ec
Fix number of arguments in calling cider-test- funcs 2017-01-23 13:21:38 +02:00
syl20bnr 1846984bd0 core: add support for interpreter-mode-alist to layer lazy installation
Update python lazy declaration as an example.
Still need to update the auto-layer.el file for other modes.
2017-01-22 13:41:04 -05:00
syl20bnr a00179c13f Improve spacemacs/count-word-analysis
Also display overview information using regular count-words function.
2017-01-19 17:16:56 -05:00
syl20bnr cf5dac00ad core: move and rename spacemacs//get-package-directory
Move it to core-configuration-layer.el
Rename it to configuration-layer/get-elpa-package-install-directory
2017-01-17 00:20:59 -05:00
syl20bnr 6b6d365b96 Speed up SPC h SPC by moving FAQ source in its own feature
Getting FAQ candidates requires org to be loaded which in turn requires to
load magit (via orgit) etc...

This commit moves the FAQ helm source to a new feature helm-spacemacs-faq and
removes the FAQ source from SPC h SPC so the FAQs are only available as a helm
source via SPC h f.

But we have still the FAQ org file entry in SPC h SPC so it is easy to open
the file from the main help key binding.
2017-01-15 22:19:56 -05:00
syl20bnr c1274fe580 Remove spacemacs-base/helm-spacemacs-deprecated 2017-01-15 22:19:56 -05:00
syl20bnr 3162f0e19b core: factorize code in configuration-layer/make-all-packages 2017-01-15 22:19:56 -05:00
bmag d2168806b6 sort-lines-by-column-reverse: fix wrong call 2017-01-14 22:15:11 +02:00
deb0ch dc36181cba fix window-manipulation and buffer transient states for winum 2017-01-14 17:18:29 +02:00
deb0ch afbff1a943 restore emacs-style window selection bindings 2017-01-14 17:15:58 +02:00
Somelauw aed1594548 Add more bindings to scroll-transient-state
Move scroll bindings to SPC N
2017-01-14 17:08:57 +02:00
duianto e144fde0de update uniquify-lines, uniquify a block selection
An active evil-visual-block selection, uniquified the whole buffer, this
checks either region-active-p or evil-visual-state-p, now it sorts the
selected lines.

The comment was also updated with "a" before "region" and "the" before
"current buffer".
2017-01-14 16:53:05 +02:00
duianto 04ded77199 add sort-lines-by-column, -reverse funcs and keys 2017-01-14 16:52:44 +02:00
duianto e14c29e1df add sort-lines arg, reverse func and key binding 2017-01-14 16:51:54 +02:00
syl20bnr e2fafb88c8 Update generated LAYERS.org 2017-01-12 23:20:56 -05:00
nikolaiam 796fcfaa53 Hide PROPERTIES drawers in space-doc-mode
Hide properties in space-doc-mode to allow the use of `CUSTOM_ID` tags in
documentation for correct link exporting, as discussed in #8054, #8136
and #8138. Complementary the latter two PR:s.
2017-01-12 22:49:15 -05:00
syl20bnr 70c6fcef02 common-lisp: add SPC m h i to inspect a definition 2017-01-12 22:33:09 -05:00
Michał Herda e12f469aa2 Layer common-lisp - set jump handler to SLIME-EDIT-DEFINITION
https://github.com/syl20bnr/spacemacs/issues/8043

"Go to definition" should go to the definition - meaning, where the function is defined in the source code.

I am for changing the default keybinding to `slime-edit-definition` because it fulfills this - allows the user to see the source code for a given function.

`slime-inspect-definition` does not open the source code - it opens the SLIME inspector with the function **object** open in the inspector. While the function **object** contains some valuable data, it does not contain the *definition* itself - which is what the user wants in this case.
2017-01-12 22:29:54 -05:00
syl20bnr 4b8f54ff38 Fix golden ratio for new package winum 2017-01-09 09:13:20 -05:00
ilia acb2d379c0 Fix cider and cider-repl modes in company configuration 2017-01-07 00:21:45 +03:00
Eivind Fonn 3bbeaee2b2 Don’t configure company in init-cmake-mode
This is already taken care of in post-init-company
2017-01-06 12:01:18 +01:00
deb0ch 550821baae
configure xkcd inside the :init progn clause 2017-01-06 06:49:29 +02:00
syl20bnr b296a93929 ymcd: simplify eldoc integration
ycmd-eldoc is not a package, it is a feature provided by ycmd package.
Use regular post-init mechanism to setup eldoc.
2017-01-05 23:13:45 -05:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
d12frosted a1fcb13803
fix spacemacs|add-company-backends usage example 2017-01-05 08:59:27 +02:00
zilongshanren c22991d587
remove un-intended quote in company-anaconda 2017-01-05 08:58:01 +02:00
d12frosted 0d6c378a51
improve ledger-reconcile-toggle key binding
Actually, revert @jgertm's change that I asked to make. As @bmag explained, this
is very useful key binding that is similar to C-c C-c as it allows to quickly
access functionality by pressing `dotspacemacs-major-mode-leader-key` twice.
Also note that `dotspacemacs-major-mode-leader-key` can be nil, that's why we
have to handle this value as well.
2017-01-05 07:57:46 +02:00
Brent Taylor 1ff7c10f19
Fix python path with virtualenv on Windows in Python nose package 2017-01-04 22:38:25 +02:00
Saulius Menkevičius 414396595b
Fix issue with jump handler in omnisharp-mode where the handler is async
This fixes an issue where default jump handler, like dump-jump-go runs
in sync and omnisharp-go-to-definition is not able to actually go to
definition until it completes thus slowing down the completion process.

A similar issue (for C++) was fixed in syl20bnr/spacemacs#6904
2017-01-04 22:35:45 +02:00
d12frosted 2581058a49
add xkcd buffer to list of useful buffers
Fixes #7280
2017-01-04 22:29:18 +02:00
Steven Allen 9fb2634817
Fix eldoc initialization in typescript layer. 2017-01-04 22:04:25 +02:00
Tim Jaeger cc4aa59d08
Add keybindings for ledger account reconciliation 2017-01-04 21:55:32 +02:00
Nikolai Myllymäki 1899666592
Show correct headline for beginners tutorial in SPC h SPC 2017-01-04 20:26:48 +02:00
deb0ch ae81e00db6
use winum.el for window numbers
winum.el is an heavily extended and partly rewritten version of
window-numbering.el.

Among other things it allows window numbers to be shared across frames,
thus improving multi-screen user experience.
2017-01-04 19:33:13 +02:00
Nir Friedman daa1e33f55
Add binding for jump to def'n other window 2017-01-04 19:30:58 +02:00
deb0ch 04c632939a
harmonize switch-to-scratch-buffer and switch-to-messages-buffer 2017-01-04 19:28:38 +02:00
deb0ch 352c76ca72
switch-to-scratch-buffer with prefix arg opens in other window 2017-01-04 19:28:33 +02:00
Aaron Jensen 10c59bb142
ivy: Add C-c C-e to edit counsel-ag search results 2017-01-04 19:26:33 +02:00
Nir Friedman 0dfafc7604
Add ycmd-eldoc to ycmd layer 2017-01-04 19:25:08 +02:00
syl20bnr 8ee74b6925 Remove debug message :-) 2017-01-02 11:12:43 -05:00
syl20bnr c558833e08 More robust fix for error ‘fuzzy-match’ not supported in async sources
Fixes #8094
2017-01-02 11:10:07 -05:00
syl20bnr a5ac11b832 Fix helm :config: ‘fuzzy-match’ not supported in async sources.
Fixes #8091
2017-01-02 01:36:15 -05:00
syl20bnr 74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00
syl20bnr bdd4e6c23f typescript: move eldoc config to init function 2017-01-02 00:12:51 -05:00
syl20bnr c725823e73 javascript and react: reformat code and move funcs to funcs.el
Some conventional cleanup.
Note that the function `spacemacs/js2-refactor-set-key-bindings` has been
removed since it is not used anywhere.
2017-01-01 22:45:23 -05:00
syl20bnr ab34cc2d9d html: set company min. prefix length to 0 for company-web backend
for more info: https://github.com/osv/company-web/issues/4
2016-12-31 00:14:30 -05:00
syl20bnr e1efeea5d6 html: fix addition of company backends
Move add-company-hook calls to correct init functions (only css backend is from
company package, the others are from company-web).

Correctly add company backends for jade and slim. Jade has been renamed to
Pug , there is no guarantee at all that jade references still work. To check.
2016-12-31 00:01:58 -05:00
ralesi 81b782e5df company-web: defer company-web loading 2016-12-30 23:23:43 -05:00
Nir Friedman 946f14e0d3
Overhaul buffer transient state
- add new bindings to move and swap buffers, and switch active window,
   by number
 - change kill buffer shortcut to d for consistency
 - Change docs appropriately
2016-12-28 21:56:18 +02:00
d12frosted d76c5a75d5
repalce fill-or-unfill with unfill package 2016-12-27 09:57:49 +02:00
Koray Al aaefaa3573
Added auto load virtualenv support via .venv file
The `pyvenv-mode` doesn't provide a list of available virtual
environments. So it's not currently possible to check if the
provided virtualenv name is available
2016-12-27 09:55:28 +02:00
duianto 7021490b61
update select-current-block, reduce code
Removed the variable p2, it was defined and assigned, but never used.
Removed two progn expressions that wasn't needed.

Implemented bmag's suggestions:
Changed "if" to "when", and removed a superflous p1 assignment.
2016-12-27 09:52:24 +02:00