Commit graph

1425 commits

Author SHA1 Message Date
Paul Schorfheide ac71e1064c Update documentation for shell layer to support left or right position 2016-03-30 18:46:57 -04:00
syl20bnr 8085a87627 Update Layers.org 2016-03-30 17:51:16 -04:00
syl20bnr 6018ce6370 faust: fix image link in README.org 2016-03-30 17:51:16 -04:00
syl20bnr c4d9ca8fba spacemacs layouts and workspaces tweaks
- add `l` to workspace transient state to go back to layout transient
  state
- remove erroneous `l` and `h` keys on layouts transient state
- unique documentation toggle for layouts and workspaces
- reformat and sort transient states documentation
2016-03-30 14:29:55 -04:00
syl20bnr bf9f281269 ruby: use :toggle and fix location or ruby-mode 2016-03-27 15:52:43 -04:00
syl20bnr 6e0a76f8ca go: set location property of go-oracle to site
instead of local
it had no bad side effect but `site` is the correct value for a package
that comes from somewhere else on the system.
2016-03-27 12:22:14 -04:00
syl20bnr a9c9e9a7ae Add lazy install support for windows-scripts 2016-03-26 03:38:46 -04:00
syl20bnr 5495c8dff2 python: correctly mark python package as built-in 2016-03-26 03:24:35 -04:00
syl20bnr dd14afaf26 workspaces: new workspace clones the current one
Fixes #5566
2016-03-25 10:37:03 -04:00
syl20bnr 48fa6107e8 Add lazy installation support for csv files 2016-03-25 01:29:57 -04:00
syl20bnr 63df395975 Fix eyebrowse error when syncing layers
Fixes #5573
2016-03-25 01:12:30 -04:00
syl20bnr a33b0d02c7 Revert unwanted change in previous commit 2016-03-25 01:11:32 -04:00
syl20bnr fa8271d689 Add entries in auto-layer.el 2016-03-25 01:03:47 -04:00
syl20bnr 16afe67907 core: enhance lazy installation of layer
Now Spacemacs will ask for layer installation when opening a file with
a known file type.
The auto-mode-alist entries are added by the file auto-layer.el in
the layers directory.

Easy insert of forms for lazy initialization can be done with the
interactive function configuration-layer//insert-lazy-install-form.

Change default value of dotspacemacs-enable-lazy-installation to t.
2016-03-25 01:03:37 -04:00
Nathaniel Waisbrot 0a61440101 Add a layer for nginx config files 2016-03-24 22:02:40 -04:00
syl20bnr 130cd48d03 graphviz: update key bindings and smartparens support
Change the key bindings:
- Remove SPC m p
- Better support for double leader keys for preview (,, and M-m M-m)
- Graph indentation on SPC m =

Add support for smartparens when it is used for {} pair.

Update the doc.
2016-03-24 21:54:54 -04:00
luxbock 87db0174a2 Adds Graphviz layer
- Uses a forked version of graphviz-dot-mode.el with a local install.
  Upstream PR: ppareit/graphviz-dot-mode#18
2016-03-24 19:46:47 -04:00
syl20bnr 9368cba427 Update windows transient state docstring 2016-03-24 00:49:46 -04:00
syl20bnr 92cc50bbaa twitter: improve layer
- Refactor configuration
- Change logo
- Better default key bindings
- Add a transient state
2016-03-24 00:49:37 -04:00
syl20bnr 9d0558992c layers directory: create new categories
+chat
+checkers
+emacs
+intl
+os
+pair-programming
+tags
+theme
+web-services
2016-03-23 21:39:43 -04:00
Diego Berrocal 04dc6a79c8 Add Twitter layer 2016-03-23 21:05:26 -04:00
syl20bnr 0248e384a2 restclient: install both ob-http and restclient
The variable `restclient-use-org` now just set the auto mode alist it
does not select which package to install.
2016-03-23 17:11:55 -04:00
syl20bnr 8266b5f98d plantuml: update config for org babel and delete packages-config.el 2016-03-23 10:29:24 -04:00
syl20bnr 13fe9f3cc9 resclient: add ob-http / org: add support for org-babel languages
Add layer variables `restclient-use-org` to use `ob-http` instead of
`resctlient`

Add support for easy addition of org-babel languages by appending to
`org-babel-load-languages` alist in org post-config use-package hook.
2016-03-23 10:28:27 -04:00
syl20bnr 82efa16dab Fix long-lines toggle and rename it
Fix global version of the toggle
Rename it to highlight-long-lines
2016-03-22 09:38:37 -04:00
syl20bnr 828ae8113d Replace enforce-column layer by a toggle on SPC t 8 2016-03-21 21:18:36 -04:00
Daniel Luna 70193ec471 Adding column-enforce-mode layer 2016-03-21 20:42:46 -04:00
syl20bnr 8e6fd86577 faust: refactor layer
Add a funcs.el.
Fix `use-package` usage.
Modify key bindings to meet conventions.
Prefix function with `spacemacs/`
2016-03-21 20:33:35 -04:00
syl20bnr f48b251968 Delete SPC j b and move SPC j u to SPC j b
By convention, jump back should be on `b`, not `u`
Since `SPC j u` is free, move as well `SPC j U` to `SPC j u`.

