Commit graph

95 commits

Author SHA1 Message Date
syl20bnr 430a3e4797 fold method: split config and add dot variable to template
Move the evil part to evil config and used :toggle keyword
Also add the variable to the dotfile template
2016-05-31 22:59:39 -04:00
Muneeb Shaikh 371dd85ff2 core: add another code folding method using origami to spacemacs-editing
* layers/+spacemacs/spacemacs-editing/packages.el (spacemacs-editing/init-origami):
  add origami package and initialize it
* core/core-dotspacemacs.el (dotspacemacs-override-evil-folding): new
  variable to allow choosing between different code folding methods.
  Currently supported `evil' and `origami'
2016-05-31 22:46:04 -04:00
Eivind Fonn 62fc64f745 core: special toggle API for minor modes 2016-05-31 22:33:44 -04:00
JAremko 74e0644759 add more checkers 2016-05-29 23:03:23 -04:00
syl20bnr 303e76b769 remove remaining packages-funcs.el and packages-config.el 2016-05-27 00:32:05 -04:00
Eivind Fonn ac104d2739 Move helm setq out of with-eval-after-load 2016-05-23 12:59:11 +02:00
syl20bnr fd756a124e New layer nlinum + revert default support for linum
To use nlinum + nlinum-relative add the nlinum layer

Note: there are still work to do on nlinum-relative, at some point we
may replace linum by nlinum completely.
2016-05-20 23:57:32 -04:00
syl20bnr e06929ddaf Replace smooth-scrolling package by a native alternative
My tests show that scroll-conservatively does the job, need your
feedback on this.

See https://github.com/syl20bnr/spacemacs/issues/6097
2016-05-20 23:36:13 -04:00
syl20bnr 46b880668c Fix neotree key bindings 2016-05-20 17:00:27 -04:00
syl20bnr 0b84b1be66 Fix errors with last revert and move neotree funcs 2016-05-19 20:22:07 -04:00
syl20bnr ee1d7d4bfa Revert "New layer spacemacs-projects containing projectile and neotree"
This reverts commit 3f22eeaa03.

Projectile is used in various places and can be considered a base
package.
2016-05-19 20:22:07 -04:00
syl20bnr 156cead380 Revert "Experimenting with 0.2 delay to redraw relative line number"
This reverts commit 8fd78b06f3.
2016-05-19 14:33:36 -04:00
syl20bnr 8fd78b06f3 Experimenting with 0.2 delay to redraw relative line number
0.2 is the same delay for additional UI improvements like matching
parens and highlighting.
2016-05-19 13:46:06 -04:00
syl20bnr 27a665e616 Move nlinum-relative to spacemacs-evil layer
Make more sense in this layer since it is used mainly by Vim style users
2016-05-17 00:05:14 -04:00
codefalling fa4eeb49f0 Replace linum by nlinum and nlinum-relative 2016-05-17 00:02:41 -04:00
syl20bnr a086a5ba17 Fix hs-minor-mode activation in prog modes 2016-05-16 21:02:33 -04:00
syl20bnr 1f993bddf6 Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
syl20bnr 1aa0e4bfa3 Rename default-org to default-org-config 2016-05-15 22:03:46 -04:00
syl20bnr 70aa0105a4 Move default config for ivy to spacemacs-completion
Use a custom package name. Also dispatch functions to funcs.el files.
Disable ivy-hydra for now.

With this default configuration users using helm instead of ivy still
get a good ivy base configuration (UI and Key bindings).
2016-05-15 22:03:25 -04:00
syl20bnr cbda059ea0 Move default config for helm to spacemacs-completion
Use a custom package name. Also dispatch functions to funcs.el files.
With this default configuration users using ivy instead of helm still
get a good helm base configuration (UI and Key bindings).
2016-05-15 22:02:18 -04:00
syl20bnr bb3e8eca42 Move ido config to new layer spacemacs-completion 2016-05-15 21:55:57 -04:00
syl20bnr 8fb5d86be0 Fix dumb error with spacemacs-projects-packages variable 2016-05-15 19:39:49 -04:00
syl20bnr 1f2d817708 New spacemacs-misc layer, move request to it 2016-05-14 12:28:57 -04:00
syl20bnr 3f22eeaa03 New layer spacemacs-projects containing projectile and neotree 2016-05-14 11:57:32 -04:00
syl20bnr cf202d60f3 Move undo-tree and ws-butler to spacemacs-editing 2016-05-14 11:57:28 -04:00
syl20bnr f959bc4b19 Move popup, popwin, fill-ci, hl-todo to spacemacs-ui-visual 2016-05-14 11:57:27 -04:00
syl20bnr 3f2bdcc03b Move restart-emacs to spacemacs-ui 2016-05-14 11:57:27 -04:00
syl20bnr 7d25e9dab4 Move some evil related packages to spacemacs-evil 2016-05-14 11:57:27 -04:00
bmag 50bd692e98 Layouts: gui/terminal frames should have different workspaces
Use two different sets of workspaces for each perspective - one
set for graphical frames, and one set for terminal frames.
This is required because workspaces from graphical frames are not
compatible for use in terminal frames.
2016-05-11 20:46:53 -04:00
syl20bnr 738f425276 Add spaceline-compile to spacemacs-post-user-config-hook
Also improve support for GUI client using a server launcher with
emacs --daemon.
2016-05-11 20:07:26 -04:00
Eivind Fonn a652a66e45 spaceline: don’t use :when in new-version segment
This will be necessary with the new version of Spaceline, but it works
fine with the old version too.
2016-05-09 23:24:44 +02:00
Daniel Luna 76610294a7 long-lines' toggle now accepts prefix arguments.
This commit introduces two new options to add-toggle:

:prefix, a symbol that is bound to the raw prefix argument (as
in `(interactive "P") forms).

:on-message, an expression overriding the default 'on' toggle
message (useful to document a toggle's argument).

These new options are applied to long-lines' toggle, so we can choose
how many lines to toggle it on via a raw prefix argument.
2016-05-06 13:53:41 +02:00
Eivind Fonn 2136a8e74f bracketed-paste: Use :toggle instead of :if
Also fix the actual expression :-)
2016-05-06 13:53:30 +02:00
Aaron Jensen 9d186c5f4c spacemacs-editing: disable bracketed paste for 25+
Bracketed paste is built into emacs 25+
2016-05-06 13:47:17 +02:00
Eivind Fonn 325067bc10 unimpaired: Move hunk commands to version-control 2016-05-06 13:27:44 +02:00
Iuri Fernandes cc6d315ea6 Adapt hunk commands to other diff tools 2016-05-06 13:26:12 +02:00
Christoph Paulik 67aeb73655 Defer loading of persp mode until after user-config
fix #3881
2016-05-05 13:01:47 +02:00
bmag 2a669648aa layouts: don't double activate persp-mode
If persp-mode is already activated, don't re-activate it. Should fix bug
where running dotspacemacs/sync-configuration-layers (SPC-f-e-R) resets
all the layouts.
2016-05-01 11:14:32 -04:00
bmag cf3068e4ef layouts: persp-activated-hook -> persp-activated-functions
persp-mode has renamed persp-activated-hook to
persp-activated-functions, so we gotta update the hook.
2016-04-29 23:01:48 -04:00
JAremko 42db6c7a41 Move space-doc to the Spacemacs core bundle 2016-04-29 20:01:56 -04:00
syl20bnr e18b1cbe0e Move vi-tilde-fringe hook to shell layer
Also replace lambdas by named functions
2016-04-29 17:48:00 -04:00
Russell Sim c115a66210 Disable tilde fringe in shell/comint modes 2016-04-28 16:01:01 +02:00
sooheon a0d244d47f Remove duplicate definition of symbol-highlight 2016-04-28 15:38:02 +02:00
Eivind Fonn 052896e782 Fix ace-delete-window bindings 2016-04-12 23:02:03 -04:00
Muneeb Shaikh d19c6eb566 spacemacs-evil: add evil-visual-mark-mode
This adds toggle for evil-visual-mark-mode on SPC t `

Fix #5619
2016-04-12 22:47:26 -04:00
syl20bnr 5d84473fca layouts: update arity for persp-before-switch-functions
The hooked functions must take 2 parameters, I just ignored the
second one as well. Not sure of the implication but it seems to work.
2016-04-12 22:09:19 -04:00
syl20bnr 859f28473b layouts: use MELPA version of persp-mode 2016-04-12 22:05:24 -04:00
bmag 526a0334d7 Synchronize Neotree window when changing context
Fix Neotree losing track of its window when changing workspaces or
layouts.
2016-04-08 23:12:26 -04:00
Fabien Dubosson ac5cfcf2a1 Improve SPC s c to support evil-search-module
Fix #1326
Fix #5101
2016-04-08 23:11:12 -04:00
syl20bnr ff7b839df0
org: various tweaks to spacemacs-org and org layers
- move evil-org to org layer
- move org-plus-contrib to spacemacs-org layer
- remove toc-org from the list of package for org layer
- give ownership of the org package to org layer
- invent a package named default-org in spacemacs-org layer in order
  to let the ownership of org package to org layer
- remove unnecessary :mode keyword in use-package from for org
2016-04-07 22:11:22 -04:00