Commit graph

213 commits

Author SHA1 Message Date
syl20bnr
d5d80eb1a1 line-number: fix backward compatibility
There was an error in `linum-on` when `dotspacemacs-line-numbers` was set to
`'relative`.

- new function `spacemacs//linum-backward-compabitility` to test for old
supported values.
- Use an :around advice for `linum-on` instead of redefining it.
- move linum init time config to `:init` section of `use-package`
- fix relative linum initialization by testing if `dotspacemacs-line-numbers` is
  a list first.
2017-02-05 13:50:50 -05:00
deb0ch
a28e17c4d3 line numbers: finer configuration of line numbers activation 2017-02-05 12:47:19 -05:00
d12frosted
1a5579db6f
unify transient states
- use `..` for listing
- use 2 spaces between groups
- use 1 space between key binding and action
2017-01-31 18:27:01 +02:00
syl20bnr
973f6fe5ae core: import ido-vertical-mode into core/libs
It provides more intuitive way to display the wizard.
2017-01-23 23:52:57 -05:00
deb0ch
afbff1a943 restore emacs-style window selection bindings 2017-01-14 17:15:58 +02:00
nikolaiam
796fcfaa53 Hide PROPERTIES drawers in space-doc-mode
Hide properties in space-doc-mode to allow the use of `CUSTOM_ID` tags in
documentation for correct link exporting, as discussed in #8054, #8136
and #8138. Complementary the latter two PR:s.
2017-01-12 22:49:15 -05:00
syl20bnr
4b8f54ff38 Fix golden ratio for new package winum 2017-01-09 09:13:20 -05:00
syl20bnr
fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
deb0ch
ae81e00db6
use winum.el for window numbers
winum.el is an heavily extended and partly rewritten version of
window-numbering.el.

Among other things it allows window numbers to be shared across frames,
thus improving multi-screen user experience.
2017-01-04 19:33:13 +02:00
syl20bnr
8ee74b6925 Remove debug message :-) 2017-01-02 11:12:43 -05:00
syl20bnr
c558833e08 More robust fix for error ‘fuzzy-match’ not supported in async sources
Fixes #8094
2017-01-02 11:10:07 -05:00
syl20bnr
a5ac11b832 Fix helm :config: ‘fuzzy-match’ not supported in async sources.
Fixes #8091
2017-01-02 01:36:15 -05:00
ralesi
703733b46b Speedup: defer loading of helm-purpose. Requires all of purpose. 2016-12-24 21:03:52 +02:00
Alex Palaistras
a9dd47691e
dumb-jump: Specify selector from completion framework used
This commit adds a conditional which allows `dumb-jump` to use a selector
matching the current completion framework used (`ivy` or `helm`), instead
of the default popup. This relates to work done for adding Helm support
to `dumb-jump` here: https://github.com/jacktasia/dumb-jump/pull/96

The motivation behind this is two-fold: the fact that popups are known
to be broken when used with conflicting packages, such as `fci-mode` for
showing a column marker, and the need for better completions with the
possiblity for fuzzy-matching. This should hopefully lead to a more
consistent experience as well.
2016-12-18 11:47:56 +02:00
Joe Lane
43e199b6a5 add copy key to neotree
CHANGES
-------
Add new keybinding to neotree to allow the copying of nodes from the neotree
buffer. Update documentation as well.

WHY
-------
There appear to be all other common file operations bound to the neotree buffer,
however copying of a node is not.
2016-12-09 18:19:52 +02:00
Eivind Fonn
62ec37a9e4 Integrate ahs with evil as well as isearch 2016-11-09 21:40:43 -05:00
Diego Berrocal
a6554a5773
Fix Typo in Purpose Layer 2016-11-02 21:29:40 +02:00
Carl Lange
aa3a799c39 spacemacs-purpose readme - Fix links and typos
I think there was a failed replace here :) The links now work correctly and the typos are gone. Yay!
2016-10-28 09:07:10 +01:00
Bryan Gilbert
b515253026 move helm specific layout transient state keybindings to helm layer 2016-10-23 19:44:35 +02:00
bmag
e5c9632678 New dotvariable to control switch-to-buffer behavior
With a nil value for dotspacemacs-switch-to-buffer-prefers-purpose,
switch-to-buffer prefers using the current window, same as vanilla
Emacs. With a non-nil value, switch-to-buffer prefers another window
with the same purpose as the buffer. This affects actions like
spacemacs/alternate-buffer, and opening buffers from Dired.
2016-10-23 19:44:35 +02:00
bmag
15fc015088 purpose: disable kill extension
purpose-x-kill-setup sometimes slows Emacs down
2016-10-18 09:53:02 +03:00
syl20bnr
66d9f38a45 Add hide/show comments on SPC c h 2016-10-17 15:32:43 -04:00
duianto
af3445950f Evil Nr TS, add 0..9 prefix and q quit
This implements the changes in: #7013
Add "[0..9] prefix" and "[q] quit", and separates the keys by 2 spaces.
2016-10-17 19:57:57 +02:00
deb0ch
ddbee36ad6 Activating linum-relative now activates linum 2016-10-17 15:05:44 +02:00
bmag
ed9637ee4b Properly override purpose-mode-map 2016-10-17 14:41:13 +02:00
bmag
3fc32063c7 Move vi-tilde aux functions to spacemacs-evil
spacemacs/disable-vi-tilde-fringe and
spacemacs/disable-vi-tilde-fringe-read-only are used by spacemacs-evil,
but were defined in spacemacs-ui-visual. Move the definitions to the
correct place.
2016-10-17 13:47:23 +02:00
bmag
0e1491c434 Make ivy restrict buffers to layout
Also create separate non-restricted-buffer-list (`SPC B b`) for helm and
ivy.
2016-10-17 13:45:43 +02:00
bmag
797b5b08b7 golden-ratio: add to window TS only when used 2016-10-17 13:43:54 +02:00
duianto
738451c2b8 fix neotree duplicate function comment
Both the spacemacs/neotree-expand-or-open and spacemacs/neotree-collapse
functions had the same comment: "Collapse a neotree node."

