Commit graph

94 commits

Author SHA1 Message Date
justbur
776c4f0a97 emacs-lisp: Add eval funcs and fix leader bindings
Functions for evaluating the form (not an atom) that the point is
currently in, and for evaluating the symbol underneath the point. Both
require smartparens to work.

Also, add all evil-leader bindings to lisp-interaction-mode and declare
prefixes.
2015-09-27 22:15:31 -04:00
justbur
1e76127e26 better-defaults: Add backward-kill-word-or-region
This function merges the functionality of `evil-delete-backward-word`
and `kill-region`. Which is called depends on whether a region is active
or not. This is the perfect `C-w` binding (for me).
2015-09-27 21:46:34 -04:00
Yufan Lou
83c971070b Fix typo "SPV" in layers/org/README 2015-09-27 21:06:24 -04:00
Eivind Fonn
1e290b4282 Fix smartparens configuration in html layer 2015-09-27 21:06:07 -04:00
Yufan Lou
084dd7bde1 Remove "symbol" from list of changed charsets
This prevents minor mode lighters from being displayed in the Chinese font. Since the new glyphs are often higher, separators of powerline do not match the new height.
2015-09-27 21:04:47 -04:00
Fabien Dubosson
560d2acb6e Focus current file when opening project's neotree
The `SPC p t` keybinding opens the neotree at the project root.
Currently the neotree only shows the root of the project, nothing is
expanded and no file is focused/selected. With this modification, the
neotree is still showing the project root, but with the current file
being focused/selected in the hierarchy (its path being expanded).

Signed-off-by: Fabien Dubosson <fabien.dubosson@gmail.com>
2015-09-27 20:58:13 -04:00
Eivind Fonn
88fb27af72 Don't wrap simple functions in lambdas 2015-09-27 20:54:49 -04:00
syl20bnr
b256475325 helm-find-files: use C-h and C-l to go up down a directory
Import TheBB configuration into Spacemacs and add `C-S-h` to replace
redefined `C-h` binidng.

Also remove the go up a directory behavior on backspace, now backspace
is a regular backspace.
2015-09-27 10:20:14 -04:00
syl20bnr
61c97b7dda ibuffer: use new evilify macro 2015-09-27 09:19:31 -04:00
syl20bnr
ae475c06c4 base: move toggles for editing styles
SPC t E e -> emacs
SPC t E h -> hybrid
2015-09-26 11:06:45 -04:00
syl20bnr
48b3fb2cad Improve which-key prefix command names for toggles 2015-09-26 11:06:16 -04:00
syl20bnr
983e569de6 hybrid: redefine evil-insert-state-p
If it has nasty side effects we will just revert it in favor of the
precedent commit.
2015-09-26 00:54:56 -04:00
justbur
90fc25a19c hybrid: Prevent C-SPC toggling visual from hybrid
Redefines the `evil-visual-activate-hook` to add hybrid to the list of
states that don't go into visual state when the mark is activated
2015-09-26 00:45:45 -04:00
syl20bnr
3832a601c4 org: add :step pre to org-plus-contrib package 2015-09-25 01:02:02 -04:00
Diego Berrocal
e2e1fe515e Add config phase to Wakatime
This Adds the `spacemacs/wakatime-dashboard` function which opens the
dashboard in the browser.
2015-09-24 13:54:45 -04:00
Eivind Fonn
b908c654d3 Exclude erc-gitter and erc-yank 2015-09-24 18:04:20 +02:00
Diego Berrocal
35525e99fa Add erc-gitter module 2015-09-24 00:46:11 -04:00
person808
a7c4014c3f Add new descriptions for new files in helm-spacemacs. 2015-09-24 00:36:53 -04:00
syl20bnr
5c53427c35 spacemacs-base: Remove outdated comment and sort packages 2015-09-23 23:47:36 -04:00
person808
706185b771 Simplify setting anaconda-mode server directory.
There is now a built-in variable we can use to customize the directory.
2015-09-23 23:32:02 -04:00
syl20bnr
7e8c275bc5 Rework editing style toggles
Put the toggles on SPC t E with
SPC t E h -> holy-mode
SPC t E y -> hybrid-mode

Make the mode-line diminished lighter consistent with the key bindings,
so holy is Ⓔh and hybrid is Ⓔy

Add seamless switch between holy and hybrid.
2015-09-23 23:27:51 -04:00
Ben Hayden
ea805fdc7a Add diminish for hybrid. 2015-09-23 23:11:56 -04:00
Alexandr Skurikhin
4eb83f2079 python-mode: fix py-yapf for yapf >= 0.3.0
yapf >= 0.3.0 now returns 2 if source code was changed.
2015-09-23 23:11:04 -04:00
Colin McLear
b0e7566f92 Remove deprecated "deft-extension" and add setting for recognition of multiple extensions
Change README to reflect change in recognition of extensions

