Commit graph

780 commits

Author SHA1 Message Date
syl20bnr
d729045f89 Fix SPC h SPC function 2016-01-09 14:18:35 -05:00
justbur
4872c711a2 spacemacs-ivy: Fix imenu jumping for ivy split
Make spacemacs/jump-in-buffer aware of ivy and move jI into the
spacemacs-helm layer
2016-01-09 13:36:03 -05:00
justbur
00b25656a0 spacmacs-helm: Move binding for hdm
For some reason this fixing a problem with helm refusing to load
2016-01-09 13:36:03 -05:00
justbur
9497cbee44 spacemacs-helm: rename dotspacemacs-command-key
Corresponds to commit 58e5241c8d
2016-01-09 13:36:03 -05:00
justbur
e4b865d88f ivy: Move persp keybindings out of projectile init
Now in post-init functions in the spacemacs-layout layer

Cleans up f74fbc6baba044b559917f6b15cb6f91934cdeee
2016-01-09 13:36:03 -05:00
justbur
3e2b5c88c3 ivy/helm: Reorganize help bindings
Mainly, reduce the duplication in bindings, but also issue message for
common spacemacs commands that are not implemented in spacemacs-ivy yet.
2016-01-09 13:36:03 -05:00
justbur
a8c5119a50 ivy: Fix recentf loading
ivy-use-virtual-buffers was triggering recentf-mode to be called before
the recentf init function was called leading to problems with where the
recentf file was placed.
2016-01-09 13:36:03 -05:00
justbur
99140bc679 spacemacs: Port spacemacs/helm-open-junk-file for ivy
This is now spacemacs/open-junk-file and decides whether to use ivy or
helm based on the use of the spacemacs-ivy layer
2016-01-09 13:36:03 -05:00
Alexandr Skurikhin
e64555d9d3 Map <escape> to minibuffer-keyboard-quit in ivy-minibuffer-map 2016-01-09 13:36:03 -05:00
justbur
08ec94a373 Update previous commit for new layer 2016-01-09 13:36:03 -05:00
Alexandr Skurikhin
c7008108f5 Add ivy-persp-switch-project 2016-01-09 13:36:03 -05:00
justbur
b0ee301845 layers: Conditionally load helm packages
Only use them when the spacemacs-helm layer is used.
2016-01-09 13:36:03 -05:00
justbur
32f523e062 spacemacs-helm: New layer
Collect helm configuration from spacemacs and spacemacs-base into one
place. The purpose is to allow choice between this layer and
spacemacs-ivy.
2016-01-09 13:36:03 -05:00
justbur
67abb7df58 spacemacs-ivy: New layer
This layer configures spacemacs to use the ivy/counsel/swiper family of
packages. Default completion is done with ivy. This is meant to replace
helm for those who want it.
2016-01-09 13:36:03 -05:00
Fabien Dubosson
72a89ab312 Use jump-forward C-i binding only in GUI mode
Background: `C-i` and `TAB` are the same keycode for historic reasons.

With the current settings, evil [1] and evil-jumper [2] associate
`jump-forward` to `C-i` (==`TAB`), what overrides bindings set to
`TAB` (==`C-i`) in terminal mode, like `orc-cycle`. To fix this,
this commit:

- Set `evil-want-C-i-jump` to `nil`, to prevent `evil` and `evil-jumper`
  to use the `C-i` (==`TAB`) keycode.

- Remove the spacemacs' code that bind `jump-forward` to `TAB`(==`C-i`)

The current spacemacs code already rebind `jump-forward` to the GUI-only
`<C-i>` keycode.

[1] 082bd65ccc/evil-maps.el (evil-maps.el-323)
[2] efaa841ca4/evil-jumper.el (L241)

Fix #4505
Fix #4487
2016-01-09 18:43:48 +01:00
syl20bnr
fa50f4600a Move avy bindings to spacemacs/init-avy, remove "SPC `" 2016-01-09 02:28:19 -05:00
syl20bnr
58e5241c8d dotfile: rename dotspacemacs-command-key for dotspacemacs-emacs-command-key
And change the key from ":" to "SPC"
This key does not try to bind evil ex-command anymore, it only bind
M-x behind the leader key.
2016-01-09 01:53:24 -05:00
syl20bnr
454027df35 Remove undocumented and duplicated SPC j m and update doc. 2016-01-09 01:30:05 -05:00
justbur
02e2ce4d5a keybindings: Add SPC j for jumping
Use mnemonic j for jumping commands. Although some of these commands
exist in other places, they are duplicated here when they don't
conflict.

Add:

  1. jb for bookmark-jump
  2. jc for avy char jump
  3. jd for dired-jump
  4. jD for dired-jump-other-window
  5. jf for find-function-at-point
  6. ji for spacemacs/jump-in-buffer (imenu)
  7. jI for helm imenu in all buffers
  8. jl for avy go to line
  9. ju for avy-pop-mark (u for "undo")
  10. jU for spacmacs/avy-goto-url
  11. jv for find-variable-at-point
  12. jw for avy go to word or subword

Move:
  1. jh to j0 (push mark and go to beginning of line)
  1. jl to j$ (push mark and go to end of line)
