Commit graph

793 commits

Author SHA1 Message Date
Daniel Luna 3d64532047 Adding rubocop to ruby layer 2015-11-26 23:40:18 -05:00
syl20bnr 3624ff2eb8 scheme: update documentation 2015-11-26 23:34:11 -05:00
Diego Berrocal 062a89f8e5 Add Scheme Leader keybindings for evaluation (,ee)
This was missing
2015-11-26 23:30:36 -05:00
troydm e8d3ecee0e scheme implementation selection keybinding added for scheme layer 2015-11-26 23:29:16 -05:00
Eivind Fonn 7adca30aeb Fix void variable error: smartparens-strict-mode 2015-11-26 23:25:48 -05:00
Fabien Dubosson ec308f0f8e Add a binding for helm-ag-pop-stack
Close #2736
2015-11-24 23:29:12 +01:00
tcallan 54fda31f6d elm: fixed misnamed function in repl bindings
When pull request #3855 was cherry picked in (due to conflicts),
spacemacs/elm-repl-push-decl-focus was incorreclty referenced as
spacemacs/elm-repl-push-decl in the keybindings.
2015-11-24 17:38:24 +01:00
syl20bnr c732c9ea22 Move vi-tilde-fringe toggle to SPC T ~ 2015-11-24 09:59:16 -05:00
syl20bnr 093ae18d26 yaml: enable company 2015-11-24 09:56:10 -05:00
Robert O'Connor a842d5bdf8 company-nim is now bundled with nim-mode
Fixes #3935
2015-11-24 15:47:07 +01:00
Eivind Fonn 0c57b94cf4 Temporary disable org loading check 2015-11-24 15:43:18 +01:00
Travis B. Hartwell a3635045c3 Fix major mode bindings for finance layer.
Key definitions no longer need to be prefixed with "m".
2015-11-23 13:01:32 -07:00
tcallan 881ac19114 elm: fix incorrect bindings
Upstream elm-mode renamed REPL related functions from *-elm-repl to
elm-repl-*, but the elm layer was still referencing the old names (except
for elm-repl-load which had previously been fixed).
2015-11-23 20:32:48 +01:00
Eivind Fonn 1b54bb4ebd Move elm prefixes to packages.el 2015-11-23 20:27:36 +01:00
Brenton Alker 426d500574 elm: define key binding prefixes for major mode 2015-11-23 20:25:23 +01:00
d12frosted 4b9b61e5a0 [haskell] fallback to interactive mode
When user disabled ghc-mod, haskell mode should fallback to interactive
mode, so type bindings (and some others) are working properly. It's also
useful for ghci-ng users, but doesn't affect ghci-ng-only bindings.

Fix #3777
2015-11-23 20:23:11 +01:00
justbur 8ed77160bb layers: Fix missing owner for some layers
This is a partial fix for #3493. I didn't touch layers where I can't
tell what the intention was for how it should work.
2015-11-23 20:22:38 +01:00
Adam Olsen ac9e81bf49 Set neo-vc-integration to nil by default
* Set `neo-vc-integration` to `nil` for much better performance
* Add documentation for the `neo-vc-integration` setting.
* Add documentation for the `neo-theme` setting.
2015-11-23 20:17:03 +01:00
Eivind Fonn 2918ca2b56 Clean up org loading check 2015-11-23 20:15:09 +01:00
Tony Day 3f72bec69a Added check to catch when org has already been loaded. 2015-11-23 20:11:31 +01:00
Eivind Fonn ddcc697213 Clean up scala-eldoc code 2015-11-23 20:09:57 +01:00
Diego Alvarez a92cf03093 Disabled automatic eldoc-mode in scala layer
A conf var is provided to enable it automatically.
Default is null.
2015-11-23 20:06:39 +01:00
Martin Yrjölä 1f33ba3dcd osx layer: Set sensible Emoji font 2015-11-23 20:04:16 +01:00
Jaakko Luttinen 86aa4da4c4 Add key binding for saving perpectives by names 2015-11-23 20:01:22 +01:00
Eivind Fonn 1ca1ee3720 More org improvements
- Evil bindings in org agenda
- Evil bindings in org calendar minibuffer
- Restore windows after org agenda
2015-11-23 19:58:26 +01:00
Eivind Fonn 0e919507ee Insert missing HTML_HEAD_EXTRAs 2015-11-23 14:09:16 +01:00
Eivind Fonn 7c28986192 Fix some broken documentation 2015-11-23 13:57:27 +01:00
syl20bnr b540b15afe Move describe-keymap to SPC h d K and document it 2015-11-22 22:31:29 -05:00
syl20bnr 589ccded17 Add TODO in comment 2015-11-22 22:29:59 -05:00
syl20bnr 878c986f5f Update evil-lisp-state configuration for version 8 2015-11-22 22:10:41 -05:00
Eivind Fonn fbc6bc56cc Remove temp workaround for evil-lisp-state 2015-11-22 22:10:35 +01:00
Eivind Fonn 4937a83900 Fix evilify bug in vinegar layer 2015-11-22 19:48:58 +01:00
Fabien Dubosson 3a5c375c6c Correct forgotten python major mode bindings 2015-11-22 18:45:12 +01:00
Eivind Fonn d16be23def Add workaround for #3901 2015-11-22 10:33:57 +01:00
Eivind Fonn 17a2ae74ce Fix bug with org ctrl-c-ctrl-c binding 2015-11-21 19:38:55 +01:00
Eivind Fonn 6a51119889 Fix erroneous org-mode leader keys 2015-11-21 19:33:11 +01:00
justbur 53e2c9ac27 layers: Fix leader key in some modes
Specifically need to be concerned with modes that make their maps
overriding.

 1. dired
 2. evil-magit
2015-11-21 18:22:51 +01:00
justbur e1e850f179 core: Assume all which-key funcs available now 2015-11-21 18:22:51 +01:00
justbur 4e25b7609c spacemacs-base: Add help-fns+
Adds useful help functions like describe-keymap.
2015-11-21 18:22:51 +01:00
justbur 9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
justbur ee6a486d4c core: Add new set-key functions to core-keybindings
Set up to use bind-map instead of evil-leader for leader key
functionality.

Alias evil-leader funcs and remove package
2015-11-21 18:18:01 +01:00
Eivind Fonn e7fbc84ff0 Remove package guards for evilified
See discussion in #3879
2015-11-21 11:07:14 +01:00
kr5x 05a40a2ee2 holy-mode: fix #3876 2015-11-19 12:36:03 +01:00
syl20bnr 28097d8ca8 typography: move SPC t Y to SPC t T 2015-11-19 01:16:46 -05:00
syl20bnr f95422c61d git layer: remove obsolete test since the package is protected 2015-11-19 00:56:25 -05:00
syl20bnr 629d736b79 core: add package keyword :protected
A protected package cannot be uninstalled nor excluded.
2015-11-19 00:53:57 -05:00
syl20bnr e3df025eff evilified-state: fix tests and rename library to evil-evilified-state 2015-11-19 00:24:27 -05:00
justbur b294461957 evilified-state: Make into local package 2015-11-18 23:35:01 -05:00
syl20bnr 0b2efd4e4e ansible: add dependency on yaml layer 2015-11-18 15:00:22 -05:00
Eivind Fonn a13486d2d2 Delimit TODO keywords as words
words like “HACKER” becoming partially highlighted
2015-11-18 16:32:14 +01:00
David Hashe 16d6b0363c Switch mode-line toggle meanings 2015-11-17 15:31:02 +01:00
Fabien Dubosson 471fce6106 Change behaviour of [=] [0] in zooms
As proposed in #2144, Use [=] as an alias of [+], and use [0] instead
for resetting the zoom.

Add a missing `q` binding/documentation.

