Commit graph

69 commits

Author SHA1 Message Date
syl20bnr fd9326486a core: new function configuration-layer/describe-package
Add actions for both helm and ivy.

TODO:
- see TODO in function body
- replace SPC h d p (list all packages, use spacemacs describe when
it is a layer package, otherwise use vanilla describe).
2016-02-22 02:29:43 -05:00
syl20bnr 83fa2996a6 ivy: put ivy-resume on SPC r l
As helm-resume
2016-02-16 23:58:44 -05:00
justbur 3e494749f1 counsel: Add spacemacs//counsel-occur
Puts counsel occur buffers in grep mode for easy transition to wgrep
mode.
2016-02-16 23:58:07 -05:00
justbur 3ac7efeb90 ivy: Add wgrep package
Can be used with counsel-git-grep to edit results in an occur buffer.
Handy!

Add wgrep bindings
",w" to enter wgrep mode
",," to commit changes
",a" to abort

counsel: Fix command output for wgrep
wgrep doesn't work with the column number in the command output
2016-02-16 23:57:28 -05:00
justbur 19c262ea0c ivy: Fix counsel-git-grep-region-or-symbol 2016-02-16 23:57:27 -05:00
justbur e94a80db49 ivy: Promote ivy-occur-mode-map
Prevent evil normal state keys from shadowing the ivy occur buffer keys
2016-02-16 23:57:27 -05:00
justbur d0cec17919 ivy: spacemacs layouts support
- port helm-perspectives
- port persp switch buffer
- port persp-close[kill]-other to use ivy
- layouts-ts: Make help more consistent
- layouts-ts: Reorganize docstring
Instead of one big list, try to organize into sections to make it easier
to find the right key
2016-02-16 23:55:23 -05:00
justbur 95a1583c73 ivy: After enabling ivy-mode disable ido-mode 2016-02-16 23:53:43 -05:00
justbur 0b997316d0 helm: Move helm-apropos to spacemacs-helm 2016-02-16 23:53:43 -05:00
justbur f6b82ee90d helm/ivy: Use hook to update hjkl navigation
Introduce hjkl-completion-navigation-functions to hold the functions to
disable and enable hjkl navigation for ivy and/or helm. The hook is run
with args to indicate whether to enable or disable.
2016-02-16 23:53:43 -05:00
justbur cf90c8ee07 ivy: Add custom transient state
Replace the hydra usually bound to C-o
2016-02-16 23:53:42 -05:00
justbur 1762b85869 ivy-help: Show no package layers under SPC h SPC
See #4540
2016-02-16 23:53:42 -05:00
justbur 3f7501fe92 ivy: Use ivy for auto-highlight-symbol search 2016-02-16 23:53:42 -05:00
Bailey Ling 204b6af424 helm should always be fuzzy by default 2016-02-16 23:18:39 -05:00
justbur aab007d225 evil-jumper: Remove obsolete package
The functionality is now incorporated into the evil core and this
package has been marked as obsolete.
2016-02-16 21:23:07 -05:00
Marat Safin 8d21d236e2 ivy: projectile-vc binding 2016-02-01 00:09:47 -05:00
Balaji Sivaraman e19abfc559 Fix/delete dead references to HOWTOs.org file 2016-01-31 23:04:47 -05:00
Balaji Sivaraman 2b1ed603dc Change all references of micro-state in codebase to transient-state 2016-01-31 23:04:47 -05:00
Fabien Dubosson 42bc71dcac Add helm-projectile-find-file-dwim
Complete #4144 in supporting `spacemacs-helm`
2016-01-31 22:12:49 +01:00
Xue Fuqiao 4958f7fc10 Fix "the point" problems
Point is a proper name when it refers to the current editing location.
Moreover, point designates a place *between* two characters (or before the first
character, or after the last character), rather than a particular character.

References:

