Commit graph

168 commits

Author SHA1 Message Date
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
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
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
Sebastian Wiesner f074c3887b Bind hn to view-emacs-news 2016-01-05 01:27:25 -05:00
syl20bnr 2f479eedc3 holy-mode: fix handling of evil-escape 2016-01-05 00:58:05 -05:00
syl20bnr 96a648d1da Update deprecation TODO to 0.106 2016-01-03 22:46:01 -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
justbur 564e2611bf Fix transparency toggle
The docs state that the parameter should be a cons cell instead of a
list. Cleaned up the toggle function a bit, too.
2016-01-03 22:23:12 -05:00
Xue Fuqiao e8e679ba6d Re-enable lockfiles 2016-01-03 22:23:12 -05:00
Eivind Fonn fd014b6908 Add some text objects 2016-01-03 22:23:11 -05:00
Christoph Paulik ab0abb823c Remove custom write-file function, use save-buffer
Could not find a use case where the custom function performs differently
it is just missing functionality for indirect buffers.
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
Eivind Fonn 9642c35a6a Fix helm-spacemacs FAQ candidates
Yes helm, please do keep changing your API
2015-12-27 13:03:20 +01:00
justbur 0b02475772 Use built-in evil functions to set default states
evil-set-initial-state is safer than manually adding and deleting from
the lists, because it knows about all available states and ensures that
the mode only shows up in one list. If it is in multiple list the
initial state depends on which is checked first, which we don't want.
2015-12-21 00:22:18 -05: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 84a8f124df hybrid-mode: Add option to change default state
Useful for those who want to start in hybrid state with emacs bindings.
2015-12-21 00:13:29 -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
syl20bnr 88fba59879 evilified-state: normalize modified evil keymaps
on visual state entry
also remove ESC key binding in evilified state
2015-12-20 00:49:52 -05:00
Driftcrow c9c3d685ea fix toggle-truncate off bug 2015-12-19 23:19:43 +01:00
Eivind Fonn 03c83e169c helm-spacemacs: Fix FAQ source
See commits regarding https://github.com/emacs-helm/helm/issues/1294
2015-12-18 11:27:37 +01:00
syl20bnr 17fae46f8b evilified state: fix visual state bindings
Clear the normal state keymap when in visual state
2015-12-14 00:38:02 -05:00
Eivind Fonn edd7364db8 Fix smartparens bindings 2015-12-13 01:44:26 -05:00
justbur 7eefe0df2f spacemacs-base: Don't use obsolete variable
default-fill-column is marked obsolete since 23.2. Use setq-default on
fill-column.
2015-12-12 23:02:24 -05:00
Sebastian Wiesner 3aa8e755dd Compare system-type as symbol
As per documentation, system-type holds a symbol denoting the OS type; let's treat it as such.
2015-12-12 10:58:12 +01:00
syl20bnr dac714cdd6 evilified-state: allow back and forth between normal and evilified
using ESC.
2015-12-11 21:24:33 -05:00
syl20bnr 4a6fd1b364 core: hide mode-line at startup 2015-12-11 03:07:15 -05:00
justbur f2878d594a core: Factor out spacemacs-buffer creation
Factor out the code related to creating the spacemacs buffer, so that it
can be recreated easily if it gets deleted.
2015-12-11 02:25:19 -05:00
Diego Berrocal 8fb3af3e56 Add ability to **add** a layer in helm-spacemacs
I've been introducing tons of people to Spacemacs, and most of them
always think that having to read documentation in how to add a layer is
too much.

I made this modification to make it easier to install layers.
2015-12-11 02:13:17 -05:00
Daniel Luna cf11545cc4 spacemacs/sudo-edit working on remote ssh buffers with multi-hops 2015-12-11 02:11:32 -05:00
Fabien Dubosson 315528c89f Refactor CONTRIBUTING documentations
This commit merge the `CONTRIBUTING.md` and `doc/CONTRIBUTE.org` file
into a new `CONTRIBUTING.org` file. It also refactors the content to be
more organized and make its navigation more goal-oriented.

Github displays a link to the `CONTRIBUTING.*` file when people are
opening new issues or proposing new PRs. This file is important because
it is the entry-point to contributions guidelines for most of the users.
The current setup is non-optimal, even broken, as it adds a level of
indirection, and points to a contributing file that has broken
links (due to the new documentation format). The possible drawback of
the proposed solution is that I'm not sure if it is possible to include
it into the new online documentation as it is not in `doc/` folder.

The other possibility is to keep a small `CONTRIBUTING.md` file, as it
is now, pointing to the new documentation system (once online), but I'm
preferring the proposed solution for the following reasons:

- People that are willing to contribute will probably open Github
  first (for forking, creating PR, etc), not the online documentation.

- It has one level of indirection less when people click on the
  guidelines guide from a new issue/PR.

- `CONTRIBUTING.*` is by convention a special kind of file on github, so
  it's valid reason to break the rule and not having it in the `doc/`
  folder.
2015-12-11 01:09:09 -05:00
syl20bnr eaf6b8c134 selectric: tweak configuration, declare SPC C-t prefix name 2015-12-09 18:56:08 -05:00
William Casarin c4a80efcb8 keybinding: ck -> kill-compilation 2015-12-09 01:31:42 -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 5895e0e45f change mhh for gh to follow-symbol in help buffers
Also document the key bindings
2015-12-09 01:08:52 -05:00
AdrieanKhisbe ccb5ce5578 Add new keys in help-mode for navigation
Add keys to browse back and forward in help-mode

cf #2698

Add new key in help-mode

Last changes for motion in help buffer
2015-12-09 00:59:07 -05:00
syl20bnr 30e9a294d9 evilified-state: use a copy of evilified-state
instead of the map itself.
2015-12-08 02:08:50 -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
syl20bnr 0438ee43cf evilified-state: better tag for evilified state 2015-12-06 01:06:41 -05:00
syl20bnr 6fd2af2af3 evilified-state: support for magit remap entries in section maps
Add :pre-bindings keyword argument used to restore explicit key binding
in section maps.
2015-12-06 01:04:13 -05:00
syl20bnr 085d8f150a evilified state: fix visual state
reintroduce the pre-command hook which is required for visual state
borrow code from evil-magit to fix ESC bug in visual state in magit buffers
2015-12-05 23:13:40 -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