Commit graph

334 commits

Author SHA1 Message Date
smile13241324
93ec42177e Fix doc for S>-completion and S>-editing-visual layers 2018-02-22 17:37:02 +02:00
smile13241324
d526121202 Fix doc for first bunch of internal spacemacs layers 2018-02-22 17:36:45 +02:00
John Soo
0068e1978b spacemacs-layouts: fix projectile-switch-project-action
Fix #10177
2018-01-28 22:59:09 -05:00
Dieter Komendera
392b77c042 spacemacs-navigation: Switch to centered-cursor-mode on melpa
centered-cursor-mode on melpa is maintained and contains bug- and performance
fixes. #9991
2018-01-28 22:43:17 -05:00
syl20bnr
665c09b684 mode-line: fix color space for spaceline separators on MacOS 2018-01-28 22:40:58 -05:00
syl20bnr
79b87c7d5a Fetch font-lock+ from Emacs Mirror
https://github.com/emacsmirror/font-lock-plus
2018-01-25 00:11:15 -05:00
syl20bnr
b5d76b60d8 Import hide-comnt.el as local package
Imported from https://github.com/emacsmirror/hide-comnt
2018-01-25 00:11:15 -05:00
syl20bnr
88a07467fb Import info+.el as local package
Imported from https://github.com/emacsmirror/info-plus
2018-01-25 00:11:15 -05:00
Muneeb Shaikh
89933acbde spacemacs-layouts: fix creation of perspective with ivy
Fix #10240
2018-01-24 09:41:07 -05:00
Bruno Tavares
035fc2a648 Regression fix: Allow new project perspectives
Before the commit 4b111f7701 it was possible to create new perspectives from projects not available on the list.

It would be possible to provide a path to a project that has not been open previously by emacs, and have the perspective created. Now that a match is required, it is not possible anymore, as the path provided is not one of the possible matches on the list.

This commit changes the behavior back to allow accessing projects that have not been visited before. Without this change, one needs to open a specific project first, using `C-x C-e` or `SPC f f` and then switch to the layout.
2018-01-22 23:36:11 -05:00
syl20bnr
7a86333d79 mode-line: disable spaceline responsiveness for all-the-icons theme 2018-01-22 00:47:05 -05:00
Jack Kamm
f93d1a1afd spacemacs-completion: comply w/ new helm-display-buffer signature 2018-01-21 09:26:56 -05:00
duianto
25fa9b0a50 Format spacemacs-evil/packages.el max 80 chars 2018-01-20 10:41:43 -05:00
Muneeb Shaikh
6c476a3bd1 spacemacs-layouts: fix S/ivy-persp-switch-project
Fix #10177

counsel-projectile has updated custom actions mechanism[1] and
counsel-projectile-switch-project-actions is no more defined

Also,
 - moved counsel-projectile into spacemacs-layouts from ivy layer as
 perspective/layout based project switching depends on it instead of swiper
 - removed swiper from spacemacs-layouts

[1] a4e9a34d7f
2018-01-19 22:57:27 -05:00
Benjamin Reynolds
93d2fa6f9c evil-mc: Fix misaligned cursors on macOS and Windows
See #8641
See also gabesoft/evil-mc#49
2018-01-18 01:20:12 -05:00
Tad Fisher
4b111f7701 spacemacs-layouts: Use counsel-projectile-switch-project-action
Use `counsel-projectile-switch-project-action` instead of
`projectile-switch-project-by-name`, to match the additional actions available
via `counsel-projectile-switch-project` (SPC p p).
2018-01-18 01:16:58 -05:00
Kalle Lindqvist
00bea00672 Make popwin handle google-translate buffers 2018-01-18 00:09:37 -05:00
Steven Allen
60f11d8afc Fix using eyebrowse without persp-mode 2018-01-17 23:43:36 -05:00
syl20bnr
a2f16fa876 Add toggle for spaceline responsivness under SPC t m r 2018-01-17 15:23:37 -05:00
syl20bnr
ab7b3109dc Fix potential unsupported separator by base powerline package
This error can happen if you set the cup separator or any other separator type
only supported by all-the-icons and not spaceline/powerline.
2018-01-17 14:10:42 -05:00
syl20bnr
530ca288ad Fix void variable spaceline-all-the-icons-separator-scale 2018-01-17 10:52:08 -05:00
syl20bnr
0f646b884d Add properties for mode-line theme, remove powerline-scale
Since we have now a variable for the mode-line theme, it makes sense to move
the scaling of the mode-line to this variable. Thus the property
=:powerline-scale= of variable dotspacemacs-default-font has been removed and
it is replace by the property =:separator-scale= used in the variable
=dotspacemacs-mode-line-theme=.

This commit also adds a the property =:sperator= for the variable
=dotspacemacs-mode-line-theme= which allows to set the separator type.

Example of the final result:

   dotspacemacs-mode-line-theme '(all-the-icons
                                  :separator cup
                                  :separator-scale 1.5)