* http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00414.html
* https://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html#index-point
2016-01-31 21:48:52 +01:00
justbur 4660a57788 helm: Update helm-nagivation ts docstring 2016-01-26 01:21:01 -05:00
justbur e97af03ff7 Call new micro-state a transient state 2016-01-26 01:21:00 -05:00
justbur 102e2e8b45 helm: Translate helm-navigation micro-state 2016-01-26 01:20:59 -05:00
justbur 90df083ad3 spacemacs-base: Add hydra package 2016-01-26 01:20:59 -05:00
justbur 1bf4052f37 counsel: Allow command line args in search
If " -- " appears in the search string split the search string on the
first occurrence with everything before treated as args to the search
and everything after treated as part of the regex.
2016-01-26 01:20:58 -05:00
justbur 2ed37e4a33 counsel: New async implementation
This version of counsel--async-command feels smoother for me. Right now
it is just being used for the search functions. If others like it, I'll
propose it upstream.
2016-01-26 01:20:58 -05:00
justbur d69c40d320 counsel: Bind M-x to counsel-M-x 2016-01-23 18:28:34 +01:00
justbur c166b3ab54 ivy-spacemacs-help: Add ivy-spacemacs-help-faq 2016-01-23 18:22:34 +01:00
justbur c3823970f0 spacemacs-ivy: Add counsel-search-docs
Command to grep the spacemacs docs using dotspacemacs-search-tools
2016-01-23 18:20:22 +01:00
person808 efaef81ca5 Port helm-available-repls to spacemacs-ivy layer. 2016-01-23 14:09:05 +01:00
Eivind Fonn e8a10c3d54 Clean up REPL code 2016-01-22 16:31:37 +01:00
Alejandro Catalina Feliú fb99f3ff19 Add global access to all available REPLs
Enable a global binding to access a list of available REPLs to run
everywhere. If the requested REPL depends on a major-mode that hasn't
been loaded, it will be loaded along its dependencies.

To make this work, a new `spacemacs/register-repl` function is included.
This function adds a major-mode and its repl function to a global
variable.
2016-01-22 16:01:19 +01:00
syl20bnr 3d8ca682bf ivy: remove blending hack
Last version of Spacemacs is fine with blending enabled
2016-01-21 19:27:34 -05:00
syl20bnr f8550a4682 Move helm-locate-library to SPC f e l 2016-01-18 00:39:38 -05:00
zilongshanren e813e1624b fix keybindings for helm-locate-library 2016-01-18 00:37:03 -05:00
ghoot ee9a734f8c Fix helm-source-header not updating
See issue #4605. When dotspacemacs-helm-header is changed from the
default nil, then the helm-source-header theming does not updated when
a new theme is loaded.

This was due to the helm-source-header-default-xxx variables being set
only once and not updated when a new theme is loaded. The fix adds an
advice to spacemacs/post-theme-init to update these variables.

This allows for all other code including theming to take place and then
set the variables correctly i.e

load-theme -> post-theme-init -> helm-header

This also ensures the code is correctly decoupled now that helm is one
of the optional completion layers.

When a single source helm is viewed the source face-attribute was
changed from helm-selection to default as this gives a more consistent
result for themes that have bright highlight lines and/or no helm face
values.
2016-01-18 00:14:12 -05:00
syl20bnr 33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
syl20bnr 9b7789124b ivy: fix removal of blending 2016-01-16 03:25:46 -05:00
syl20bnr 8198b332a0 ivy: removed forced blending method for dark theme
Temporary hack to make the occurrences highlighting more visible in
ivy minibuffer.
2016-01-16 03:02:40 -05:00
syl20bnr 8adb066e8f Revert bad renaming of function spacemacs/resume-last-search-buffer 2016-01-13 08:39:07 -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
syl20bnr 8c0a4452b0 Move open bookmarks on SPC f b 2016-01-13 08:01:52 -05:00
syl20bnr 813114efa1 Unify key bindings for helm/ivy-spacemacs-help
SPC h .        helm/ivy-spacemacs-help-dotspacemacs
SPC h SPC      helm/ivy-spacemacs-help
SPC h f        helm/ivy-spacemacs-help-faq
SPC h l        helm/ivy-spacemacs-help-layers
SPC h p        helm/ivy-spacemacs-help-packages
SPC h r        helm/ivy-spacemacs-help-docs
SPC h t        helm/ivy-spacemacs-help-toggles
2016-01-13 00:37:26 -05:00
justbur 56f656fdeb ivy: Move ivy-spacemacs-help cmds down a level
There's not that many commands under `SPC h` so this gives easier access
to these commands. It also makes `SPC h SPC` get you straight to the
docs in both helm and ivy.
2016-01-13 00:19:05 -05:00
justbur 9edc44df66 ivy: SPC ? -> counsel-descbinds
Note that this is a new function and may require an update of the
counsel package.
2016-01-13 00:15:39 -05:00
syl20bnr a94539c3ec ivy: move counsel config to init-config 2016-01-13 00:15:11 -05:00
justbur 1d28c96fae ivy: Better C-h in counsel-find-file-map
Use new function counsel-up-directory which keeps track of the directory
you left.

Also add way to get to C-h through C-S-h.
2016-01-13 00:13:18 -05:00
syl20bnr da385d6a48 spacemacs-ivy: simplify handling of smex 2016-01-13 00:07:04 -05:00
Diego Berrocal 24dcc599cc Rename Add Layer to Install Layer in helm-spacemacs 2016-01-11 21:43:49 -05:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00