Commit graph

1814 commits

Author SHA1 Message Date
Muneeb Shaikh
db162af3d8 Set projectile-completion-system to helm
It is inconsistent when using helm as default completion and command
such as `SPC m r f c` opens up ido in rails project.
2016-07-05 00:23:16 -04:00
syl20bnr
15c392b891 haskell: remove unnecessary backquote 2016-07-05 00:23:16 -04:00
Koray Al
8d0f76b259 haskell: replace quotes with backquotes inside pcase 2016-07-05 00:23:16 -04:00
Jeff Schnurr
a6d6a53501 Fix dependency in readme
If only ipython is installed, command $ ipython notebook fails with ImportError: No module named 'notebook'.  Correct to specify dependency to include the notebook server.
2016-07-05 00:23:16 -04:00
d12frosted
d114ef6e51 [shell-scripts] add note about shellcheck 2016-07-05 00:23:16 -04:00
JAremko
e3c86859b3 refactor space-doc, add to the FAQ. 2016-07-05 00:23:16 -04:00
JAremko
3aaa39f155 fix space-doc errors 2016-07-05 00:23:16 -04:00
d12frosted
dc3b46c9c4 fix some function names in space-doc 2016-07-05 00:23:16 -04:00
MadAnd
dd9c967825 Support Hybrid state in Iedit Insert state 2016-07-05 00:23:16 -04:00
d12frosted
97147993a6 remove old custom layout on override
For example, creating new custom layout `["e" . "Name"]` clashes with
`["e" . "Spacemacs"]`. After override `SPC l o` should not show both of
them, but only the override.
2016-07-05 00:23:16 -04:00
Wieland Hoffmann
aa8b69a006 Prevent find-file-at-point from pinging what looks like domains
Previously,

* typing `gf` in domain names (for example google.com) in normal buffers
* typing `<tab>` in domain names in the minibuffer

would start pinging that domain name. This is not really useful, so
disable it.

Fixes #2654.
2016-07-05 00:23:16 -04:00
Eivind Fonn
31f37fc4d7 org: org-repo-todo -> org-projectile 2016-07-05 00:23:16 -04:00
Eivind Fonn
6609cbe85f Evilify indent-rigidly 2016-07-05 00:23:16 -04:00
Jeremy Bi
644cddca27
Enable auto-complete in Idris repl
Add keybinding to kill Idris process
2016-07-02 12:41:49 +03:00
d12frosted
237d1143d1
improve mwim integration
1. By default let `C-e` move to the end of line first.
2. Minor improvements to readme file
2016-06-27 15:21:31 +03:00
Thomas de Beauchene
71f8ae8e38
Add mwim to layer better-defaults
Add "smart move end of line" behaviour and add two layer variables
allow for tweaking C-a and C-e behaviours:

- better-defaults-move-to-beginning-of-code-first and
- better-defaults-move-to-end-of-code-first
2016-06-27 15:16:31 +03:00
syl20bnr
89dc1af9a6 Remove spacemacs/add-to-local-vars-hook and use (format ...)
It is better to directly hook function using the conventional hook
functions.

Replace usage of (concat ...) by a (format ...) from which is more
readable.
2016-06-26 14:04:13 -04:00
d12frosted
a8b0eaacec fix support of conditional config in ruby layer 2016-06-26 13:51:12 -04:00
d12frosted
45dd381fd2 conditionally enable haskell completion backend 2016-06-26 13:51:11 -04:00
d12frosted
6798af57e3 implement API for local-vars-hook 2016-06-26 13:51:11 -04:00
syl20bnr
4ad27cfea8 Update docstring for space-doc and delete some empty lines 2016-06-26 13:47:52 -04:00
Eivind Fonn
38814881dc Allow user more control over space-doc mode 2016-06-26 13:27:51 -04:00
syl20bnr
b30c393b8d Refactor SPC w and SPC b regarding deletion
The motivation is to clean redundent actions and bring more consistency
between `SPC b` and `SPC w` by:
- using capital letters for ace-window actions
- reusing the same letters between window and buffer when possible
- adding support for universal prefix argument to delete both window
and buffer

Details of changes:

Buffer

- `SPC b k` has been removed since the functionality is
available directly in Helm by selecting the kill buffer action

- `SPC b m` (buffer move) has been removed because the functionality
is available via `SPC w` with `SPC w h/j/k/l`, `SPC w H/J/K/L` and
`SPC w M` (see window section for the new `SPC w M`).

- `SPC b K` (kill other buffers) is now `SPC b m` to map with `SPC w m`
(kill other window or maximize). Using the universal prefix argument
`SPC u SPC b m` will also kill the windows.

- `SPC b C-k` (kill buffer matching regexp) is now simply on `SPC b k`.

- `SPC b D` now kills a buffer using ace-window.

- `SPC b d` and `SPC b D` now accept an universal prefix argument to
also delete the window. So `SPC u SPC b d` and `SPC u SPC b D` delete
the buffer and the window.

Window

- `SPC w M` now swap the window using ace-window.

- old `SPC w M` (center window) is now on `SPC w c` and `SPC w C` uses
ace-window.

- `SPC w SPC` (select window) is now on `SPC w W` since it uses
ace-window.

