Commit graph

269 commits

Author SHA1 Message Date
Nate Wolfe e031903bc4 (4604) Restore avy-open-url and fix avy-goto-url
This commit restores the spacemacs/avy-open-url SPC x o keybinding,
and also adds spacemacs/avy-goto-url to the package :commands to fix the
missing function definition on the SPC j U keybinding.
2016-01-18 00:25:05 -05:00
justbur 0f0f583489 evil-jumper: Remove hack for evil-jumper bindings
A recent change in evil-jumper makes this unnecessary. The keys are now
bound as remaps, which means they have the same priority as the location
of the evil-jump-forward and evil-jump-backward commands. This is
exactly what this hack was trying to accomplish, so it's no longer
necessary.
2016-01-18 00:06:09 -05:00
Diego Berrocal e7e7f75d3f Add evil-scroll-line bindings to evilified state
Unless there is a valid reason why these shouldn't be included I think
we should keep them. after all we can yank with `v y` right?

squash! Add documentation
2016-01-17 23:56:56 -05:00
syl20bnr 194a42db74 Move unimpaired to spacemacs layer 2016-01-17 23:28:09 -05:00
syl20bnr 052e8dfc08 Move helm and search key bindings
Key bindings should not be choosen given a package name, some helm
key bindings are under `SPC h` which are corrected the following way:

SPC h l for helm-resume to SPC r l (resume last completion)
SPC s l for last-search to SPC r s (resume search) (SPC s l is still
available)
SPC h L for helm-locate-library to SPC s L

Resolve #4592
2016-01-13 08:32:16 -05:00
Alejandro Catalina Feliú 7cadd905d8 Add bracketed-paste for tty
Enable a hook in +distribution/spacemacs layer to enable bracketed-paste
in tty setups. This allows a better paste functionality in tty.

squash! Sort packages.
2016-01-13 00:48:19 -05:00
Alejandro Catalina Feliú f8ad9b6103 Remove spacemacs/init-dired+ function
The package dired+ is initialized but it's not in the spacemacs-packages
list, so it is not finally loaded.
2016-01-13 00:42:25 -05:00
Fabien Dubosson ad448d6683 Add helm-apropos on SPC h d d
Bind it to `SPC h d d` as it's a way to describe a lot of elements:
- commands
- functions
- classes
- generic functions
- variables
- faces
- helm-attributes

Is also bound on `SPC F1` and will also stay there.
2016-01-13 00:40:25 -05:00
justbur 36a0756211 spacemacs-base: Add back view-emacs-news
Some how it got lost moving helm into its own layer.
2016-01-12 08:19:47 -05:00
syl20bnr a5857b3d7c Optimize SPC j prefix
`SPC j j` is now for avy-goto-char (SPC SPC in 0.105)
`SPC j J` is for avy-goto-char-2
`SPC j s` is for splitting strings or sexps
`SPC j S` is for splitting strings of sexps, insert new line and indent
`SPC j n` is to split line at point, insert new line and indent
2016-01-12 01:17:41 -05:00
syl20bnr 3d63dd4392 core: fix red mode-line when an error occurred
Rename function configuration-layer//set-error to
configuration-layer//increment-error-count
2016-01-12 00:08:36 -05:00
Fabien Dubosson 78b8d939f4 Add spacemacs/describe-last-keys 2016-01-11 22:01:01 -05:00
Fabien Dubosson 2441b5861f Remove duplicate definition of SPC hds 2016-01-11 22:01:01 -05:00
syl20bnr 438bce3d29 Move request package storage directory to .cache 2016-01-11 21:59:34 -05:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
syl20bnr ce33918714 Use spacemacs/add-to-hooks 2016-01-11 01:15:47 -05:00
Eivind Fonn d8833215b0 Make scratch buffer major mode configurable 2016-01-11 01:13:10 -05:00
justbur c5528a5031 ivy: Minor changes to make more consistent w/ helm
1. Ask for intial directory in "file" search commands
2. "ry" -> counsel-yank-pop (browse kill ring)
3. Shorten which-key description for project search commands.
2016-01-11 01:13:09 -05:00
Fabien Dubosson a2ad920216 Enable hl-todo in text-mode derived buffers 2016-01-10 14:24:30 +01:00
syl20bnr ea333f7282 completion: move hjkl function to layers and treat ivy as a package 2016-01-09 15:29:37 -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 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 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
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?fileviewer=file-view-default#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
syl20bnr 4ed2229c5c shell: move deactivation of smooth-scrolling to shell layer 2016-01-08 21:27:26 -05:00
Eivind Fonn f549333762 Unset scroll margin in eshell 2016-01-08 21:43:35 +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
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
syl20bnr 29a7eab537 Remove unneeded variable spacemacs-mode-line-new-version-lighterp 2016-01-05 12:50:21 -05:00
Eivind Fonn de17125e6d Fix void variable error for new version segment 2016-01-05 15:31:51 +01: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
justbur 8a5882ec6b evil-jumper: Move bindings to global motion map
Having them in a minor mode map gives them precedence over other minor
modes. It's better to put the bindings in the same place as the original
evil jump commands which is the global motion map.
2016-01-05 00:40:16 -05:00
syl20bnr c913ec89f8 Improve support for GUI client of emacs --daemon
Fix spacemacs|do-after-display-system-init
Delay setup of spaceline separator
Explicitly reload the theme for the first GUI client
2016-01-04 23:18:45 -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