`SPC j b` for bookmark jump is already available under `SPC f b`
2016-03-21 20:02:56 -04:00
Bart Brouns 3a9e8c1723 add faust-layer, remove faust from extra-langs
My first spacemacs layer, total elisp newb.
Does what it says in the README, with one bug:

I have auto-completion-enable-snippets-in-popup t in my .spacemacs
In faust files, only yas-keys that have a similar word in an open buffer
show up in the company menu.

Example: with no open buffers ne doesn't show a company menu,
if a file has the word nent in it, I get a menu with ne -> nentry (the snippet) and nent.

having ne$AnyTwoCharacters in the file also works, but just ne or nen doesn't.
2016-03-21 19:39:49 -04:00
syl20bnr 944960daf8 Move eyebrowse to spacemacs-layouts layer and add documentation
Add toggle capability with ? for workspaces transient state
Remove the variable eyebrowse-display-help
2016-03-20 21:48:06 -04:00
syl20bnr b697571021 Revert default value of hybrid-mode-default-state to normal 2016-03-17 17:43:10 -04:00
Eivind Fonn 6d5f55f09e Fix evil-inner-buffer text object 2016-03-17 09:15:06 +01:00
syl20bnr 50ff429f81 Set hybrid-mode-default-state default value to hybrid 2016-03-16 23:41:45 -04:00
syl20bnr ca5b8be90b New hybrid mode variable hybrid-mode-enable-evilified-state
When non nil then evilified buffer use evilified state, otherwise
they use the emacs state (may put the hybrid state if users get
confused).
2016-03-16 23:34:20 -04:00
syl20bnr 2d61e5304e core: add support for :variables keyword in dotspacemacs-editing-style
Add variable `hybrid-mode-enable-hjkl-bindings` to enable hjkl
navigation in hybrid mode.

example:

dotspacemacs-editing-style '(hybrid :variables
                                     hybrid-mode-enable-hjkl-bindings t
                                     hybrid-mode-default-state 'normal)
2016-03-16 22:43:50 -04:00
syl20bnr c2296f71f8 Put back holy and hybrid in spacemacs base layer
They are not optional
Also fixes some bugs like toggling hybrid mode from holy mode and
toggling off the hybrid mode.
2016-03-16 21:59:44 -04:00
syl20bnr cfdfcfab40 Revert hybrid mode to use an evil hybrid state
To follow with the refactor of the holy-mode which uses the
emacs state of evil mode, the hybrid mode now uses the evil hybrid
state.

We have now a clean symmetry between all the editing styles where each
of them has an associated state:
- vim = insert state
- emacs = emacs state
- hybrid = hybrid state

This gives consistent properties to all editing styles and most
importantly allows to have true isolation of key binding maps. It has
the huge benefit to be easier to explain since now everything can
leverage the evil API regarding key bindings.

Note: Regular Emacs key binding functions can still be used for emacs
and hybrid states so there is no regression with the previous
implementation, we just gain better isolation at the cost of a few
duplicated lines of code which will be easy to update as needed if
evil upstream code changes (this code has been commented with a link
to the upstream code).
2016-03-16 21:30:03 -04:00
syl20bnr 82fdd9a511 Use evil in holy-mode
Motivation

While disabling Evil in holy-mode makes its implementation shorter and
sounds elegant on the paper, in practice it puts a big burden on the
configuration parts which need to know if Evil is enable or not. This is
a bad separation of concerns and the bunch of fixes that we were forced
to do in the past weeks shows this issue. Those fixes were about
removing the knowledge of the activation of Evil by implementing new
dispatching functions to be used by layers, this is cumbersome and makes
Spacemacs layer configuration more subtle which is not good. There was
additional bad consequences of the removal of Evil state like the
impossibility to use Evil lisp state or iedit states, or we would have
been forced to implement a temporary activation of Evil which is
awkward.

Instead I reintroduce Evil as the central piece of Spacemacs design thus
Evil is now re-enabled in holy-mode. It provides the abstraction we need
to isolate editing styles and be able to grow the Spacemacs
configuration coverage sanely. Layers don't need to check whether the
holy mode is active or not and they don't need to know if Evil is
available (it is always available). We also don't need to write
additional dispatching functions, this is the job of Evil, and I think
it provides everything for this. Ideally configuration layer should be
implemented with only Evil in mind and the holy-mode (and hybrid-mode)
should magically make it work for Emacs style users, for instance we can
freely use `evil-insert-state` anywhere in the code without any guard.

