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
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
Yiming Chen
954104a792
Bind g and G in helm micro state
...
Fix #4233
2016-01-03 22:23:12 -05:00
Fabien Dubosson
6cb7399cac
Change SPC f e h
to SPC h SPC
for helm-spacemacs default binding
...
This make `SPC h SPC` as default binding for accessing `helm-spacemacs`,
by either A) changing all the documentation; and B) adding a deprecation
message for `SPC f e h`.
The deprecation use a warning, because if a message is used it's hidden
directly when the helm buffer is shown, making it nearly unnoticeable
for the user.
2016-01-03 22:23:12 -05:00
Eivind Fonn
fd014b6908
Add some text objects
2016-01-03 22:23:11 -05:00
Eivind Fonn
24d0fe3b7b
Set helm-org-format-outline-path to t by default
...
Also ensure FAQ source works regardless of this setting
2016-01-03 18:30:41 +01:00
Eivind Fonn
ee42853ac6
Fix helm grep
2016-01-03 15:47:39 +01:00
syl20bnr
5463a370bd
holy-mode: fix toggle rule regression
...
From doc:
SPC t e E toggles between vim and emacs styles (corrected)
SPC t e h toggles between vim and hybrid styles (was correct)
2015-12-21 00:14:46 -05:00
justbur
27fa611af6
holy-mode: Disable certain modes on activation
...
Includes evil-escape-mode and hybrid-mode for now, but more can be added
to holy-mode-modes-to-disable-alist.
2015-12-21 00:13:34 -05:00
justbur
1d05f3887a
holy-mode == (evil-mode -1)
...
The proper holy-mode (IMO). Simply disable evil-mode and reset the
cursor and mode-line settings.
2015-12-20 23:25:48 -05:00
syl20bnr
a5022743e5
core: remove dash and f from boostrap and attempt to remove evil
...
Cannot remove evil due to bind-map requiring it.
2015-12-20 23:00:09 -05:00
syl20bnr
522366bbd1
spacemacs: hide cursor in helm buffers
...
fixes #4236
2015-12-20 01:16:36 -05:00
justbur
76d82869a8
bind-map: Define minor-mode name
...
New bind-map option allows defining the name for the overriding-mode.
This does that and removes the now redundant :evil-use-local option.
2015-12-09 01:25:19 -05:00
syl20bnr
e0b3f5e1de
spacemacs-base: enable hl-todo only when needed
2015-12-07 22:59:14 -05:00
Fabien Dubosson
6def1a480b
Use hl-todo for TODOs/FIXMEs highlighting
...
The current way to highlight TODOs is `spacemacs/highlight-TODO-words`
which is a spacemacs' hard-coded function.
This commit changes it for the `hl-todo` package. This imply:
- More keywords are supported out of the box.
- Keywords are associated to faces, so they are shown in different
colors.
- Keywords are stored with their faces in a list, so it's easier for
users to add their own keywords and faces (as contrary to a regexp).
- It is possible to disable highlighting by simply excluding the
package.
2015-12-07 19:39:38 +01:00
Fabien Dubosson
ec8250ea1d
Move jump-in-buffer
to SPC s j
...
After a discussion on gitter with @TheBB and @syl20bnr, `jump-in-buffer`
is moved from `SPC s L` to `SPC s j`.
2015-12-07 13:12:10 +01:00
syl20bnr
5104593e89
spacemacs-base: swap SPC s l and SPC s L
...
SPC s l to bring last search buffer is a powerful binding, let it take
the easier binding.
2015-12-06 23:20:46 -05:00
justbur
899123258a
keys: Don't specify C-i as a binding key
...
(kbd "C-i") == (kbd "TAB") so for consistency sake we always bind to TAB
by convention.
2015-12-05 13:18:37 -05:00
Eivind Fonn
4870030ba1
Auto-set evil-shift-width based on mode settings
2015-12-01 02:19:56 -05:00
justbur
81765e9f8f
keys: Fix #3927
...
Use new bind-map option to override minor-mode maps with the emacs
leader key.
2015-12-01 01:22:53 -05:00
justbur
648a4e9937
keys: Fix #3981
...
Make bind-map use default behavior of evil-leader, which used local
state maps for global bindings.
2015-11-29 23:21:09 -05:00
syl20bnr
a19c0f3d24
core: remove spacemacs/set-key funcs and add a new pre-command-hook
...
This pre-command-hook translates the special key to the corresponding
emacs function key. This effects only happens in terminal, this hook is
a no-op in GUI.
By doing this we attempt to bring more consistency between the GUI
and the terminal regarding TAB and RET keys.
2015-11-28 23:11:48 -05:00
syl20bnr
d5233a9706
core: new spacemacs function to set keys
...
spacemacs/set-key
spacemacs/set-key-for-state
These functions find normalized keys which should handle as sanely as
possible the GUI and the terminal.
See docstring of spacemacs//normalize-key for more info.
2015-11-28 00:13:31 -05:00
Eivind Fonn
7adca30aeb
Fix void variable error: smartparens-strict-mode
2015-11-26 23:25:48 -05:00
syl20bnr
b540b15afe
Move describe-keymap to SPC h d K and document it
2015-11-22 22:31:29 -05: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
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
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
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
f6eb4f4290
Document SPC h h binding and move to init function
...
Also remove hl-anything docs
2015-11-15 12:24:49 +01: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
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
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
Muneeb Shaikh
647ca88008
evilify package menu
2015-11-11 21:30:17 +01: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
Eivind Fonn
b779846d14
Properly honor helm setting
2015-11-10 08:09:19 +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
Eivind Fonn
d14f10e47d
Override evil mouse support in helm ( #3700 )
2015-11-09 13:05:29 +01:00