Close #2144
2015-11-16 20:51:06 +01:00
Fabien Dubosson 98fa5e8d7c Make dired "guess" target directory
Make dired "guess" target directory for some operations, like copy to
directory visited in other split buffer.

Close #2835
2015-11-16 20:51:06 +01:00
Fabien Dubosson 00d21bb69f Add SPC h SPC as an alias of SPC f e h
Add `SPC h SPC` to access helm-spacemacs. Mnemonic
is **h**elp **SPC**macs. As suggested by syl20bnr on #2145.

Close #2145
2015-11-16 20:42:12 +01:00
Eivind Fonn bd2e847a33 Move which-key top level to SPC hk
…and helm-make to SPC cm
2015-11-16 16:21:24 +01:00
Eivind Fonn acce2e84bd Update documentation for typography layer 2015-11-16 14:04:42 +01:00
Eivind Fonn fdc221a383 Diminish typo-mode to Y 2015-11-16 12:40:02 +01:00
Sebastian Wiesner 4c65ea9c89 Refine typography layer
- Move tildify toggle from SPC t T d to SPC t ~
- Move tildify region from SPC x T T to SPC x ~
- Use ~ as mode line indicator for tildify mode
- Move typography toggle from SPC t T y to SPC t Y
- Use circled capital Y as mode line indicator for typo mode
2015-11-16 12:39:49 +01:00
Sebastian Wiesner 607d0549f3 Don't set match data needlessly 2015-11-16 12:39:42 +01:00
Wieland Hoffmann 602a21beb9 python: list the correct keybindings for interacting with pyenv 2015-11-16 12:39:16 +01:00
Ben bb2ca5117d Spelling correction in funcs.el file (latex layer) 2015-11-16 12:39:00 +01:00
Eivind Fonn 58f17f7b8a Fix helm microstate 2015-11-15 10:25:40 -05:00
justbur b82fb4cee8 spacemacs-base: Fix paren problem 2015-11-15 08:44:26 -05:00
Eivind Fonn c609f48cba Refactor zsh shell-script code
- Move to packages.el
- Give setup function an explicit name
- Guard for non-file buffers
2015-11-15 12:49:49 +01:00
Eivind Fonn f6eb4f4290 Document SPC h h binding and move to init function
Also remove hl-anything docs
2015-11-15 12:24:49 +01:00
justbur b3e24604a1 Add bindings for which-key-show-top-level
This is a function that shows unprefixed bindings
2015-11-15 12:20:23 +01:00
Christoph Paulik 9726033515 Don't use ido for sudo-edit of new files and bind key 2015-11-15 12:19:25 +01:00
Eivind Fonn 6887320420 Fix up latexmk code
- Use a use-package hook instead of eval-after-load
- Set auctex-latexmk-inherit-setup during init
- Don’t set TeX-command-default in hook
2015-11-14 15:10:26 +01:00
Ista Zahn 852ec8fb41 Configure latexmk as the default build command 2015-11-14 15:10:17 +01:00
codefalling 7dca03151c Add pinyin support for avy-goto-char 2015-11-14 00:46:15 -05:00
Eivind Fonn de1cce8ba6 Add C-j and C-k history commands in shells
Based on work by mijoharas
2015-11-14 00:37:21 -05:00
Eivind Fonn 38e48aa95d Highlight TODO keywords in all prog modes
Also make the colon optional
2015-11-14 00:34:05 -05:00
Sebastian Wiesner a4882308a5 Move lorem ipsum package to il
Spacemacs already has the "i" prefix for insertion, why do we also need
a separate prefix "xi" for “text insertion”?
2015-11-14 00:33:46 -05:00
Christoph Paulik d1c8e4b9f7 Disable projectile-caching by default.
- Default projectile settings are to disable caching when indexing
  method is `alien. So setting the indexing method should be enough.
- On windows we keep the 'native method unless find is found
2015-11-14 00:32:43 -05:00
Adam Olsen bc82ec0bec Fix layout-switch-by-pos
Now it resets the window layout if there isn't already a perspective
loaded for that position.

Fixes #3774
2015-11-14 00:26:24 -05:00
Eivind Fonn 0da1bda904 Revert flycheck fixes
Revert "Add some flycheck autoloads"

This reverts commit e18ff186ef.

Revert "Move flycheck leader bindings to init"

This reverts commit 830212c509.
2015-11-13 18:39:07 +01:00
Eivind Fonn e18ff186ef Add some flycheck autoloads 2015-11-13 15:40:11 +01:00
Eivind Fonn 830212c509 Move flycheck leader bindings to init 2015-11-13 15:38:25 +01:00
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Joe Hillenbrand 3b6fd59245 Add SPC c q to close the compilation window
I found it annoying to have to re-navigate to the *compilation* window
and close it after every time I compile with `SPC p c`.

This patch adds a binding to make closing this window fast and easy.

Also a little bit of clean up.
2015-11-13 13:55:53 +01:00
Rich Alesi 2a2505de49 Allow restart-emacs to work with persistent-server
Allow `restart-emacs` to work when `dotspacemacs-persistent-server` is enabled.
2015-11-13 13:55:05 +01:00
Nate Wolfe ea9ce5ef6d (mu4e) Don't require multiple account list
This commit deactivates account selection and switching support if the
account list isn't defined. We also don't need the follow-up action of
undoing the account selection changes, so we can just skip both of the
hooks.

This is useful for users who only have 1 account - they don't need the
helm popup to select which account to use. They can just define the
variables outside of the `mu4e-account-list`.
2015-11-13 13:53:08 +01:00
Sebastian Wiesner 954ed2d3de react: Fix Flycheck setup
Do not disable jshint globally, but only for React Mode.  It’s perfectly
fine to use jshint for a Javascript project and eslint for a React
project.  A layer should not enforce its language specific preferences
upon everything else, and above all, you should NEVER disable syntax
globally without a very good reason.

Also remove the redundant expression disabling json-jsonlist, which
simply does not exist.
2015-11-13 13:52:20 +01:00
Ben 2698d2ae40 Spelling corrections in README.org of the bepo layer. 2015-11-13 13:41:14 +01:00
jason b67cd298c4 Update layers README.org to include projects 2015-11-13 13:39:19 +01:00
Eivind Fonn 72f4fed57f Fix eshell linum-mode check 2015-11-13 11:59:01 +01:00
Sebastian Wiesner 2c97605833 Fix flycheck-pos-tip-mode setup
Enable Flycheck Pos Tip Mode in :init, and remove explicit assignment to
flycheck-display-errors-function.  I’m not sure whether that was
somehow intended, but it looks like it’s been working by accident only.
2015-11-13 11:31:16 +01:00
Eivind Fonn 57fd074d6b Fix flycheck-pos-tip initialization
- Don’t manully set variable
- Don’t guard mode initializer

Also fix long line
2015-11-13 11:19:31 +01:00
Fabien Dubosson 39c69def5c Guard flycheck-pos-tip-mode
Guard `flycheck-pos-tip-mode` as it's a new feature that not all user
will have if they update spacemacs without updating packages first.
2015-11-12 13:23:27 +01:00
Fabien Dubosson b8564ba1ea Enable new global minor mode flycheck-pos-tip-mode
This global minor mode is used to hide the flycheck tooltip when an
event occurs (moving cursor, focus-out, etc.). This change was
introduced upstream and it's already available in MELPA.
2015-11-12 13:04:50 +01:00
Ben 6d411da303 Correct osx layer keybindings documentation
Correction of key binding for Scale up text in the documentation
Close #2865
2015-11-12 11:54:35 +01:00
Eivind Fonn 88c019d4d6 Fix helm-spacemacs package action 2015-11-12 10:49:31 +01:00
Eivind Fonn a991927288 Beautify helm-spacemacs 2015-11-11 23:01:54 +01:00
Eivind Fonn 5f3793a50e Clean up mu4e layer
- Clarify installation instructions
- Bring README in line with conventions
- Create layer variable for installation path
- Move mu4e-account-alist to config.el
- Move extensions.el to packages.el
- Define mu4e as built-in and not local
- Add commands to ensure mu4e is deferred
2015-11-11 21:48:37 +01:00
Allen Li f8368f9c94 Add mu4e layer 2015-11-11 21:36:59 +01:00
Swaroop C H 7b3436bece [org] Add key for org-set-property 2015-11-11 21:31:16 +01:00
justbur 0b3207ba4e Declare org global prefix 2015-11-11 21:30:33 +01:00
Muneeb Shaikh 647ca88008 evilify package menu 2015-11-11 21:30:17 +01:00
Fabian Wilk 40270206dc Fixed default value of `open-junk-file-directory'.
This variable does NOT specify the directory portion for the junk file
creation; it is an alias for `open-junk-file-format'. Hence, it should
contain format markers for the randomisation of the junk file name.

The previous value would not auto-generate a junk name for the junk
file: the prompt would ask for a file extension without having an
auto-generated junk file name.
2015-11-11 21:29:28 +01:00
syl20bnr fde6c60bae layouts: fixes reset of layout upon creation of new layouts
with SPC l l and SPC p l

Fixes #3740
2015-11-11 01:20:18 -05:00
syl20bnr 9290acf058 layouts: new variable dotspacemacs-auto-resume-layouts
If non nil then layouts are automatically resumed upon start.
Also always enable persp-mode (i.e. remove lazy loading of it).

Fixes #3736
2015-11-11 00:59:17 -05:00
syl20bnr 4004f8d383 layouts: split dotspacemacs-default-layout-name into 2 variables
dotspacemacs-default-layout-name is only to set the name
new variable dotspacemacs-display-default-layout controls the display
of the default layout in the mode-line
2015-11-11 00:55:42 -05:00
syl20bnr 5d9f6b67cd Refactor smooth-scrolling configuration
Use :if keyword for use-package
Move erc hook to post-init function in erc layer
2015-11-11 00:06:27 -05:00
syl20bnr 3ff39f10e4 layouts: move SPC l p to SPC p l and bind SPC p to previous layout 2015-11-10 23:39:21 -05:00
geksilla c39e8a9e53 Switch between columns layout toggle golden-ratio.
While columns layout change between 2 and 3 golden-ratio-mode toggle but
should not.

Fixes syl20bnr/spacemacs#3750.
2015-11-10 22:48:56 +01:00
taksuyu b811475077 Restructured haskell/init-haskell-mode settings 2015-11-10 22:47:16 +01:00
Eivind Fonn 8125ccea8f Use evil-indent-plus for indent textobjs 2015-11-10 11:55:06 +01:00
Eivind Fonn b779846d14 Properly honor helm setting 2015-11-10 08:09:19 +01:00
d12frosted 2670d01a78 [haskell] configure C-c C-l so it doesn't error
By default `C-c C-l` shows following error:

```
haskell-mode-enable-process-minor-mode: Run ‘C-h f haskell-mode‘ for instruction how to setup a Haskell interaction mode.
```

Which might confuse users and they might end up setting
interactive-haskell-mode, which in most cases not what we want.

Also, it gives short key binding for emacs-only editing style users to
bring up REPL.
2015-11-09 19:29:29 +01:00
Allen Li 42c97967b9 Unset unneeded scroll-margin in some modes
Fixes https://github.com/syl20bnr/spacemacs/issues/3098
2015-11-09 19:28:42 +01:00
codefalling 91c00fe76a Add farmhouse-theme 2015-11-09 19:01:35 +01:00
Eivind Fonn 7c3d679a40 Update elm docs for elm-repl-load 2015-11-09 18:57:22 +01:00
Justin Holguin 6fdc2a2e40 elm: fix incorrect binding for elm-repl-load
The function that loads a new Elm REPL is `elm-repl-load`, but it was
incorrectly referenced in the elm layer as `load-elm-repl`.
2015-11-09 18:56:27 +01:00
Eivind Fonn a9e15236b2 Enhance default selection of face in helm-faces
Use symbol under point if no face
2015-11-09 18:55:53 +01:00
Muneeb Shaikh b5dbcf5027 Fix helm-faces to select face under point 2015-11-09 18:48:23 +01:00
Muneeb Shaikh 17f6225c5d Allow last-search-buffer to resume last search even if no saved search
With this patch, it's possible to resume last search done with ag even
if there's no saved search

Fixes #3707
2015-11-09 18:47:51 +01:00
justbur 951462f316 evil-magit: Update for MELPA 2015-11-09 18:44:31 +01:00
justbur 51600ef9f0 Use MELPA version of evil-mc 2015-11-09 18:44:11 +01:00
Boris c4b8767006 fix typo in spacemacs-layouts readme 2015-11-09 18:43:50 +01:00
Muneeb Shaikh 6b3e82d2d9 Allow customization of the default layout name in mode-line
- Changed dotspacemacs variable
2015-11-09 18:43:05 +01:00
Eivind Fonn d14f10e47d Override evil mouse support in helm (#3700) 2015-11-09 13:05:29 +01:00
syl20bnr 771b74ebf9 distribution: add layouts to spacemacs distribution 2015-11-09 00:36:17 -05:00
syl20bnr 6541877a83 layouts: remove q key binding in custom layouts micro-state 2015-11-09 00:36:15 -05:00
syl20bnr b1fb37cef1 perspectives: rename layer to "spacemacs-layout" 2015-11-09 00:36:13 -05:00
syl20bnr d7164bd452 perspectives: update documenation 2015-11-09 00:36:11 -05:00
syl20bnr aed1811f76 perspectives: big refactoring
- Rename micro-states to "layouts"
- Rename some functions to include "layout" instead of "perspective"
- cleanup variables
- move functions to funcs.el
- move package specific stuff to post-init functions
- changes key bindings
- micro-state documentation rewrite
- change format of the layouts line in the micro-state doc
- defer loading of persp-mode which loads with `SPC l`
- always display the spacemacs home buffer with no switch
- various fixes
- various new bugs :-)
2015-11-09 00:36:09 -05:00
Eivind Fonn ee2442d8ce Fix snippet prompt on multiple valid keys (#1922) 2015-11-08 22:14:42 +01:00
Eivind Fonn 4969833cb2 typography: typo-language is buffer-local 2015-11-08 19:33:23 +01:00
Eivind Fonn 3fb38773b3 org: add drawer evil-surround pair 2015-11-06 15:28:30 +01:00
Eivind Fonn 5e05b79432 org: add some multi-purpose keybindings 2015-11-06 15:28:29 +01:00
Eivind Fonn 826d6b700b Fix up typography layer documentation
- Add ToC tags
- Tildify only available on Emacs 25
- Move insert state comments
2015-11-06 15:26:58 +01:00
Sebastian Wiesner 05fe68ba23 Add typography layer
Provides typo mode for typographic substitutions and tildify mode for
automagic non-breaking space insertion.
2015-11-06 15:21:34 +01:00
Eivind Fonn 89a5abac29 Clean up aya-persist-snippets-dir setting 2015-11-06 15:18:00 +01:00
Taian Su 3c32938f5c aya-persist-snippets-dir should reference the configuration-layer-private-directory 2015-11-06 15:16:22 +01:00
Andre0991 7176a49877 Make mdfind the default backend for helm-locate 2015-11-06 15:07:31 +01:00
Matthías Páll Gissurarson 9714644a8f added keyboard shortcuts for ghc-mod in haskell 2015-11-06 14:53:00 +01:00
Yiming Chen 8bafbb1c9b Add back rcirc persp to perspectives layer 2015-11-06 01:29:49 -05:00
Joe Hillenbrand 5559060ab5 bind avy-goto-line to SPC y
After the change in 1d340dcc77,
there was some grumbling in gitter that `SPC L` is not as convenient
as `SPC l`. Apparently avy-goto-line is a popular function.

`SPC y` is chosen because it is:

- currently unused (as far as I can tell).
- sort of mnemonic because "avy" has a "y" in it.
- doesn't require SHIFT to type
- is accessible even on non-US keyboards
  (there were suggestions such ";" and "\" that are not as accessible
   on non-US keyboards)

This change also updates the documentation regarding the change from
ace-jump-mode to avy.
2015-11-06 01:29:49 -05:00
Joe Hillenbrand fd95f9090f perspectives: bind SPC l l to helm-perspectives
`SPC l l` makes more sense for switching perspectives with helm
because it is a faster/easier binding to use.

- Document binding to helm-perspectives
- Bind persp-load-state-from-file to `SPC l L`
2015-11-06 01:19:08 -05:00
Joe Hillenbrand be817362ae update docs for switch to SPC l for perspectives 2015-11-06 01:17:10 -05:00
syl20bnr 1d340dcc77 Switch bindings avy-jump-line and perspective micro-state
So perspectives are on SPC l
and avy jump to line on SPC L

This is to have consistent lower case keys for "scopes":
- b for buffer
- f for files
- p for project
- and l for layout (perspective)
2015-11-05 00:28:30 -05:00
Diego Berrocal 69959a576f Prefix persp-curr-name 2015-11-05 00:23:25 -05:00
Eivind Fonn 00885ba1c3 Remove spaceline configuration 2015-11-05 00:23:05 -05:00
Diego Berrocal 50ceba2a6e Pimp perspectives layer (using persp-mode) 2015-11-05 00:21:32 -05:00
syl20bnr a256c4434b evil-snipe: use a post-init function instead of layer-usedp 2015-11-04 23:17:39 -05:00
justbur aa5b252786 evil-snipe: Use separate hooks for override mode 2015-11-04 15:51:54 -05:00
Joe Hillenbrand 1714e4bab7 fix obsolete method in vagrant layer
Fixes warning:

    Compiling no file at Tue Nov  3 13:42:42 2015
    ../../init.el:Warning: `vagrant-tramp-enable' is an obsolete function; use
        `vagrant-tramp-add-method' instead.
2015-11-04 20:21:26 +01:00
Christoph Paulik 4e302bc0c0 Deactivate loading of evil-snipe in magit-mode if git layer is used 2015-11-04 20:20:44 +01:00
Eivind Fonn 3341ab4e4c Enable custom info+ modeline 2015-11-04 20:20:13 +01:00
Eivind Fonn 0567f5cdac Fix spacemacs/kill-other-buffers 2015-11-03 13:53:10 +01:00
Eivind Fonn b7fff9e903 Actually disable flyspell buffer in flyspell hook
Missing from 02fb2bd3f4 after rebase
2015-11-03 08:59:34 +01:00
ralesi 500c22e3c5 Helm locate automatically sets the locate command
Can't check simply for executable, as `helm-locate-set-command` is
always run.
2015-11-03 00:00:55 -05:00
syl20bnr df003f299f Defer ace-jump-helm-line and move it to C-q 2015-11-03 00:00:55 -05:00
ralesi 44109c3584 Add ace-jump-helm-line for quick helm navigation.
Useful when you don't desire filtering helm buffer but still want to
navigate.
2015-11-03 00:00:55 -05:00
ralesi e29125e4a6 Use q to exit macrostep
If `macrostep-mode` is entered separate of micro-state, there is no
normal mode mapping that will exit it.
2015-11-03 00:00:55 -05:00
Sebastian Wiesner 1a7bc42089 scala: Enable Ensime’s Expand Region integration
See https://github.com/ensime/ensime-emacs/pull/263
2015-11-03 00:00:55 -05:00
Fredrik Bergroth 946fd8cf29 Fix vinegar keybindings 2015-11-03 00:00:55 -05:00
Sebastian Wiesner 02542d6996 scala: Fix bindings for Ensime test commands 2015-11-03 00:00:55 -05:00
Fabien Dubosson f3b99d6edf Make OCaml-generated files invisible to completion 2015-11-03 00:00:55 -05:00
syl20bnr b405752f6c Remove global infix in dotspacemacs-global-line-numbers
I feel that it is not needed because it makes not a lot of sense to
have it non global since it is a dotfile variable.

Also remove ' from the docstring for consistency.
2015-11-03 00:00:55 -05:00
Fabien Dubosson 612c3df265 Introduce 'relative for global-line-numbers
Allow to use 'relative as value for the dotspacemacs-global-line-numbers
setting. This enable relative global line numbers as it is a common
usage.
2015-11-03 00:00:55 -05:00
syl20bnr 34ce7a0c23 Move lorem ipsum to SPC x i l and declare prefixes
This a rarely used key binding so we can nest it a little bit more and
free some key bindings in the `text insert` namespace.
2015-11-03 00:00:54 -05:00
Fabien Dubosson 5f7c3d067f Add the lorem-ipsum package
Add the `lorem-ipsum` package to insert text, and bind it to:

* `xil`: lorem-ipsum-insert-list
* `xip`: lorem-ipsum-insert-paragraphs
* `xis`: lorem-ipsum-insert-sentences

`x` as it's text related, and `l` for `list, `p` for `paragraph` and `s`
for sentences.
2015-11-03 00:00:54 -05:00
syl20bnr bb80e94d38 haskell: replace lambda with a named function 2015-11-03 00:00:54 -05:00
d12frosted 4dc3b120a9 force haskell loading in cabal files
Fixes #335
2015-11-03 00:00:54 -05:00
Eivind Fonn b19e6f139e Add SPC hdF describe-face binding 2015-11-03 00:00:54 -05:00
syl20bnr 25c9d126ab Refactor spacemacs-base/init-recentf
Use progn forms and unify setq expressions.
2015-11-03 00:00:54 -05:00
Peter Duerr fb36140e44 Increase number of stored recent files to 1000 2015-11-03 00:00:54 -05:00
Peter Duerr c2ae7ce9d2 Move recentf initialization to :init section
* In the :config section, the parameters cannot easily be overridden by
  the user.