Evil is now even more part of Spacemacs, we can really say that
Spacemacs is Emacs+Evil which is now an indivisible pair. Spacemacs
needed this stable API to continue on the right track.

While these changes should be rather transparent to the user, I'm sorry
for this experimental period, I failed to see all the implications of
such a change, I was just excited about the possibility to make Evil
optional. The reality is that Spacemacs has to embrace it and keep its
strong position on being Emacs+Evil at the core.

Implementation

- insert, motion and normal states are forced to emacs state using an
advice on `evil-insert-state`, `evil-motion-state` and
`evil-normal-state` respectively. These functions can be used freely in
the layer configuration.
- A new general hook `spacemacs-editing-style-hook` allow to hook any
code that need to be configured based on the editing style. Functions
hooked to this hook takes the current style as parameter, this
basically generalize the hook used to setup hjkl navigation bindings.
- ESC has been removed from the emacs state map.
- Revert unneeded changes
  - Revert "evil: enter insert-state only from normal-state"
    commit bdd702dfbe.
  - Revert "avoid being evil in deft with emacs editing style"
    commit f3a16f49ed.

Additional changes

All editing style packages have been moved to a layer called
`spacemacs-editing-styles`

Notes

I did not have time to attack hybrid mode, I should be able to do it
later.
2016-03-13 21:16:55 -04:00
syl20bnr 4d46a5e423 layouts: prefer symbol-value instead of eval
See first paragraph of
https://www.gnu.org/software/emacs/manual/html_node/elisp/Eval.html
2016-03-12 13:58:46 -05:00
syl20bnr 08a8f13b4d Update layers.org 2016-03-12 13:51:25 -05:00
syl20bnr 4e7a814676 org: set org-publish-timestamp-directory to .cache 2016-03-12 13:51:25 -05:00
Eivind Fonn 88f7467f6f Fix persp-mode config for erc and rcirc 2016-03-12 17:59:28 +01:00
Eivind Fonn 3412429360 Custom layout: eval name and binding 2016-03-12 17:59:28 +01:00
Eivind Fonn 1b503000c8 Move layouts functions to packages-funcs.el 2016-03-12 17:59:28 +01:00
Diego Berrocal a86a0ee1ca Add IRC buffers to respective perspectives
This attempts to fix https://github.com/syl20bnr/spacemacs/issues/4781
2016-03-12 17:59:28 +01:00
Eivind Fonn 0585c4047b Fix indentation 2016-03-12 17:55:29 +01:00
M. Tong d2d82e2312 Fix error when using `spacemacs/counsel-search' wihout initial input. 2016-03-12 17:54:43 +01:00
Muneeb Shaikh f903460994 source-control: git-timemachine goto nth revision
Allows you to goto arbitrary revision by inputting rev number. e.g. To
goto 1st revision of the file, enter 1.
2016-03-12 17:51:50 +01:00
Eivind Fonn b045d451fd Fix long lines in evil-snipe readme 2016-03-12 17:51:13 +01:00
denin 252cb1c28b update evil-snipe readme about symbol groups 2016-03-12 17:49:48 +01:00
Eivind Fonn ee6e84de10 Enhance compilation keybindings
- Make sure to defer after load of compile
- Use `gr' instead of `g' for recompilation
2016-03-12 17:49:20 +01:00
denin a4ce07dd12 restore evil-binding of 'g' key in a compilation buffer
By default, recompile is bound to 'g' in compilation buffer.
It was rebound to 'r' key.
2016-03-12 17:47:18 +01:00
Fabien Dubosson 68e88df3c8 Correct SPC q D prompt and simplify the function 2016-03-12 17:46:31 +01:00
Eivind Fonn 47789270d9 Don't nest `when' 2016-03-12 17:45:41 +01:00
Muneeb Shaikh 6c17e3bc3a fix #5448: guard nil buffer size 2016-03-11 17:00:13 +05:30
syl20bnr d52eb414bb Remove dotspacemacs-use-ido
Users should now bind ido commands themselves.
2016-03-10 23:13:19 -05:00
Ista Zahn 2d353a329e Default to using helm for files and buffers. 2016-03-10 23:13:19 -05:00
ralesi 3f376a431b Prompt to open file literally when opening large files. 2016-03-10 23:13:19 -05:00
syl20bnr 9e47cf1f97 Fix C-c C-e key binding in helm-find-files 2016-03-10 23:13:19 -05:00
Aaron Jensen da66ac312f spacemacs-helm: Add C-c C-e to switch to wdired
Fixes #3724
2016-03-10 23:13:19 -05:00
syl20bnr 6b5ed8245b c-c++: fix c-c++/post-init-semantic 2016-03-10 23:13:19 -05:00
Eivind Fonn 411be27ed1 Remove enable-semantic-mode function
- No reason to require semantic manually
- Don't set submodes in a hook function (hard to change for user)
2016-03-10 23:13:19 -05:00
Eivind Fonn 0ca02549dc Move srefactor toggle to owning layer 2016-03-10 23:13:19 -05:00
sooheon ec3bbd4176 Use evil-define-minor-mode-key over define-key
This keeps the keybinding specific to the visual-line minor mode, and
fixes #5418. Reverting the bindings on the :off toggle is no longer
necessary as well, turning off visual-line-mode will handle it.
2016-03-10 23:12:35 -05:00
Tu Do ceafd688f3 srefactor requires Emas 24.4 or above, not older 2016-03-10 14:22:06 +01:00
Fabien Dubosson b9cd9c1cd8 Remove rainbow-delimiters-mode from mode-specific hooks
`spacemacs` now handles `rainbow-delimiters-mode` by adding it to the
`prog-mode-hook`, if wanted by the user. Some layers are adding it on
their own mode-hook, having for effect that `rainbow-delimiters-mode` is
called twice, which disable it.

