Commit graph

914 commits

Author SHA1 Message Date
justbur e519dad118 evil: Bind evil-jump-forward for GUI
Bind to <C-i> so that evil-jump-forward works in the GUI and we don't
rebind TAB in the terminal.

Bind <C-i> for the evil-jumper package too
2016-01-21 16:12:08 +01:00
Eivind Fonn 54fd0c1c55 Remove unnecessary :mode for thrift 2016-01-21 16:04:45 +01:00
secwang 70bb733dc2 Add thrift mode in extra-langs layer. 2016-01-21 16:02:54 +01:00
Coburn Berry 726b84b55f new rails logo 2016-01-21 15:59:34 +01:00
Tony Lotts 7b06611cdb Fix typo in shell documentation. 2016-01-21 19:08:09 +08:00
syl20bnr d3961f397c csv layer: sort key bindings 2016-01-18 01:26:06 -05:00
syl20bnr 9d42e055c2 csv: defer loading, add image and author 2016-01-18 01:23:25 -05:00
William Casarin 47250b0687 csv layer 2016-01-18 01:11:50 -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
justbur 2f94ada233 spacemacs-base: Add evil-ediff
This is a simple package I wrote to add a few vim-like bindings to ediff
and make the help popup reflect these bindings.
2016-01-18 00:35:40 -05:00
Joris Engbers c5166bc155 Update the documentation for spacemacs-layouts
Two specific issues have been addressed. In README.org there was no
mention of the workspaces micro-state.
The micro-state documentation erroneously stated that 'R' could be used
to create a new layout. 'l' was mentioned nowhere as the way to create a
new layout.

