Commit graph

1395 commits

Author SHA1 Message Date
syl20bnr
173e2a5421 Move all prefix names from config.el to init functions 2016-04-03 00:12:28 -04:00
syl20bnr
0ca8eb3705 spotify: enable lazy loading and move command prefix names 2016-04-03 00:06:56 -04:00
Richard Wei
8a6cfadffb Corrected key bindings for major mode
Key binding behavior are not consistent with the documentation. Since the bindings are under major mode, they should not have the prefix 'm'.
2016-04-01 00:26:20 -04:00
syl20bnr
f1ddbd1f3e move toggle stickyfunc to SPC T S and SPC T C-S 2016-04-01 00:26:20 -04:00
person808
4010c63276 Change theme search keybinding to SPC T s.
Unify the bindings of spacemacs-helm and spacemacs-ivy. The new mnemonic
for both ivy and helm is `Themes/select`.
2016-04-01 00:26:20 -04:00
Aaron Jensen
ed5bdf9db8 Enable OSX non-native fullscreen on regular builds
The mac port build supports this out of the box, but the version
installed with `brew install emacs --with-cocoa` requires this variable
to be cleared.
2016-04-01 00:26:20 -04:00
Diego Alvarez
9b460f60e4 Add function to insert types and add yank type at point
- `, i y` Add function to yank type at point but just yank type name without full
package

- `, r a` Add function to insert type for declaration,
see `https://github.com/ensime/ensime-emacs/pull/390/files`
2016-04-01 00:26:20 -04:00
syl20bnr
b891e82362 scala: reformat TOC of README.org 2016-04-01 00:26:20 -04:00
Channing Walton
7466fdc678 optionally enable ensime
a new variable, scala-auto-start-ensime, determines if ensime starts
when a scala file is loaded.

make scala-auto-start-ensime default to t

The current behaviour is to autostart so this will preserve it.

Adding documentation for scala-auto-start-ensime

removed a space

make scala-auto-start-ensime default to t

The current behaviour is to autostart so this will preserve it.

Adding documentation for scala-auto-start-ensime

removed a space
2016-04-01 00:26:19 -04:00
syl20bnr
6770969b6f core: add variables for core-spacemacs-buffer
- spacemacs-buffer-version-info
- spacemacs-buffer-logo-title
2016-04-01 00:26:19 -04:00
syl20bnr
69a9d5bf6b twitter: documentation new key bindings 2016-04-01 00:26:19 -04:00
Muneeb Shaikh
fb402b4120 twitter: use new function to define leader keys 2016-04-01 00:26:19 -04:00
Muneeb Shaikh
f56ac8b2d5 twitter: keybinding to toggle images 2016-04-01 00:26:19 -04:00
d12frosted
98b329e741 move system-is-* function to core 2016-03-31 00:23:59 -04:00
syl20bnr
3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
JAremko
8c3d05ee47 Add org-mode link-type "https" to open local copies
The https link-type opens the local copies of the Spacemacs documentation files with
the spacemacs/view-org-file function. It supports GitHub style heading links

For example, the link:

https://github.com/syl20bnr/spacemacs/blob/develop/layers/org/README.org#links

Will be handled similary to as if it was:

file:~/.emacs.d/layers/org/README.org::*links

Also the `space-doc' mode will be applied.

Refactored GH style anchor search.
2016-03-30 22:38:18 -04:00
syl20bnr
30f971d89c reformat some code to respect 80chars per line 2016-03-30 22:35:07 -04:00
JAremko
014bbfd921 Add Spacemacs docs minor mode to hide meta tags.
`space-doc-mode` - Buffer local minor mode for Spacemacs documentation files. The mode hides org meta tags.
Enabled when viewing documentation via `SPC` `h` `SPC`
2016-03-30 22:31:38 -04:00
Caleb Jones
d983bf7ec7 Improve Leiningen installation instructions in Clojure layer
The previous installation instructions suggested that you install lein
via your OS package manager, but since the minimum required version to
run the plugins is 2.5.2 and some OS package managers are still
packaging versions in 1.x, linking to the official install instructions
is better.

Fixes #5612
2016-03-30 18:52:31 -04:00
Paul Schorfheide
0f76d52166 Add hoogle to list of packages for haskell layer 2016-03-30 18:49:18 -04:00
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