This commit remove these layer-specific definitions of
`rainbow-delimiters` as it is now handled by the `spacemacs`
distribution. It also takes care of running `prog-mode-hook` in modes
that are not derived from it.

Fixes #3902
2016-03-09 20:23:29 -05:00
Jeremy Bi 343b7ac1d0 projectile: autoload projectile-project-p
Fix #5127
2016-03-09 20:14:21 -05:00
sooheon fa52c93078 Keep escape binding in evil-visual-state default
While seemingly equivalent, this binding change can cause brittle
behavior in at least one case (used in conjunction with
multiple-cursors). Such a highly niche customization would probably be
better in a personal config, unless a case can be made that all
spacemacs users would benefit.
2016-03-09 20:12:48 -05:00
Muneeb Shaikh dfceb3deb9 spacemacs-ivy: escape special chars in counsel input 2016-03-09 20:12:01 -05:00
syl20bnr b1a6d8977a react: prefer named function over lambda for hooks 2016-03-09 20:10:58 -05:00
huaoguo 70d4c2c784 Fix bug: helm-imenu doesn't work in react-mode
In react-mode, when invoke helm-imenu, the list is empty. Because this
feature is only enabled in js2-mode, not js2-minor-mode.

So we should enable it by ourself.

link: https://github.com/mooz/js2-mode/blob/master/js2-mode.el#L11557
2016-03-09 20:09:07 -05:00
Muneeb Shaikh 6fee0a3666 change insert map only for vim editing style
For now, prevent cluttering hybrid insert state map until there's
cleaner solution.
2016-03-09 20:01:37 -05:00
syl20bnr 4d6053695f Reapply lost commit 55ef063
Add smartparens to comint-mode
2016-03-09 19:59:17 -05:00
syl20bnr 6efd7c1362 Reapply lost commit 4b00495
Allow <count>G in doc-view to go to page
2016-03-09 19:57:12 -05:00
bmag 3a3d8f34ca Use window-numbering-assign-func for neotree number
Using window-numbering-assign is simpler and more reliable than using
window-numbering-before-hook and neo-after-create-hook.