2015-11-03 00:00:54 -05:00
Fabien Dubosson 02fb2bd3f4 Disable automatic call to flyspell-buffer
Some users complained about slowness when opening files due to
spell-checking being activated. This commit revert to old behaviour
checking only the words under the cursor and not the whole buffer.
2015-11-03 00:00:54 -05:00
syl20bnr eafec1989a spell-checking: replace lambda by named function 2015-11-03 00:00:54 -05:00
Fabien Dubosson 302ae039da Move the dictionary selection code into adict hook
When `auto-dictionary-mode` is activated, it tries to guess the
dictionary no matter if a dictionary was manually selected before, what
is annoying when toggling spell-checking off/on. To avoid this, a piece
of code was added to the spell-checking toggle to select the
buffer-local dictionary if it was set.

As mentioned by lunaryorn, this part of code should also be called when
flyspell is enabled/disabled by an other mean than the spacemacs toggle.
This commit move the code to the `auto-dictionary-mode-hook` for this
purpose.
2015-11-03 00:00:53 -05:00
Fabien Dubosson ac14e3f551 Document auto-dictionary limitations 2015-11-02 23:57:58 -05:00
Eivind Fonn 33a19b48fd Fix LaTeX flyspell hook 2015-11-02 21:25:11 +01:00
Eivind Fonn fa975c4c45 Fix helm-spacemacs with new FAQ.org format 2015-11-02 15:05:39 +01:00
Eivind Fonn c960bfefd5 Use flyspell-mode-off to turn off flyspell
Otherwise the hook is run.
2015-11-02 11:05:24 +01:00
Eivind Fonn 09cb12cf30 More spell checking modifications
- Choose between flyspell-prog-mode or flyspell-mode on SPC t S
- Move flyspell-buffer to flyspell-mode-hook
2015-11-02 10:44:16 +01:00
Fabien Dubosson 456dcb3086 Correct few defaults of spell-checking's layer
- Disable `auto-dictionary-mode` by default. Add a layer's variable to
  enable it. Its behaviour has some impact on user-defined dictionary
  preferences, it has some bugs in daemon mode, and not all languages
  are supported. It's why it better to have it disabled by default.