2016-01-09 01:00:44 -05:00
Eivind Fonn
c4a1a56e6a Add <C-i> binding for forward jump 2016-01-08 23:10:44 -05:00
Ken Wu
6480d755ad Don't enter evil-insert-state for holy-mode after aya-expand
Key binding "SPC i S e" enters evil insert state afterwards, it's
pretty annoying if you are using emacs editing style.
2016-01-08 23:08:19 -05:00
syl20bnr
3494f92a39 csharp: fix typo in doc 2016-01-08 22:42:14 -05:00
syl20bnr
ae64d5b955 python: sort key bindings 2016-01-08 22:37:35 -05:00
syl20bnr
dc60667813 squash! mu4e: remove mu4e-use-maildirs and defer loading of package 2016-01-08 22:34:52 -05:00
syl20bnr
bb07eeccad mu4e: remove mu4e-use-maildirs and defer loading of package
To deactivate maildirs extension, simply add the package to
dotspacemacs-excluded-packages
2016-01-08 22:33:26 -05:00
syl20bnr
bd9ad83f4b yasnippet: add support for dotspacemacs directory
as well as a minor refactoring for the definition of yas-snippets-dirs

Fixes #4502
2016-01-08 22:05:09 -05:00
syl20bnr
4ed2229c5c shell: move deactivation of smooth-scrolling to shell layer 2016-01-08 21:27:26 -05:00
Eivind Fonn
a5be67bf10 Document eshell-z 2016-01-08 21:45:56 +01:00
Eivind Fonn
f549333762 Unset scroll margin in eshell 2016-01-08 21:43:35 +01:00
Eivind Fonn
1d722b29ac Defer eshell-z 2016-01-08 21:41:42 +01:00
Diego Berrocal
ee6968863d Add eshell-z to eshell (awesome autojump) 2016-01-08 21:38:08 +01:00
Eivind Fonn
83f18ae538 Document auto-completion key sequence delay var 2016-01-08 21:29:58 +01:00
MadAnd
f6b981b329 auto-completion: make key seq timeout configurable 2016-01-08 21:24:49 +01:00
Andrew Vasilyev
60d06e2c29 Add more commands to omnisharp layer 2016-01-08 21:19:52 +01:00
Eivind Fonn
6b80c30839 Fix mu4e installation instructions 2016-01-08 21:13:02 +01:00
Christian E. Hopps
48ab6e57e1 add mu4e-maildirs-extension to mu4e layer 2016-01-08 21:10:36 +01:00
Christoph Paulik
d4dfb385e7 Improve Python virtual environment docs and keybindings
Inspired by the discussion in
https://github.com/syl20bnr/spacemacs/issues/2841 I thought it was
useful to improve the Documentation and provide keybindings for all the
useful `pyvenv` functions.
2016-01-08 21:04:28 +01:00
Michael Hauser-Raspe
f3f6988f0a remove tern port files 2016-01-08 20:59:08 +01:00
justbur
1c94c84c09 bind-map: Add evilified state to evil major-mode keys
Fixes problem referred to in #4495
2016-01-08 20:52:53 +01:00
syl20bnr
c34c9d0acc ansible: refactor the configuration and change a key binding
use post-init functions and move `SPC m a ?` to `SPC m h a`.
2016-01-07 15:20:27 -05:00
syl20bnr
da94a257d9 auto-completion: refactor yasnippet config
- Move all setq outside of spacemacs/load-yasnippet
- Explicitly add each snippet dirs, even the one in elpa dir

Before this commit I still get error on yasnippet loading, with this
commit the error is gone.

I hope we get yasnippet loading right this time! :-)
2016-01-07 00:14:32 -05:00
Eivind Fonn
0a1b6f5690 Some yasnippet loading tweaks
- Don't enable yasnippet before setting folders (avoid explicitly
  loading them)
- Require yasnippet manually to get the yas-snippet-dirs value
- Don't include yas--default-user-snippet-dir (this is
  ~/.emacs.d/snippets)
- Allow `auto-completion-private-snippets-directory` to also be a list
  of directories
2016-01-06 23:37:25 -05:00
Eivind Fonn
c034acaa4b Fix jumping to nil perspectives 2016-01-06 23:35:01 -05:00
Eivind Fonn
0d273485ae Fix rbenv loading 2016-01-06 23:33:12 -05:00
Travis B. Hartwell
7fc743d255 Make sure the keymaps are set for ledger-mode.
Found in some cases that the major mode leader bindings were not set
until switching to holy mode and back.  This hook makes sure that isn't
necessary.
2016-01-06 00:49:27 -05:00
syl20bnr
cacc893c1d ocaml: move smartparens config to post-init function 2016-01-06 00:40:57 -05:00
Török Edwin
5b3719845a delay sp-local-pair initialization until after smartparens is loaded
otherwise on startup sp-local-pair wasn't set, but after 'SPC feR' it was.

use with-eval-after-load
2016-01-06 00:34:28 -05:00
Boris
c7771e5f3b fix docstring for private eyebrowse layer function 2016-01-06 00:29:26 -05:00
justbur
50ade79bc8 emacs-lisp: Fix mode hook
Fix incorrect use of spacemacs/add-to-hook which used emacs-lisp-mode
for the hook variable. Since we are only adding a single function to the
hook, just use add-hook.
2016-01-06 00:29:00 -05:00
justbur
f3c650472c transparency: Better version of toggle transparency
Before we could get an error if for some reason the user set the alpha
parameter to something other than a cons cell.

Ref #4388
2016-01-06 00:26:53 -05:00