The rest of this commit only updates both docs to contain the same info.
2016-01-18 00:34:57 -05:00
Balaji Sivaraman f63a2f4315 Link to official docs for setting config variables in JS layer readme 2016-01-18 00:33:01 -05:00
Balaji Sivaraman ab109b1eb2 Add keybinding and evil-ex-cmd string for spacemacs/new-empty-buffer fn 2016-01-18 00:31:21 -05:00
William Casarin 362b6998cf haskell: add helm-hoogle, bind to mhf 2016-01-18 00:28:00 -05:00
Fabien Dubosson 123844cd51 Add text justification bindings 2016-01-18 00:25:31 -05:00
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
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
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
Ernestas Lisauskas e2be2b9a37 Remove Clojure indentation rules
1. There is a new syntax for the indentation rules.
2. These rules are library specific and not from the core language.
2016-01-18 00:05:42 -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 e7f26b79b7 mu4e: use :skip-install keyword 2016-01-17 23:27:50 -05:00
Fredrik Bergroth 061805c7ea Add prev/next file navigation to unimpaired layer 2016-01-17 22:48: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
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
Syohei YOSHIDA aec2437071 Don't call exec-path-from-shell function on Windows 2016-01-13 00:43:30 -05:00
rustyplanet 4265e0e35c make curly braces optional for the R language indication in markdown 2016-01-13 00:42:59 -05:00
rustyplanet 1bff8a2f61 add ESS (R-mode) support to markdown files 2016-01-13 00:42:59 -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
Alejandro Catalina Feliú f93e9376cf Add default keybinding for org-capture
It adds the default keybinding for the `org-capture` function, as stated
in its documentation it should be `C-c c`.
2016-01-13 00:42:16 -05:00
Thomas Boby efc94a20e5 Fix early creation of empty org directory
Move org-default-notes-file from ~/.notes to org-directory/notes.org
and remove forced creation of org-directory. User will be prompted
to create directory on completing capture.
2016-01-13 00:40:52 -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
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
fenxian 1ce399d24f Fix key binding part in c-c++/README.org 2016-01-13 00:12:45 -05:00
syl20bnr da385d6a48 spacemacs-ivy: simplify handling of smex 2016-01-13 00:07:04 -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 9a7c22152c mu4e: no error if org-mu4e cannot be found 2016-01-12 00:08:51 -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
syl20bnr ac8a4bc7df org-mu4e: use pre-init and post-init functions 2016-01-11 23:20:20 -05:00
syl20bnr 408e710e39 asm: clean up and tweaks
- Fix typos in README.org
- Add missing image
- Remove unecessary post-init functions
- Move SPC m h to SPC m h h to follow conventions
- Add correct copyright attribution
2016-01-11 22:58:57 -05:00
Tu Do 4675760cf5 Add asm-layer 2016-01-11 22:35:37 -05:00
syl20bnr 5c3fb7d20e mu4e: remove redundant require of org-mu4e and add a note
about the usage of `:location built-in` for mu4e package
2016-01-11 22:25:03 -05:00
Christian E. Hopps 3cf2eee3b5 load org mu4e functionality when org or mu4e loads 2016-01-11 22:06:59 -05:00
isphinx aaa94b012e rust: format rust code using rustfmt 2016-01-11 22:01:48 -05:00
justbur 3e507eb225 org: Set org-imenu-depth to 8
This makes the depth of imenu consistent with
helm-org-headings-max-depth when ivy is used instead of helm.
2016-01-11 22:01:28 -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
Alejandro Catalina Feliú 1ec305463d Add javascript support on markdown
Enable syntax highlighting.
2016-01-11 21:45:13 -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
Fabien Dubosson 46c7bce575 [bugfix] helm-spacemacs-faq has been renamed 2016-01-11 16:16:30 +01:00
syl20bnr 6bf066584a Ivy: choose ivy--regex-ignore-order as regexp builder
Allow to type some text and then refine them by adding other word
separated by a space.
2016-01-11 01:27:38 -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
Chris Barrett de4c7502c0 Remove reference to undefined fn haskell-cabal-hook
Resolves #4512
2016-01-11 01:13:10 -05:00
Fredrik Bergroth c9e459fd14 Clean up rust layer 2016-01-11 01:13:10 -05:00
Alejandro Catalina Feliú 7f3267e48b IRC layers: Add the buffers to the persp
Right after initializing the custom layout, add the buffers to the
persp.
2016-01-11 01:13:10 -05:00
Fredrik Bergroth c302ae4e67 Properly read version in .python-version
Fixes #4514
2016-01-11 01:13:09 -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
Will Maier 6d8222cedc Avoid clobbering golang variables
Instead of checking for our platform, simply test if the variables have
already been set. If not, let exec-path-from-shell figure out the right
values.
2016-01-11 01:13:09 -05:00
justbur d91b6e4902 ivy: Correct sp and sP bindings
They were bound to a nonexistent function. Fixes one of the issues in
issue #4528.
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 ebad32293f Remove remaining mentions of dotspacemacs-command-key 2016-01-10 01:22:49 -05:00
syl20bnr 9f7914fa04 helm: unified :config blocks in init-helm 2016-01-10 01:21:52 -05:00
syl20bnr 6747e9a9f6 Fix prefix error triggered by Helm
See docstring in changes.
2016-01-10 01:20:26 -05:00
Fabien Dubosson 36f09b1b77 [doc] Change org wrong quoting -> =…= 2016-01-09 21:56:18 +01:00
syl20bnr 23e9ebd2f6 spacemacs-ivy: hide ivy-mode lighter 2016-01-09 15:51:18 -05:00
syl20bnr d447e96bb2 Respect 80 chars max per line and progn in use-package
when multiple sexps
2016-01-09 15:51:18 -05:00
Fabien Dubosson 5685af2abb [bepo] Update the README 2016-01-09 21:44:45 +01:00
Fabien Dubosson 278e67db5e [bepo] Remove c and , from aw-keys 2016-01-09 21:44:45 +01:00
Fabien Dubosson 687c75de5c [bepo] Add basic ivy support 2016-01-09 21:44:45 +01:00
syl20bnr ea333f7282 completion: move hjkl function to layers and treat ivy as a package 2016-01-09 15:29:37 -05:00
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?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