- Toggle off `auto-dictionary-mode` when spell-checking is toggled off.

- Call `flyspell-buffer` when toggling **on** spell-checking to reveal
  mistakes (probably the wanted behaviour when activating
  spell-checking)

- When `auto-dictionary-mode` is enabled, if a buffer's dictionary is
  manually changed with `SPC S d`, it is restored after toggling
  spell-checking on/off, otherwise `auto-dictionary` will thy to guess
  it again.
2015-11-02 00:29:15 -05:00
syl20bnr 96e7c8ee86 git and github: reorganize key bindings
gd is now "diff"
gh is now "github"
gg is not changed for "github gist" (updated the prefix name)
Inverts gc and gC since commit is more frequent than checkout
2015-11-02 00:16:13 -05:00
Christoph Paulik 9bcd40b7b0 Add github-clone to github layer
- allows cloning and forking from within emacs
2015-11-01 23:44:18 -05:00
Eivind Fonn 1070d4b56a Set up documentation publishing 2015-11-01 23:40:36 -05:00
Eivind Fonn 13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
person808 ae97f14854 Update evil-snipe mode names. 2015-11-01 10:08:46 +01:00
Eivind Fonn 99b2502ffc Fix flyspell/rcirc integration 2015-10-31 14:30:10 +01:00
Fabien Dubosson c043a78ba3 Remove spell-checking-auto-dictionary variable
Remove `spell-checking-auto-dictionary` as the same effect can be
obtained with `dotspacemacs-excluded-packages`.
2015-10-31 14:25:02 +01:00
Fabien Dubosson b644f8abd7 Move auto-dictionary to spell-checking and activate it
This commit moves the – previously disabled – `auto-dictionary` code to
the `spell-checking` layer and activate it. It is now enabled by
default, but can be disabled by setting `spell-checking-auto-dictionary`
to `nil`.

