Commit graph

346 commits

Author SHA1 Message Date
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