Documentation has been updated to reflect the changes.
2018-01-16 22:59:29 -05:00
syl20bnr
4c231ae282 Replace SPC j j and SPC j J by evil-avy-goto-char-timer
evil-avy-goto-char-timer is a better all around solution.
2018-01-15 16:41:24 -05:00
duianto
d0aeaa0f1e Add evil-avy-goto-char-timer to leader jt 2018-01-15 16:37:17 -05:00
Muneeb Shaikh
3a3566bf0f spacemacs-modeline: colorize inactive state for vim-powerline 2018-01-12 23:31:23 -05:00
Muneeb Shaikh
55bb88335a spacemacs-modeline: colorize hybrid state for vim-powerline 2018-01-12 23:31:23 -05:00
syl20bnr
74538306aa Tweak fix for spacemacs-purpse-popwin 2018-01-12 23:31:23 -05:00
Muneeb Shaikh
1384683513 spacemacs-purpose: load pupo after window purpose
This was reverted in 41e546f040
2018-01-12 23:24:10 -05:00
syl20bnr
86ff0eb86f Fix spacemacs mode-line theme 2018-01-12 04:14:58 -05:00
syl20bnr
a131c89909 core: add support for mode-line themes
New layer variable `dotspacemacs-mode-line-themes`:

Set the theme for the Spaceline. Supported themes are `spacemacs',
`all-the-icons', `custom', `vim-powerline' and `vanilla'. The first three
are spaceline themes. `vanilla' is default Emacs mode-line. `custom' is a
user defined themes, refer to the DOCUMENTATION.org for more info on how
to create your own spaceline theme."

See DOCUMENTATION.org changes for more info.

This commit adds support for `spaceline-all-the-icons` package.
2018-01-11 23:53:44 -05:00
syl20bnr
41e546f040 Move all use-package hook declaration to pre-init functions
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
Tomasz Kołodziejski
79b33ad9a9 Rotate ivy re builders rather than toggle
Fixes #10008
2018-01-06 22:46:27 -05:00
syl20bnr
46c5dfa4a7 cl-loop instead of loop 2018-01-06 21:38:13 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr
2cb98447af Move evil-cleverparens to spacemacs-evil with major mode toggle
Delete layer evil-cleverparens and move the package to spacemacs-evil layer.

The feature is called "Safe structurral editing" for lisp dialects. Support for
it is added via pre-init functions in each of the concerned layer and proper
documentation is added to their README.org files.

This also removes the recently added package evil-smartparens. The goal is
to choose the best package for evil safe structural editing. For now we use
evil-cleverparens as we supported it first, if evil-smartparens is shown to be
a better package we will be able to switch to it.
2018-01-04 01:40:52 -05:00
timor
debd7a010b use evil-smartparens-mode for smartparens-strict mode
This is more dwim in the sense that the normal deleting commands now behave more
like paredit, i.e. region deletion is adjusted to always keep the pairs
balanced.
2018-01-04 01:40:52 -05:00
duianto
7085826c08 Update renamed helm split window variable
The `helm-split-window-in-side-p` variable has been renamed to:
`helm-split-window-inside-p` here: 8b5df59a14

This caused the following variable `helm-always-two-windows` to become enabled.
2017-12-17 19:42:06 -05:00
duianto
d1b699fceb Clear both / and C-s search highlights with :noh
Clear both `/` and `C-s` search highlights with `:noh` and `:nohlsearch`,
and group the clear highlight commands next to each other.
2017-12-17 15:19:26 -05:00
syl20bnr
0aee37fbc9 Fix h key binding in compilation and grep buffers
Fixes #9780
2017-10-31 00:17:48 -04:00
bmag
cc1970ce44 move layouts: minor refactor 2017-10-21 16:12:41 +03:00
Linus Pettersson
cb8b577fe1 Add functionality to move layouts in layout list 2017-10-21 16:04:13 +03:00
Winkey Wong
5b12f52a85 Correct undo-tree buffer name in layer spacemacs-visual
There is a space in the buffer name of undo-tree. The popwin did not display right and the function `undo-tree-visualizer-quit` also seems not work well until I correct the buffer name.
2017-10-15 11:08:01 -04:00
Aaron Jensen
35f4c0621b Fix name of window-purpose in readme 2017-10-15 11:08:01 -04:00
Alexander Miller
403b246212 Add treemacs layer. 2017-10-08 11:45:49 -04:00
syl20bnr
41e91a9dcf core: move all dotspacemacs-helm-* variables to layer variables
Add support for backward compatibility via a macro instrad of defvaralias as the
latter was not sufficient to support all the use-cases.
2017-10-08 10:29:34 -04:00
syl20bnr
67aaf51631 Move neotree to its own layer in new +filtree folder
Add neotree layer to default spacemacs distribution.
2017-10-08 07:51:43 -04:00
Ruslan Kamashev
a7e30bfcb4 Fix typo (issue #9655) 2017-09-29 12:47:35 +03:00
syl20bnr
71a0d418c4 Fix purpose error when both helm and ivy layers are not used
Delayed window-purpose related configuration by using eval-after-load and
use-package hooks.
2017-09-26 00:40:51 -04:00
syl20bnr
3bce69aba1 Fix warnings about unrecognized keys without helm or ivy layers
In perspective transient state. b and l keys in the docstring have no
corresponding functions declared whenever both helm and ivy layers are not
used.

Add two private variables to fix the issue:
- spacemacs--persp-display-buffers-func
- spacemacs--persp-display-perspectives-func

These variables are set to the correct functions by the helm and ivy layers via
a use-package hook.

Default is `ignore` function so b and l does nothing if both helm and ivy layers
are not used, TODO: we should find a better default function.
2017-09-26 00:10:00 -04:00
bmag
ca28bde049 purpose: disable popwin-mode at startup 2017-09-16 22:07:10 +03:00