`auto-dictionary` comes with some interesting improvements:

- Tries to automatically detect what is the language of the buffer and
  activate the corresponding dictionary.

- When a buffer is opened, all spelling mistakes are shown without
  needing first to be under the cursor.

- When the dictionary is changed, the whole buffer is reanalyzed for
  spelling mistakes (close #2088).
2015-10-31 14:24:54 +01:00
Muneeb Shaikh db453acbd6 Customizable whitespace-cleanup
- Default: cleanup whitespace on changed lines
2015-10-31 14:16:31 +01:00
d12frosted 1e8504d06c add REPL key bindings to haskell-cabal-mode 2015-10-31 14:13:20 +01:00
d12frosted 59342f7cdb [haskell] fix REPL bring function
So now, instead of switching to it - `SPC m s s` shows REPL buffer
without switching to it.
2015-10-31 14:13:13 +01:00
Adam Olsen 68fa0330e4 Make NeoTree more "vim" friendly
This rebinds keys in NeoTree so that `g` and `G` work correctly
2015-10-31 14:10:57 +01:00
Utkarsh Kukreti 89001ff7cb elixir: Bind "q" to 'quit-window in various elixir modes. 2015-10-31 14:09:34 +01:00
Utkarsh Kukreti 6aa2f7db29 elixir: Enable company-mode in alchemist-iex-mode. 2015-10-31 14:08:45 +01:00
Pierre Radermecker 5831b841ee Add magit-checkout binding
This is particularly useful to switch from one branch to another without
going through the status buffer for instance.
2015-10-31 14:07:00 +01:00
justbur 11f50cf2d8 which-key: Allow evil-operators to popup buffer 2015-10-31 14:05:19 +01:00
Bar Magal 16611a53d8 Update code to show magit buffers in full screen 2015-10-31 13:50:43 +01:00
bogdanteleaga 0917dc8337 Added more features for testing in golang layer 2015-10-29 19:42:32 +01:00
bogdanteleaga 9c7033cee5 Updated readme with example for goimports 2015-10-29 19:41:30 +01:00
Eivind Fonn eda444f153 Add theming layer 2015-10-29 19:40:01 +01:00
Fabien Dubosson c3299f0eca Make linum toggle local and add a variable for global mode
`global-linum-mode` is making line numbers appearing in `*spacemacs*`
and `helm` buffers, what is annoying.

This change make the linum `SPC t n` toggle buffer-local, and add a
customization variable in `.spacemacs` to enable line numbers globally.
«Globally» here as to be understood as «in `prog-mode` and `text-mode`».
2015-10-29 19:30:06 +01:00
Diego Berrocal 358b38cec5 Add python prefixes for python 2015-10-29 19:29:46 +01:00
Fabien Dubosson b79a2ecd66 Remove flycheck-fringe's bullet underlining
Currently flycheck's bullets in the fringe are underlined. The
underlining is hardcoded in the bitmap. This commit remove this
underlining.
2015-10-29 19:17:53 +01:00
d12frosted e5c0891bb8 haskell-indentation is enabled by default
Fixes #3581
2015-10-29 19:16:51 +01:00
justbur 01d1231ac9 git: Don't use evil-magit for emacs editing style 2015-10-29 12:22:10 -04:00
justbur 49c1f76939 git: Update git readme for evil-magit 2015-10-29 12:22:02 -04:00
justbur 150e38e76c git: Add new evil-magit bindings
Also turn off evilification for magit conditional on the evil-magit
package being used.
2015-10-29 09:17:44 -04:00
Eivind Fonn ae47ac0671 Fix haskell layer paren bug 2015-10-29 14:11:26 +01:00
d12frosted a4d36fe2cd [eyebrowse] add support of keyboard-like num sort
So instead of `0 1 2 ... 9` user will see `1 2 ... 9 0`. Which reflects
how numbers appear on keyboard. It's optional, and disabled by default.
2015-10-29 14:09:09 +01:00
Eivind Fonn 7b8e996ec9 Fix ghc-mod variable name 2015-10-29 13:48:46 +01:00
Boris 775a6cd6cb don't push company-ghc when ghc-mod is disabled
Because it forces `ghc-mod`, so haskell layer doesn't respects the value of `haskell-enable-ghc-mod-support`.
2015-10-29 13:48:46 +01:00
d12frosted 95a7bb51b1 [haskell] add note about indentation reset 2015-10-29 13:48:46 +01:00
d12frosted 8583875632 update haskell layer documentation
- fix some inaccuracies
- add more notes about using ghc-mod
- add more notes about using ghci-ng
- add more notes about using shm
- add more troubleshooting
2015-10-29 13:48:46 +01:00
Eivind Fonn 3f80d334d4 Remove obsolete evil-jumper-file 2015-10-29 13:48:46 +01:00
Wieland Hoffmann 104a1f8c9b Python: None of the keys start with m T, remove mention of it 2015-10-29 13:48:46 +01:00
Eivind Fonn 16e7ad2923 Clean up PATH documentation 2015-10-29 13:48:46 +01:00
d12frosted a89a05ca9a add note about setting up $PATH 2015-10-29 13:48:46 +01:00
Eivind Fonn f32f2f8ad8 Add company-css backend in web-mode 2015-10-29 13:48:46 +01:00
Eivind Fonn cd7bf33278 Fix yas-snippet-dirs setup
Fixes #3572
2015-10-27 23:37:20 +01:00
Eivind Fonn afd9d6c85e Fix unicode minor modes separator in terminal 2015-10-27 14:41:05 +01:00
Eivind Fonn 69298f0671 rcirc: bugfix
- auth-source may not have been loaded (#1203)
- spacemacs/warning does not exist
2015-10-26 12:34:15 +01:00
Eivind Fonn 405dc6600d Restore alphabetical order in markdown doc 2015-10-25 11:01:08 +01:00
Ista Zahn ec7a318fc6 Utility function for starting ESS REPLs 2015-10-25 10:54:05 +01:00
Wieland Hoffmann 9d12307ce9 Fix the list of buffer-wide commands in markdown
The old list was completely wrong for some reason, so here's the correct
one, in the order the keybindings appear in packages.el.
2015-10-25 10:51:19 +01:00
Sebastian Wiesner 12aa53fc36 Fix debug on error toggle
Add :status option and manage :on and :off manually.  Without :status
the message is wrong (always says enabled), and with :status we need an
explicit :on and :off, because otherwise the toggle would always disable
the flag.

Not sure what’s going on here, but this one works correctly now.
2015-10-25 10:50:00 +01:00
justbur e6ede2e49a which-key: Add new smart search description 2015-10-25 10:49:05 +01:00
Fabien Dubosson 81952b0977 Declare spacemacs/write-file as not repeatable
Close #3433.

`evil-repeat` repeat the last action, but ignore calls to `write-file`
or `evil-write`. `spacemacs/write-file` is a wrapper around those two
function, so it should be ignored to.
2015-10-25 10:47:57 +01:00
Eivind Fonn 50e1f3ea3f Move compilation-scroll-output to config.el 2015-10-25 10:46:47 +01:00
Joe Hillenbrand 76b795d17e setq compilation-scroll-output first-error
- https://www.gnu.org/software/emacs/manual/html_node/emacs/Compilation.html
2015-10-25 10:44:48 +01:00
Robert O'Connor f60f96ca38 git: Update docs for magit-gitflow 2015-10-25 10:41:38 +01:00
Max Wofford 0fbafbc2da Fix typo in latex README
auto-fille-mode -> auto-fill-mode
2015-10-25 10:40:34 +01:00
Diego Berrocal 23f43af23c Disable line numbers in shells 2015-10-25 10:38:18 +01:00
Pierre Radermecker 5473d441d4 Remove guides to comply with latest haskell-mode
The visual guides have been removed from haskell-mode as of ee55de1 (#947)
2015-10-25 10:28:38 +01:00
Eivind Fonn e776ada203 Temporarily disable helm-flx for find files 2015-10-24 19:25:11 +02:00
Sebastian Wiesner feeab93a1c Don’t change custom-file if already set
Allows users to change the location of custom-file safely.
2015-10-22 22:10:37 -04:00
Igor Avdeev 5db0ca4b0c Make google translate language code case-insensitive 2015-10-22 21:58:13 -04:00
sectorzero 5c0bbd1660 go layer : function to 'go run' on current 'main' package 2015-10-22 21:55:35 -04:00
syl20bnr f7139a4167 git: add doc for SPC g i 2015-10-22 21:43:05 -04:00
Diego Berrocal d516553634 Add magit-init to keybindings
I noticed that magit-init is a faster way of initializing vcs maintained
projects.
2015-10-22 21:41:28 -04:00
sectorzero 5f40cc56fa go layer : import GO15VENDOREXPERIMENT from env
New Go package management tools will follow this env variable to
determine the location to look for dependencies
See : https://github.com/golang/go/wiki/PackageManagementTools
2015-10-22 18:46:23 -04:00
Eivind Fonn 7279844ec4 Add custom helm modeline 2015-10-22 18:36:33 -04:00
Muneeb Shaikh f4fc2a7781 Fix magit-gh-pulls and magit-gitflow keys
Remap gh-pulls on `#` and gitflow on `%`

This breaks the old keybindings of `magit-gitflow` which was `#f`
previously.
2015-10-22 18:16:44 -04:00
Eivind Fonn f9f12c265f Fix modeline update (broken by upstream) 2015-10-22 16:06:50 +02:00
David Gu 47ce1707b6 Declare prefixes for elixir-mode 2015-10-21 17:31:04 -04:00
Sebastian Wiesner 7a7300ac42 Declare prefixes for Ensime keybindings 2015-10-21 17:29:39 -04:00
Sebastian Wiesner 9da101f1d7 Add prefixes for Ruby 2015-10-21 17:27:35 -04:00
Muneeb Shaikh c72199b57d Add restart-emacs on SPC q r 2015-10-21 17:24:48 -04:00
d12frosted da394374de fix inaccuracy in omnisharp readme file
Omnisharp-server is not included in this layer - only omnisharp-emacs.
Server is installed (as described) manually.
2015-10-21 17:22:44 -04:00
syl20bnr bbd031d407 markdown: add doc for SPC m x C 2015-10-21 17:12:30 -04:00
Ernestas Lisauskas 04fbe5da24 Remove avy-keys config value 2015-10-21 17:09:32 -04:00
Sebastian Wiesner b8846361ad Add binding for markdown GFM code blocks
Also declare prefixes for markdown keys
2015-10-21 17:04:16 -04:00
syl20bnr 2b038b2046 git: move gh-pulls bindings from #g to #
`#` is now the official binding for gh-pulls
Resolves #3481
2015-10-21 16:58:39 -04:00
Max Gonzih 7c8cc42480 Remove extension for flycheck-nim, use melpa package instead. 2015-10-21 20:34:19 +02:00
syl20bnr 55bc0815c8 git: make git-timemachine enter function idempotent
And make it possible to deactivate the micro-state on a different
buffer than the git-timemachine buffer
2015-10-19 21:21:31 -04:00
syl20bnr 3e5acbea80 git: better exit function for magit-blame micro-state 2015-10-19 21:21:01 -04:00
syl20bnr 7107ea5ffa git: make SPC g b (magit-blame) idempotent
Fixes #3467
2015-10-19 21:10:25 -04:00
Wieland Hoffmann 70ecefe79b python/doc: Fix a link to pylookup 2015-10-19 00:29:49 -04:00
Adam Olsen c6bfa137f1 Add jbeans theme 2015-10-19 00:25:46 -04:00
Driftcrow 31e0976742 Fix SPC j k unwanted auto-comment
When the cursor is on a commented line, the next indented line was
commented as well.
2015-10-19 00:22:06 -04:00
Fabien Dubosson ab23559047 Adapt project-search keybindings
For buffers, `*` search for the word under the cursor, and `/` ask to
search for an expression. To keep the same mnemonic at project level,
this commit change `SPC /` to ask for an expression to search, and add
`SPC *` to search for the expression under the cursor (in fact the only
difference being the expression pre-filled inside the input field).
2015-10-19 00:20:59 -04:00
Eivind Fonn 8fbfebb955 Override C-s in SPC p p to use other search tools 2015-10-19 00:15:12 -04:00
d12frosted 1c54ee534f add prefixes to haskell-mode bindings 2015-10-19 00:12:02 -04:00
syl20bnr 6e5924014c ruby: make the built-in ruby mode the default and...
... rename layer variable `ruby-use-built-in-ruby-mode` to
`ruby-enable-enh-ruby-mode`
2015-10-19 00:10:32 -04:00
Sebastian Wiesner 40f369ffa0 ruby: Enable built-in Ruby Mode
Enable built-in Ruby Mode, by default on Emacs 24.4 and newer where it
was significantly improved.  Otherwise keep using Enh Ruby Mode.

Add all keybindings to both modes, and provide a variable to change the
default mode.
2015-10-19 00:04:37 -04:00
justbur 94cee58a1e spacemacs-layer: Fix linum-relative-mode
The toggle is being called after the package is loaded, but the package
is deferred based on a call to the toggle. This means that the first
time toggle is used it's called at least twice. Furthermore, `(setq
linum-format 'linum-relative)` effectively turns on the mode as it is.

Possible fix for #2161
2015-10-19 00:02:46 -04:00
Eivind Fonn a5ac542ef1 Add helm-flx
See #3327
2015-10-19 00:00:15 -04:00
justbur 44cb780f25 emacs-lisp: Use auto-compile package
Also add key bindings for compiling and showing the compile log.
2015-10-18 23:59:47 -04:00
Sebastian Wiesner 6652e0d8b8 Add bindings for local variable commands
- fvd: Add a directory variable
- fvf: Add a file variable
- fvp: Add a file variable to property line
2015-10-18 23:56:46 -04:00
Sebastian Wiesner 10282c157b Remove redundant flyspell-mode hook
Markdown Mode derives from Text Mode, and thus runs text-mode-hook anyway.  Hence, there's no use in adding Flyspell Mode to Markdown Mode Hook.
2015-10-18 23:53:57 -04:00
Sebastian Wiesner 4af3eabc45 Actually enable flyspell-prog-mode
Add flycheck-prog-mode to prog-mode-hook to actually turn it on in
programming modes.
2015-10-18 23:53:31 -04:00
Sebastian Wiesner 77d5a36dec Mark css-indent-offset as safe local variable 2015-10-18 23:42:32 -04:00
syl20bnr 0108329f5b git: simplify the git-timemachine micro-state on enter action 2015-10-18 23:39:07 -04:00
syl20bnr bf7d9a40b4 git: new magit-blame micro state 2015-10-18 23:37:50 -04:00
Adam Olsen a90df74e1b Bind SPC g B to 'magit-blame-quit 2015-10-18 22:36:07 -04:00
Klaus Loft Højbjerre faf8a0b242 Move .org-id-locations to .cache directory 2015-10-18 22:27:41 -04:00
Sebastian Wiesner 6a60346b72 Only disable scala syntax checker in Ensime
Flycheck also includes a scalastyle syntax checker which is still
useful because Ensime doesn't have scalastyle support.
2015-10-18 22:12:28 -04:00
Sebastian Wiesner bd6716b4f0 Add popwin configuration for sunshine
Pin the forecast window to the bottom.
2015-10-18 10:17:58 -04:00
Sebastian Wiesner b07077280d Fix escaping in buffer name regexp
Emacs has no raw strings, and needs two backslashes for a backslash in regular expressions.
2015-10-18 10:17:38 -04:00
Carl Lange 5d0f62daef location->geolocation 2015-10-18 10:17:26 -04:00
Sebastian Wiesner 460e4b9335 Fix access to possibly void variable
calendar-location-name comes from solar.el which is neither loaded by
default nor by this layer.  Hence it can potentially be void and must
not be accessed directly.

Instead wrap it in bound-and-true-p to guard against it being void.
2015-10-18 10:17:11 -04:00
Fabien Dubosson 5105b99754 Add a note about org loading limitation
Add a release note about the limitation of org loading since 0.105, and
also document it in the org-layer's README.

Close #3277

Move note to FAQ and correct text to 0.104
2015-10-18 10:10:02 -04:00
Fabien Dubosson 2b5b2d3922 Give a prefix and bindings for org applications
Related to #1296.

Use `SPC a o` as prefix for org related applications like `org-agenda`
or `org-capture`. The `a` is for "application", and `o` for "org". To
avoid long keystrokes for `agenda`, direct bindings are offered through
`SPC a o <key>`.

Because `org-agenda` is one of the principal application, it has be
mapped to repeating the last letter (`SPC a o o`).
2015-10-18 10:05:42 -04:00
justbur c5e01eb781 core-keys: Make TAB more useful in help buffers
In help buffers, TAB in emacs state allows you to jump through the
links. This allows for the same behavior in motion state. This is very
useful for jumping to function definitions.
2015-10-14 00:39:14 -04:00
justbur bfd360440f doc: Be consistent with ref to Spacemacs
Use of =Spacemacs= vs Spacemacs is inconsistent. This picks Spacemacs as
a convention
2015-10-14 00:32:09 -04:00
Sebastian Wiesner 414472cb9e Use login shell as term shell
shell-file-name provides the "best" shell Emacs knows about, i.e. the
login shell from $SHELL, or a system default, which is just about as
arbitrary as the current default to /bin/bash.
2015-10-14 00:30:20 -04:00
Sebastian Wiesner cc9f1c1065 Bind mbb to sbt-command in scala layer
Provides a shortcut to run arbitrary SBT commands from scala mode
buffers
2015-10-14 00:29:30 -04:00
Wieland Hoffmann a788e1a88e Markup fixes
This makes all Notes in DOCUMENTATION.org be *Note*: and changes the
markup around the spacemacs init file path in jabbers README.org to
proper org markup.
2015-10-14 00:28:03 -04:00
Diego Berrocal 54a2dd7643 Modify Wakatime Layer 2015-10-14 00:26:46 -04:00
Ista Zahn 6434044f61 Let ESS set up completions 2015-10-14 00:26:29 -04:00
Diego Berrocal 8296b81144 Add Pacmacs to games layer 2015-10-14 00:18:53 -04:00
syl20bnr 101f57f606 Move vim layer to vimscript
Also refactor a bit the package config.
2015-10-14 00:14:33 -04:00
ralesi 14e7fb954c Vim syntax layer. 2015-10-14 00:10:57 -04:00
syl20bnr 4f810a3d0c org: reformat README 2015-10-13 23:59:35 -04:00
Robert O'Connor d8566c1752 tweak evil-matchit for the html layer 2015-10-13 23:48:44 -04:00
Robert O'Connor a9716e3f79 add evil-matchit support for js files 2015-10-13 23:48:44 -04:00
syl20bnr 234cb960b5 Move location layer to geolocation layer
Rename layer variables to be more explicit
Always use the first two themes of dotspacemacs-themes
2015-10-13 23:48:44 -04:00
Eivind Fonn e72dd8a87d Don't define C-/ in company-mode-map 2015-10-12 17:52:10 +02:00
Pierre Radermecker dac0ba87a4 Fix #1493: add align rule for Haskell 2015-10-12 10:10:33 -04:00
syl20bnr 49df0162b3 emacs lisp: disable flycheck by default
In this case the saner default is too disable it because there is
too much false warning
2015-10-12 10:02:10 -04:00
syl20bnr 9c28230a23 shell: set comint-move-point-for-output to true
Automatically scroll the buffer on new output
2015-10-12 10:00:57 -04:00
syl20bnr acc197f7fe org: minor README fix 2015-10-12 09:59:56 -04:00
justbur b44d27aad4 org: Add doc about RET keybinding 2015-10-12 09:50:53 -04:00
syl20bnr b27d6bd94e haskell: simplify SPC mhi and SPC mht config 2015-10-12 09:50:13 -04:00
Boris Buliga e24b693c9b fix mht and mhi bindings for haskell-mode
As discussed in #3197.
2015-10-12 09:47:55 -04:00
Amin Bandali 7ebc3bd291 Fix erc notification icon
Introduce and use spacemacs-assets-directory for specifying the
spacemacs assets used in defining the app icon path, instead of a
hardcoded string
2015-10-12 09:37:56 -04:00
Ista Zahn a761c0def4 Simplify ESS layer autoloads and add keybindings for starting REPLs 2015-10-12 09:37:06 -04:00
Sebastian Wiesner f89ec043fd Search for GNU ls after exec-path was setup
We need to look for GNU ls after exec-path-from-shell was initialised
and has fixed exec-path.  Otherwise the directory containing gls may not
yet be in exec-path
2015-10-12 09:36:29 -04:00
Fabien Dubosson e5dbfa0032 Add switch-to-scratch-buffer function and bind it
This change add a `switch-to-scratch-buffer` function allowing to – you
guessed it – switch to the `*scratch*` buffer, taking care of creating
it if necessary. The function is bind to `SPC b s`, `b` as it concerns
buffers, and `s` for `scratch`.
2015-10-12 09:34:46 -04:00
Allen Li 1f3a6a0941 Fix SIGQUIT bug #3324
This hook is duplicating the functionality of a multiterm hook, causing
it to be called after the multiterm hook has already switched to a
different buffer, thus quitting a job in the latter buffer.
2015-10-12 09:32:39 -04:00
syl20bnr 47ce251853 haskell: add documentation for SPC m g i 2015-10-12 09:32:05 -04:00
Benno Fünfstück 27efd8fc83 haskell layer: add key binding to jump to imports 2015-10-12 09:29:52 -04:00
Eivind Fonn df1cabe62f auto-completion: Remove outdated mention of C-/ 2015-10-11 10:34:31 +02:00
Uri Sharf 77d5fef312 Fix typo in var name for suppressing error popups 2015-10-10 23:56:09 -04:00
Sebastian Wiesner 2b87b3d8ea Use tab-width instead of default-tab-width
default-tab-width is obsolete since Emacs 23
2015-10-10 23:55:52 -04:00
Boris Buliga 75078b031f update tips for 'stuck' haskell repl
Based on #3292
2015-10-10 23:54:58 -04:00
syl20bnr 4df7958115 spacemacs-base: simplify url init func 2015-10-10 23:54:09 -04:00
Diego Berrocal 0be2e58308 Make Gravatar cache go into Spacemacs cache dir 2015-10-10 23:49:37 -04:00
Eivind Fonn cd702e0fd7 auto-completion: Add helm-company 2015-10-10 23:47:46 -04:00
Sebastian Wiesner 41a024c206 Use save-place-mode when available
Emacs 25 defines save-place-mode, to be used instead of
(setq save-place t)
2015-10-10 23:43:44 -04:00
Fabien Dubosson ef714fa4e3 [contrib] Add a bepo contributed layer
First version of the bepo contributed layer. I'm probably the only one
using it for now, let's wait for issues and contributions!

This is a snapshot-branch of my own development branch, it will not
change, except maybe if it reaches a new "clean" state before it gets
merged.
2015-10-10 23:43:05 -04:00
syl20bnr f0e1414994 osx: remove some comments 2015-10-10 23:42:11 -04:00
Sebastian Wiesner cd18b14a7a Use osx-trash for system trash on OS X 2015-10-10 23:38:04 -04:00
Eivind Fonn 48edef187f org: take control of evil-org 2015-10-10 23:34:56 -04:00
Sebastian Wiesner a3affa6554 Enable bug reference prog mode 2015-10-10 23:26:03 -04:00
syl20bnr 6edfdb550e nim: move local packages to local folder and simplify config 2015-10-10 23:19:23 -04:00
Eivind Fonn 56ecd43753 Add variables to opt-in to flycheck/flyspell 2015-10-10 23:18:46 -04:00
syl20bnr 74a717f2bb spacemacs-base: use new sorting function which-key-key-order-alpha
Which sorts the keys like in the READMEs and like the code.
2015-10-10 22:29:39 -04:00
Boris Buliga 9dab3b2e8e update haskell README
Improve PATH section. As requested in #2142.

Also make some minor improvements.
2015-10-09 12:17:51 +02:00
Eivind Fonn 812d35a100 Doc conventions for lisp layer READMEs 2015-10-09 12:15:35 +02:00
David Mohl 7947e2ee5b added documentation link to lisp-state to lispy languages 2015-10-09 12:12:19 +02:00
Fabien Dubosson 8d3c59c78f Discard buffer from marker, switch to it when asked 2015-10-09 12:11:24 +02:00
Fabien Dubosson 6442e00b2e Use a temp buffer to read the FAQ in helm-spacemacs
Correct a bug in helm-spacemacs: Whenever a function was needing the
FAQ's candidates in helm-spacemancs (`SPC f e h` and `SPC f e f`), the
`FAQ.org` file was open in a buffer and not closed. This commit corrects
this by loading the content of `FAQ.org` in a temp buffer and switch it
to `org-mode` in order to get the candidates.
2015-10-09 12:11:24 +02:00
Fabien Dubosson cde101955d Correct java layer's documentation (close #3293) 2015-10-09 12:09:03 +02:00
Pierre Radermecker f3f88b4d28 Fix #3214: add back split-window-and-switch func
Theses func came back from the old spacemacs/funcs.el file
2015-10-09 12:08:40 +02:00
Diego Berrocal c9612ffef0 Expand to className when using emmet
div.react-class >>> <div className="react-class"></div>
2015-10-09 12:06:40 +02:00
Bar Magal 83f1117bd7 spacemacs/backward-kill-word-or-region: handle rectangular selection correctly 2015-10-09 12:07:49 +03:00
syl20bnr cdea5716ed spacemacs-core: use new sort function which-key-prefix-then-key-order 2015-10-07 19:26:28 -04:00
syl20bnr 31229cb1f5 spacemacs: add evil-mc package
evil-mc is a new attempt to bring multiple cursors to evil users.
Enable it by adding `(global-evil-mc-mode)` then use
g r m to mark all
g r u to remove cursors
g r p to pause cursors
g r r to resume
g r h to add a cursor at point (cursors must be paused first)

Package repo: https://github.com/gabesoft/evil-mc
2015-10-07 18:17:01 -04:00
Christoph Paulik 806573b09b javascript: add instruction for installation of JSHint 2015-10-07 15:51:40 -04:00
Severen Redwood 7924a782a2 Add a function and keybinding for cargo clean 2015-10-07 15:51:40 -04:00
mahinshaw 58f2937260 Use exec-path-from-shell-copy-env to set RUST_SRC_PATH for racer 2015-10-07 15:51:40 -04:00
Markus Bertheau fff86b6a4e Add CIDER quick start for boot 2015-10-07 15:51:40 -04:00
Andrew Burkett cb65a9adaf Remove server-kill-buffer from frame-killer 2015-10-07 15:51:40 -04:00
William Casarin 5dd4aa5fd2 hoogle-lookup-from-local key binding 2015-10-07 15:51:40 -04:00
Swaroop C H 0a6c619194 [python] Allow user to customize fill column 2015-10-07 15:51:40 -04:00
GeorgeLenton a28e776b84 Enable Emmet tab expansion using hybrid mode
Previously only worked for vim & emacs.
2015-10-07 15:51:40 -04:00
syl20bnr 0cbe01433d Move (setq help-window-select 't) to spacemacs-base 2015-10-07 15:51:40 -04:00
syl20bnr c070f81951 spacemacs-base: add <backtab> binding to go up a directory with helm 2015-10-07 15:51:39 -04:00
justbur bb1ed81aca helm: Backtab to go up directory in helm
The key binding wasn't taken, so I figured it couldn't hurt. There's a
nice symmetry with using Tab to enter a directory.
2015-10-07 15:51:39 -04:00
Fabien Dubosson b1fc99bdee Improve keybindings for text-region counting.
Emacs provides a `count-words-region' which is badly named as it counts
not only words, but also characters and lines. The current keybinding
for this function `SPC x w c' implies it's referring to words only. The
new mapping `SPC x c` is more coherent since it means counting text,
whether it is characters, words or lines. An alias `count-region` is
created to be less confusing in which-key description.

`SPC x w c` being free, `spacemacs/count-words-analysis` is remapped to
it instead of `SPC x w C` to save one keystroke.
2015-10-07 15:51:39 -04:00
Eivind Fonn 1c06e2369c Use helm or ibuffer to provide :ls 2015-10-07 15:51:39 -04:00
Fabien Dubosson 66bd2d326e Improve count-words-analysis output
The `spacemacs/count-words-analysis' function displays results with the
default elisp formatting of associative list. This change improves it by
changing the format to a more human-readable form, and also by ordering
results by frequencies first, and then alphabetically in case of tie.
2015-10-07 15:51:39 -04:00