Duplicates older commit 2ff22934e7 which
somehow didn't survive the splitting of spacemacs layer into smaller
spacemacs-* layers.
2016-03-08 16:41:56 +02:00
NJBS 9026652dcf Fix scrolling transient state keybindings typo 2016-03-06 19:50:49 -05:00
Muneeb Shaikh c955014102 spacemacs-ivy: hide lighter counsel 2016-03-06 19:50:17 -05:00
Eivind Fonn 2e99aa5bb6 Fix auto-completion toggle without default 2016-03-06 17:49:59 -05:00
syl20bnr 01f9879d7f octave: explicitly list it as a built-in package 2016-03-06 17:48:51 -05:00
syl20bnr 1bc773cc5f elixir: fix lazy installation configuration 2016-03-05 23:25:00 -05:00
Eivind Fonn a8bd6dcb23 Disable global-hl-line-mode in shell-like buffers 2016-03-05 21:02:15 +01:00
justbur 5da4ce9d6c counsel: Use counsel-mode
Minor mode that remaps all built-in Emacs commands that have a counsel
replacement.
2016-03-05 21:01:46 +01:00
Adam Sokolnicki c83a553e5f Fix chruby in the ruby layer
This commit replaces the code used for finding out the ruby version to
use with `chruby-use-corresponding`.
2016-03-05 20:54:57 +01:00
Eivind Fonn 86286574a3 Move rake popwin config to post-init-popwin 2016-03-05 20:54:17 +01:00
Muneeb Shaikh 713e85bc42 ruby: add popwin config to *rake-compilation* 2016-03-05 20:52:18 +01:00
Allen Li 36bb3328bf Bind helm-ag--update-save-results
This updates the helm-ag results buffer, very useful.
2016-03-05 20:51:54 +01:00
syl20bnr e2dbe1938c layouts and workspace: use new transient state keywords
Also cleanup the code and unify key bindings to make them consistent
between the two transient states.
2016-03-04 19:05:28 -05:00
Eivind Fonn 5360fb31f8 Fix broken ensime refactor bindings 2016-03-04 16:06:22 -05:00
Malchevskiy Misha d91d907d5d Fix cider-pop-back function name
Alias `cider-jump-back` was deprecated and then removed from CIDER here: 705133f2bd
2016-03-04 16:06:08 -05:00
Robert O'Connor 7625bcdae3 Fix minor markup hiccup in pdf-tools README 2016-03-04 12:18:56 -05:00
syl20bnr 39a3c1983c pdf-tools: README tweak and replacement of transient state key
- Replace `M-SPC` and `S-M-SPC` by the more conventional `SPC m .`
- Reorganize the code in packages.el
- Add image in README and list bindings with explicit `SPC m` prefix
2016-03-04 00:51:34 -05:00
Andre0991 919865a3b7 Add pdf-tools layer 2016-03-03 23:22:15 -05:00
syl20bnr 534cb7a7cd eyebrowse: respect 80 chars per line 2016-03-03 22:29:13 -05:00
syl20bnr bc9123e265 eyebrowse: prefix workspace number in transient state 2016-03-03 22:28:50 -05:00
syl20bnr 09edfe3e37 Add C-0...C-9 bindings to layouts and workspaces
These key bindings does not exit the transient state
2016-03-03 22:21:05 -05:00
Muneeb Shaikh 28a1b50cdb eyebrowse: highlight current workspace in transient state 2016-03-03 20:55:40 +01:00
Muneeb Shaikh cc544b1654 layouts: highlight current layout in transient state 2016-03-03 20:55:37 +01:00
Alejandro Catalina Feliú d3833db77b clojure: add clojure-snippets to clojure layer
This will add some nice snippets right out of the box.
2016-03-03 20:54:06 +01:00
justbur d28537ec86 evilified: Remove stray bind-map declaration
It looks like it was not removed when the other one in the file was
added.
2016-03-03 20:53:42 +01:00
Allen Li de0d7a7881 Simplify completing-read selection 2016-03-03 20:53:41 +01:00
Allen Li 974c92e758 Make pylookup use std completing-read function 2016-03-03 20:51:18 +01:00
Fredrik Bergroth a1167b8821 shell-scripts: Enable flycheck in sh-mode 2016-03-03 20:43:32 +01:00
Eivind Fonn 65702c9285 Fix smart doc and goto rewrite 2016-03-03 20:36:34 +01:00
justbur ca72561bc7 evil: Rewrite smart-doc-lookup and smart-goto-binding
Prefer checking explicitly for the key binding rather that using
condition-case and assuming all errors are related to a missing binding.
2016-03-03 20:30:32 +01:00
justbur 39e06feba9 Use unless-debug version of condition-case
It's not possible to get full backtraces in these instances when an
error is signaled, and I think we should generate full backtraces when
debug-on-error is enabled as a general rule.

I had to make this change at one place to track down the root of problem
2 in #5200.
2016-03-03 20:30:30 +01:00
Eivind Fonn 41e8a28903 Fix smooth-scroll toggling at startup 2016-03-03 11:44:00 +01:00
syl20bnr 0ca738989e Update, simplify and add smooth scrolling toggle on SPC t v 2016-03-02 09:13:09 -05:00
Fabien Dubosson b7f4d90ce2 [bepo] Remap org-agenda 2016-03-02 12:27:12 +01:00
syl20bnr 85fa27166c Revert "Fix startup error when dotspacemacs-smooth-scrolling is nil"
This reverts commit decd5235a9.