This renames the spacemacs/neotree-expand-or-open function to:
"Expand or open a neotree node."
2016-10-17 13:28:44 +02:00
Eivind Fonn
e0202848fd Diminish purpose-mode 2016-10-17 12:01:10 +02:00
Eivind Fonn
c24f59cc7e Fix some comments in purpose layer 2016-10-17 10:40:30 +02:00
Eivind Fonn
2a2fb56452 Fix spacemacs-purpose-popwin name 2016-10-17 10:07:29 +02:00
syl20bnr
d023af2f55 purpose: use use-package :post-config hook for eyebrowse config 2016-10-16 22:25:04 -04:00
syl20bnr
8063bcb419 purpose: move helm-purpose config to use-package form 2016-10-16 22:25:04 -04:00
syl20bnr
aea110df9f purpose: remove unecessary :commands block
The functions are already autoloaded.
2016-10-16 22:25:04 -04:00
syl20bnr
c8827444ec purpose: move window-purpose key binding and mode activation to :init 2016-10-16 22:25:04 -04:00
syl20bnr
e41a17be4c purpose: use use-package hook for popwin config
Also remove the check on purpose-mode. Using the purpose layer without
purpose-mode does not make sense so I prefer to throw an error is such
case happens.
2016-10-16 22:25:04 -04:00
syl20bnr
be2061c7a0 purpose: replace use-package :after by (require ...)
Also move :config to :init
2016-10-16 22:25:04 -04:00
syl20bnr
67f9f4828d purpose: replace use-packag :if by layer :toggle 2016-10-16 22:25:04 -04:00
syl20bnr
8306626504 Move window-purpose layer to spacemacs-purpose layer
Update README.org and add spacemacs-purpose layer to spacemacs
distribution.
Move functions of the layer to funcs.el and prefix variables and
functions introduced by the layer with `spacemacs`.
2016-10-16 22:25:04 -04:00
bmag
f9c74e2b58 Synchronise load/save of workspaces and layouts
Update current layout's workspaces before saving layouts to file (fixes
7214).
Load current layout's workspaces after loading layouts from file, if it's
one of the loaded layouts (fixes 6979).
2016-10-03 00:23:15 -04:00
duianto
98b5a2be4f
three words spellchecked
"horizonatl", swapped "a" and "t", resulting in: "horizontal"

"porpertized", swapped "o" and "r" , resulting in: "propertized"
"containg", added "in", resulting in: "containing"
2016-09-23 10:51:19 +03:00
Abdo Roig-Maranges
68becc5597 layouts: persp-mode changed variable to enable ido-hooks
Since persp-mode 2.5 the way to enable ido hooks changed again. Without
tihs, SPC b b lists all buffers instead of persp-local ones.
2016-09-20 20:09:22 +02:00
bmag
753b81275c dumb-jump: bind key instead of enable mode 2016-09-16 15:07:05 +02:00
Eivind Fonn
f373105be1 Disable smartparens highlighting 2016-09-14 14:46:01 +02:00
Muneeb Shaikh
6d17a90d0c fix void variable when not using osx layer
Fix `Symbol's value as variable is void: osx-use-dictionary-app` when
not using osx layer.
2016-09-06 12:29:48 +05:30
JAremko
ad547c390d Fix buffer edges bug. 2016-09-05 21:12:52 -04:00
JAremko
cfd6b06669 space-doc: Don't clean the global cache. 2016-09-05 21:12:52 -04:00
JAremko
91df3b1c13 space-doc: Use text properties instead of overlays. 2016-09-05 21:12:52 -04:00
JAremko
95f4119366 disabled by default centering in space-doc-mode.
Fix centered-buffer-mode conflict with Emacs 25
2016-09-05 21:12:52 -04:00