- `SPC w d` and `SPC w D` now accepts an universal prefix argument to
delete the window and the buffer.
2016-06-26 00:05:55 -04:00
Jonas Benn
878c45abf9
Add kill-buffer-and-window keybinding
`kill-buffer-and-window` is now bound to `SPC b D` and the keybinding
is documented.
2016-06-25 09:06:40 +03:00
d12frosted
841fc514b8
remove TODOs from dash layer readme file 2016-06-24 20:36:47 +03:00
syl20bnr
93d01704a6 haskell: align tables in documentation 2016-06-23 00:50:03 -04:00
d12frosted
a8e569d3b2 refine haskell completion backends
- add haskell-completion-backend variable that should be used to select
  desired completion backend
- add support for intero (based on @cydparser layer)
- remove ghci-ng support
- update readme file:
  - document haskell-completion-backend variable
  - remove installation notes for ghc-mod as they are not relevant
    anymore
  - remove ghci-ng section
  - overall readme file fixes and improvements
2016-06-23 00:47:23 -04:00
syl20bnr
cbb61070fd Replace some emacs-user-directory vars and update documentation 2016-06-23 00:25:04 -04:00
Exaos-memes
904f7ea665 Define new variable: spacemacs-start-directory.
With this new variable, user can load spacemacs anywhere, e.g.
"~/.emacs.d/spacemacs/". Only user's cache directory is still hard-coded
as "~/.emacs.d/.cache/". If user want to use spacemacs this way, drop
one line as the below in "~/.emacs.d/init.el":

    (setq spacemacs-start-directory "~/.emacs.d/spacemacs/")
    (load-file (concat spacemacs-start-directory "init.el"))
2016-06-23 00:19:34 -04:00
syl20bnr
bef22b40a4 keyboard-layout: minor edition in README.org 2016-06-22 23:54:34 -04:00
Fabien Dubosson
7c56215860 keyboard-layout layer 2016-06-22 23:35:06 -04:00
syl20bnr
829f00a824 Add more info for fish shell and ansi-term 2016-06-22 23:28:41 -04:00
ralesi
560f86f997
Fix :owner reference in ivy-spacemacs-help 2016-06-22 07:44:15 +03:00
syl20bnr
85ace24553 react: fix tern setup
The init function should be a post-init instead of an init function.
Also simplified the configuratin quite a bit.
2016-06-21 19:04:59 -04:00
d12frosted
7de26d5a2d
clarify installation notes on scala readme 2016-06-21 20:05:21 +03:00
Tony Lotts
9f46d563b8
Update README.org
Refer to Ensime's SBT plugin installation instructions.
2016-06-21 19:59:17 +03:00
km
d7820aafd6 Remove even more 24.3 related configuration
Helm-flx, which is included as a core package, requires a minimum Emacs
version of 24.4. As it stands attempting to install Spacemacs on Emacs
24.3 or below will break on helm-flx.
2016-06-20 22:26:53 -04:00
Eivind Fonn
92b48eadea 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 22:05:56 -04:00
syl20bnr
117dcba0ed Revert "Drop support for Emacs 24.3"
This reverts commit 31bab70397 making
a new commit to put TheBB as the author.
2016-06-20 22:05:12 -04:00
syl20bnr
31bab70397 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 21:55:36 -04:00
Eivind Fonn
2a6ffc72d9 ivy: Support GNE
Implement a keymap for Spacemacs’ counsel search that supports saving
the results to a buffer (bound on F3 as in helm). Ensure that the new
buffer supports the GNE API.
2016-06-18 19:21:26 -04:00
Eivind Fonn
194af58f3c helm: Support GNE
Advice the save-buffer functions to use the GNE API in that buffer.
2016-06-18 19:21:26 -04:00
Eivind Fonn
bdb40cf4d0 Implement error transient state
This works with systems defined by the error delegate function (and it
shows which system is used, and which buffer supplies the “errors”).
When the Emacs next-error system is used and the next-error buffer is a
Spacemacs GNE buffer, it also shows current number / total number.
2016-06-18 19:21:26 -04:00
Eivind Fonn
c9048dc0e3 Implement generalized next-error API
The function spacemacs//gne-next can be used as next-error-function in
any buffer where lines represent “entries” that can be visited.
2016-06-18 19:21:26 -04:00
Eivind Fonn
6236f9fd58 Minor refactoring of next/previous error
Implement a delegate function that decides which system to use. Also
check for the visibility of any next-error valid buffer, not just
compilation buffers.
2016-06-18 19:21:26 -04:00
syl20bnr
50d5cdd054 Fix error with which-key--buffer on startup
Use the hook instead.
Fixes #6358
2016-06-18 00:19:59 -04:00
syl20bnr
2738724ed4 erc, html and pdf-tools: use :evil-leader-for-mode in transient states 2016-06-17 23:40:06 -04:00
syl20bnr
d66b5c0a93 iptyhon-notebook: evilify notebooklist buffer
Move eval-after-load to :init block.
2016-06-17 23:22:12 -04:00
syl20bnr
3768374488 ipython-notebook: resize images in readme 2016-06-17 23:21:45 -04:00
syl20bnr
4ff26b3f27 ipthon-notebook: move transient state binding to SPC m .
Or `,.` with the shortcut, this is a more standard approach.
Use the :evil-leader-for-mode keyword to bind the transient state

Add space in the :doc of the transient state because auto-indent of
elisp code is broken otherwise.
2016-06-17 22:55:19 -04:00