The smooth-scrolling package is not required when
dotspacemacs-smooth-scrolling is nil so it is not possible to use a
function of this package to disable it.
2016-03-01 15:06:04 -05:00
Tommi Komulainen faed1b7dc0 react: make evil-matchit jump between html/jsx tags as well
Fixes: #5265
2016-03-01 18:59:18 +01:00
wliao 7aad1b45ce maps <escape> instead of ESC to quit help-mode
prevents masking M- keys in GUI.
2016-03-01 18:58:18 +01:00
MadAnd decd5235a9 Fix startup error when dotspacemacs-smooth-scrolling is nil
error: ad-disable-advice: `previous-line' is not advised
2016-03-01 18:57:43 +01:00
km 5ee38deeff Fix use of deprecated function avy--with-avy-keys 2016-03-01 18:55:26 +01:00
Eivind Fonn 733434718d Fixup rake config 2016-03-01 18:54:56 +01:00
Adam Sokolnicki c2ec8e57c9 Add rake package to the ruby layer 2016-03-01 18:52:33 +01:00
Johan K. Jensen be2c471397 Fix inline code blocks
Add zero-width space because emphasis blocks can't start/end with
a comma, an apostrophe or a quote.
2016-03-01 18:51:13 +01:00
David King 6b7aee200b Update Scheme docs to curl over https
Felt more comfortable running this over https. Not sure what the risks
are of piping files into a root privilege tar process, but the server
supports it so may as well use it.
2016-03-01 18:50:32 +01:00
Christian E. Hopps 2b99909491 also exit layout selection on number key
Match workspace exit behavior with layouts
2016-03-01 18:49:21 +01:00
Tin Tvrtković 1eabbb453a Fix Java layer command documentation.
The "Open project management buffer" shortcut is actually SPC m p p, as per 
https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Blang/java/packages.el#L121
not SPC m p s which does nothing.
2016-03-01 18:48:32 +01:00
d12frosted bdd5d51dc6 fix osx-use-options-as-meta on emacs 25 2016-03-01 18:48:14 +01:00
d12frosted f3a16f49ed avoid being evil in deft with emacs editing style
follow #5111
2016-03-01 18:47:37 +01:00
Eugene Apollonsky e5e069bbf0 Rename: ensime-refactor-inline-local -> ensime-refactor-diff-inline-local 2016-03-01 18:46:54 +01:00
Kechao CAI f5924d1acb Bind TeX-command-run-all to ~SPC m a~ 2016-02-27 15:00:10 +01:00
Kechao CAI c3fae7dd05 Latex layer: Add shortcuts for fill and comment 2016-02-27 15:00:08 +01:00
NJBS 35d9e387de Fix ranger layer typos
Fix some trailing whitespace and key binding typos
2016-02-27 14:58:49 +01:00
NJBS a1aca549cb Fix org-agenda RET behavior
16cb4f2 changed the default binding for RET to org-agenda-goto, this
changes it back to the default behavior of org-agenda-switch-to
making it consistent with the transient state and org documentation.
2016-02-27 14:58:27 +01:00
Diego Berrocal 71d48e0952 Exit layout transient state on select custom layout
This was asked for in the gitter chat. I thought at first it would be
great for when people wanted to open many perspectives at the same time,
but now I don't think the same. It'd be very hard to modify the macro
for adding custom layouts to make this argument optional, so I leave it
at @syl20bnr discretion.
2016-02-27 14:58:15 +01:00
Eivind Fonn 5b345a6f07 Add dynamic list of workspaces in transient state 2016-02-27 14:57:55 +01:00
Beau Dacious a54c637480 create align-repeat-backslash command 2016-02-27 14:57:06 +01:00
Eivind Fonn 4ed7ebe49d Update previous comment 2016-02-27 14:56:42 +01:00
Andrew Cates b6a27e931b fix typo for js2-imenu extras mode 2016-02-27 14:56:21 +01:00
Eivind Fonn e061b13eb5 Add binding to spacemacs/goto-buffer-workspace 2016-02-25 20:41:37 +01:00
bmag ecaeb8db3b Eyebrowse: goto buffer in workspace
spacemacs/find-workspace, spacemacs/display-in-workspace and
spacemacs/goto-buffer-workspace allow us to find and display a buffer's
workspace.
2016-02-25 20:36:08 +01:00
justbur 5402261456 Improve toggle-maximize-centered-buffer
1. The register name should be a character not a symbol.

2. Combine toggle-maximize-centered-buffer and bzg-big-fringe-mode to
   make new minor mode that combines the two effects.

3. Fix problem where the mode could only be enabled if there was more
   than one window, which makes no sense.

4. Use window-configuration-to-register function
2016-02-25 20:34:40 +01:00
Boris a18998ccfd update lua readme
Add a note about luacheck
2016-02-25 20:32:12 +01:00
Jeff Olson e4f096e46b Add railscasts-theme to themes-metapack 2016-02-25 20:31:47 +01:00
Patrik Plihal 097887104f add 'cider-apropos functionalty to clojure layer 2016-02-25 20:31:31 +01:00
d12frosted 39273ce87b fix spacemacs/swiper-region-or-symbol 2016-02-25 20:31:14 +01:00
Severen Redwood 7900862a64 Mention support for Slim and Jade templates in the HTML layer docs 2016-02-25 20:30:48 +01:00
Allen Li 496718ddd8 Fix Window Manipulation Transient State typo 2016-02-25 20:30:24 +01:00
Andrew Cates 3a77158a74 fix call to correctly go to transient-state
we want to call workspaces-transient-state vs workspaces-micro-state.
this was probably just an oversight, but nonetheless keeps the fn from
working properly and needs to be updated.
2016-02-25 20:30:00 +01:00
darkfeline 6d331bc5a4 Fix pylookup binding
Fix pylookup binding
2016-02-24 23:18:56 -08:00
Eivind Fonn 020a94acff Disable evil-snipe in ranger 2016-02-23 23:34:41 +01:00
Andre0991 5cf6ef877e Add org-agenda transient state 2016-02-23 20:57:58 +01:00
Rodrigo Setti 45043e7142 Add prefix names for racket-mode key bindings 2016-02-23 20:56:24 +01:00
Eivind Fonn 9ccad9c2c1 Clean up osx layer readme 2016-02-23 20:55:50 +01:00
Marco Paga 5ded426431 Tip regarding option on international keyboards
More config information regarding option on international keyboards.
2016-02-23 20:55:18 +01:00
james sangho nah d45467b17e Remove extra close paren in README 2016-02-23 20:54:49 +01:00
Vivien Moreau 6b40d0eda2 org: fix layout when org-agenda-files isn't a list
The org-agenda-files variable can be the name of a directory or a file.
2016-02-23 20:54:25 +01:00
Eivind Fonn 06c35c30ab Re-add yaml-mode as sensitive mode 2016-02-23 20:53:44 +01:00
Robert O'Connor c2f216cbd7 Fixes #5106
Add haskell-mode to the spacemacs-indent-sensitive-modes list; also
makes the lost alphabetical
2016-02-23 20:53:13 +01:00
Ole Jørgen Brønner 21ed08e0d6 Fixed reversed keybindings for comint-previous/next.
k = up = previous, j = down = next
2016-02-23 20:51:47 +01:00
mahinshaw 8029222b26 Add mapping for switching between repl connections. 2016-02-23 20:51:07 +01:00
person808 cbf42bbff2 Change ivy-spacemacs-face to match counsel-M-x. 2016-02-23 20:50:39 +01:00
panicbit 8afd46a1c1 Add Rust support in markdown files 2016-02-23 20:48:13 +01:00
justbur 17ba634021 Fix scroll transient state
Fixes #3450

For some reason, the scroll transient state was trying to reinvent
scrolling halfway up and down a page when these are well supported
operations in evil.
2016-02-23 20:45:53 +01:00
justbur e69d5500bc evil-jumps: Fix old function names
evil-jumper--push is now evil--jumps-push
2016-02-23 20:45:18 +01:00
Alejandro Catalina bdd702dfbe evil: enter insert-state only from normal-state 2016-02-23 20:42:59 +01:00
Fredrik Bergroth 48d05d3182 rustfmt: Remove obsolete package
This package was merged into rust-mode.
2016-02-23 20:42:25 +01:00
Muneeb Shaikh b72e19629a org: move global keys from :config to :init 2016-02-23 20:41:54 +01:00
Alejandro Catalina a686fe99ce Fix 0 as prefix arg in paste transient state
When in paste-transient-state, 0 won't exit the transient state and so
it won't take the point to the beginning of line.
2016-02-23 20:40:41 +01:00
Eivind Fonn cdd404bbeb Use :toggle for srefactor 2016-02-23 20:38:50 +01:00
Magnus Therning 0455f215a0 c-c++: Add notes on related layers.
Signed-off-by: Magnus Therning <magnus@therning.org>
2016-02-23 20:37:16 +01:00
Magnus Therning fe99ad671e c-c++: Remove srefactor from static package list.
It should only be added to the list if emacs version > 24.4.

Signed-off-by: Magnus Therning <magnus@therning.org>
2016-02-23 20:37:16 +01:00
Magnus Therning 6e64e08f06 c-c++: Set paths for C headers from clang.
Signed-off-by: Magnus Therning <magnus@therning.org>
2016-02-23 20:37:16 +01:00
Bailey Ling 8ac2cd1c6f scope the aliases under eshell so they are not defined globally 2016-02-23 11:39:40 +01:00
syl20bnr fd9326486a core: new function configuration-layer/describe-package
Add actions for both helm and ivy.

TODO:
- see TODO in function body
- replace SPC h d p (list all packages, use spacemacs describe when
it is a layer package, otherwise use vanilla describe).
2016-02-22 02:29:43 -05:00
syl20bnr 308fb1118d core: replace package keyword :skip-install by :location site 2016-02-20 23:05:36 -05:00
Alejandro Catalina d68542e7da cider: yet another missed occurrence 2016-02-18 23:30:38 -05:00
syl20bnr 9f93645d1c Require use-package before using it when SPC q D 2016-02-18 23:21:15 -05:00
Fabien Dubosson 1a63e9578b Add restart-emacs functions for debugging
This adds the following functions:

- spacemacs/restart-emacs-debug-init
- spacemacs/restart-stock-emacs-with-packages
2016-02-18 23:08:38 -05:00
syl20bnr 2fef64ea7d Remove conditions in packages-funcs.el
Package list is not yet available when packages-funcs.el files are
loaded.
2016-02-17 16:13:24 -05:00
syl20bnr 835aa53435 Add uuidgen package to generate... UUIDs 2016-02-17 16:11:39 -05:00
Fabien Dubosson b3296d2722 Delay vi-tilde-fringe loading after display init
Fix #1303
2016-02-17 00:15:31 -05:00
JAremko 8628e45fd3 add typescript fmt
fixed typo

reordered packages

made formatting off by the default

fixed docs

fixed docs... Again

fixed docs... Like 3-d time

fixed docs... Did I?

I CAN DO IT!

hooked named function instead of lambda
2016-02-17 00:05:47 -05:00
Syohei YOSHIDA 4227404c29 Disable company-quickhelp-mode only when it is already enabled 2016-02-17 00:04:22 -05:00
Bailey Ling 6ccd46e1bd prevent auto-highlight-symbol from setting up its own default map 2016-02-17 00:02:41 -05:00
Carlos Galdino 874e67b6ec Show function signature for Golang buffers.
This fixes #4368.
2016-02-16 23:59:51 -05:00
syl20bnr 83fa2996a6 ivy: put ivy-resume on SPC r l
As helm-resume
2016-02-16 23:58:44 -05:00
justbur 3e494749f1 counsel: Add spacemacs//counsel-occur
Puts counsel occur buffers in grep mode for easy transition to wgrep
mode.
2016-02-16 23:58:07 -05:00
justbur 3ac7efeb90 ivy: Add wgrep package
Can be used with counsel-git-grep to edit results in an occur buffer.
Handy!

Add wgrep bindings
",w" to enter wgrep mode
",," to commit changes
",a" to abort

counsel: Fix command output for wgrep
wgrep doesn't work with the column number in the command output
2016-02-16 23:57:28 -05:00
justbur 19c262ea0c ivy: Fix counsel-git-grep-region-or-symbol 2016-02-16 23:57:27 -05:00
justbur e94a80db49 ivy: Promote ivy-occur-mode-map
Prevent evil normal state keys from shadowing the ivy occur buffer keys
2016-02-16 23:57:27 -05:00
justbur d0cec17919 ivy: spacemacs layouts support
- port helm-perspectives
- port persp switch buffer
- port persp-close[kill]-other to use ivy
- layouts-ts: Make help more consistent
- layouts-ts: Reorganize docstring
Instead of one big list, try to organize into sections to make it easier
to find the right key
2016-02-16 23:55:23 -05:00
justbur 95a1583c73 ivy: After enabling ivy-mode disable ido-mode 2016-02-16 23:53:43 -05:00
justbur 0b997316d0 helm: Move helm-apropos to spacemacs-helm 2016-02-16 23:53:43 -05:00
justbur f6b82ee90d helm/ivy: Use hook to update hjkl navigation
Introduce hjkl-completion-navigation-functions to hold the functions to
disable and enable hjkl navigation for ivy and/or helm. The hook is run
with args to indicate whether to enable or disable.
2016-02-16 23:53:43 -05:00
justbur cf90c8ee07 ivy: Add custom transient state
Replace the hydra usually bound to C-o
2016-02-16 23:53:42 -05:00
justbur 1762b85869 ivy-help: Show no package layers under SPC h SPC
See #4540
2016-02-16 23:53:42 -05:00
justbur 3f7501fe92 ivy: Use ivy for auto-highlight-symbol search 2016-02-16 23:53:42 -05:00
syl20bnr ae97e1b85c Move eshell cache directory and remove duplicate code for url cache 2016-02-16 23:40:25 -05:00
Taylor 56a583f3ec Fix wakatime-dashboard url 2016-02-16 23:31:48 -05:00
William Casarin 5dbc758499 haskell: Add all haskell-mode keybindings to literate-haskell-mode 2016-02-16 23:30:40 -05:00
Bailey Ling 204b6af424 helm should always be fuzzy by default 2016-02-16 23:18:39 -05:00
adrsta b7eda6f014 added name "preview" to p-prefix 2016-02-16 23:16:01 -05:00
Bailey Ling 45acd03df3 Include plantuml as a babel language if jar is defined 2016-02-16 23:14:53 -05:00
Alejandro Catalina 7d2181bd47 fix renamed cider-test-run-tests function
The function was renamed in recent commit to cider-test-run-ns-test, see
568263143b (diff-f8e2b8e5fa0f8c5cda946e72ab461994R572)
for more info.
2016-02-16 23:05:05 -05:00
Alejandro Catalina 90a6fd30e6 fix: mu4e reply
This typo produced a silly symbol's variable is void
2016-02-16 23:04:25 -05:00
Eivind Fonn f3a15840b9 Add anaconda-eldoc-mode 2016-02-16 23:02:07 -05:00