Modify "deft-extensions" example in README

Clarify README config instructions
2015-09-23 23:10:17 -04:00
Robert O'Connor
e43ebf20a4 tweak evil-matchit for ruby 2015-09-23 23:09:21 -04:00
Robert O'Connor
24c642ff3d Add back and fix evil-matchit for python-mode 2015-09-23 23:09:08 -04:00
Robert O'Connor
b2628fb6b7 gnus layer: fix conflicting key bindings
change:
SPC m h -> SPC m M
SPC m H -> SPC m m
2015-09-23 22:51:09 -04:00
Pierre Faure
42e2009e85 Add org layer keybindings for subtree & TODOs
* Move whole subtrees up/down/right/left with SPC mS commands
* When using more complex TODO sets, move between them with SPC m C-S
commands
* Add more cycling options with SPC mL SPC mK, etc.
(for timestamps, headlines, items, properties)
* Insert timestamps with SPC m.
2015-09-23 22:38:04 -04:00
syl20bnr
c0a66452a7 gnus: move org-mime to org layer
org-mime is installed by org-plus-contrib so it makes more sense to
configure in org layer.
2015-09-23 22:04:07 -04:00
syl20bnr
3f1f1a9fbc org: install org-plus-contrib from org ELPA repo 2015-09-23 22:03:38 -04:00
syl20bnr
25ee106bdb Migrate some configuration to new built-in location 2015-09-23 22:02:39 -04:00
syl20bnr
c505fde5e4 python: put anaconda-mode dir in cache dir 2015-09-22 19:28:53 -04:00
Martin Račák
e89ff3544e Update org layer doc to reflect 194f7d5 2015-09-22 11:10:38 +02:00
Timothy Jones
2f6a45f561 Rename the idris-lang layer to idris
The idris-mode package has been updated to no longer use the
idris-packages variable, which allows the Idris layer to safely be
renamed to the standard for other languages.
2015-09-22 11:08:22 +02:00
Muneeb Shaikh
1fc73d671f Evilify magit-stash-mode 2015-09-19 18:44:32 -04:00
syl20bnr
0ab2c89628 evil: remove evil-move-beyond-eol and comment out cursor refresh hack 2015-09-19 18:16:00 -04:00
justbur
89ec2d7096 Add back core-keys: Rewrite emacs-leader handling
Brings back the changes made in
dad786bc8d with an additional fix for
evil-org whose config was unbinding important leader keys in org-mode
2015-09-19 01:07:26 -04:00
Robert O'Connor
3839e1a925 Temporarily disable evil-matchit for python.
See #3068; redguardtoo/evil-matchit#18 and redguardtoo/evil-matchit#58
2015-09-19 01:02:22 -04:00
Chris Grindstaff
88daf79ad1 Update config.el
Fix spelling
2015-09-19 01:00:25 -04:00
Tim Jäger
e06ee1f9f2 Updated README.org file for extra-langs layer 2015-09-19 00:57:32 -04:00
Brian Hicks
a9a26e5b18 shell: fix bad casing in README 2015-09-19 00:57:16 -04:00
Joris Engbers
68bbe0eaa9 Fix wrong variable name in README for rcirc layer. 2015-09-19 00:57:06 -04:00
Eivind Fonn
d0d2b15ae2 Fix org-repo-todo loading
- Incorrect function name
- Remove explicit list of commands (they all have autoload cookies)
2015-09-18 10:27:27 +02:00
syl20bnr
220b15a734 Revert "core-keys: Rewrite emacs-leader handling"
This reverts commit dad786bc8d.
2015-09-17 23:41:48 -04:00
justbur
dad786bc8d core-keys: Rewrite emacs-leader handling
This is how evil-leader gets `SPC m` to work for mode specific bindings,
and we need to mirror this step for `M-m`. This is big change, but in
order for `M-m` to work properly we need to remap it to the mode-map
whenever possible.
2015-09-17 22:35:51 -04:00
Eivind Fonn
41459bea12 Set evil-move-beyond-eol to nil for now 2015-09-17 22:05:04 +02:00
syl20bnr
5e0fa16a32 go: move SPC m h p to SPC m h h
To follow conventions
2015-09-17 13:45:37 -04:00
bogdanteleaga
9daac9b306 lang/go: change keybindings to removed shadowed oracle and follow conventions 2015-09-17 14:45:27 +02:00
Robert O'Connor
3f2e885811 Rename spacemacs-core to spacemacs-base
Per the discussion in #3002. A comment in #3047 prompted this PR.
2015-09-16 21:22:35 -04:00
Eivind Fonn
21146f4fed Fix #2390
Sets up company in eshell-mode-hook during the init phase so that it can
be reliably disabled in user config.
2015-09-14 15:09:28 +02:00