Commit graph

264 commits

Author SHA1 Message Date
deb0ch 0dbfbd40ed bindings: improve buffers listing bindings
- bind spacemacs-layouts/non-restricted-buffer-list to SPC b B instead
of SPC B b
- rename buffer listing functions in which-key to be more explicit

PR title:

bindings: non-restricted-buffer-list-* to SPC B b instead of SPC B b

PR message:

I don't know what was the thought behind this, but `spacemacs-layouts/non-restricted-buffers-list-*` was alone in its `SPC B` prefix and `SPC b B` was almost free, only used in one layer that I would be surprised if it was widely used (`ibuffer`).

I also renamed buffers listing functions in `which-key` to be clearer for the user. Indeed, I find that names like `helm-mini` are pretty obscure and kind of defeat the purpose of `which-key` and `spacemacs-layouts-non-restricted-buffer-list-blah` was so long that it couldn't even be displayed.

Now the user can choose between `list-buffers` or `global-list-buffers` for listing buffers.
2017-06-12 12:46:35 +02:00
duianto c6fda1a1d4 string-inflection: group which-keys, sort code/doc
Group together the which-key entries that call the same command:
k and - becomes k,-
u and _ becomes u,_

Declare a prefix name for SPC x i, this changes the SPC x entry:
from: "i -> +prefix"
to: "i -> +inflection".

Capitalize the transient state title, so that it matches the other TS titles.

Sort the code and documentation key bindings alphabetically.
2017-06-12 12:32:46 +02:00
Nicholas Ochiel eb5e6ed920 Fix issue #8823: evil-paste-pop doesn't work
previous command was not an evil-paste.
2017-06-12 12:29:39 +02:00
Eivind Fonn 2db9958894 string-inflection: transient state for cycling 2017-06-10 16:31:05 +02:00
Keith Wygant 8a2c22a0c9 Add 'xi_' and 'xi-' to `string-inflection' bindings
'xi_' for underscore
'xi-' for kebab
2017-06-10 16:25:49 +02:00
Jonas Strømsodd ec5b8adda8 Add require of avy in spacemacs/ace-buffer-links
To mitigate void definition error
2017-06-10 16:12:34 +02:00
Eivind Fonn 67cbfbdb62 spacemacs-navigation: move defuns to funcs.el 2017-06-07 17:16:29 +02:00
braham 1dd0942745 spacemacs/evil-mc-paste-{before,after}: fix multiple cursor paste
* restore these functions' signatures to those of their stock evil
  counterparts (evil-paste-{before,after}), allowing
  `evil-mc-execute-evil-paste` to paste at each cursor when there
  are multiple instead of pasting at only one cursor

* retain these functions' ability to directly take a register as
  input when called interactively

* regression was caused by bfb565eea9
2017-06-06 12:19:49 +02:00
Eivind Fonn d4b004433c Fix layout name generation 2017-05-25 13:51:26 +02:00
bmag 6fd0d2573b New dotvariable: auto-generate layout names
If dotspacemacs-auto-generate-layout-names is non-nil, and the user
tries to open a layout in a position that doesn't yet have a layout,
then create a new layout with an automatically generated name.
2017-05-25 13:40:28 +02:00
Eivind Fonn 2b7893ee17 Fix #7383 2017-05-24 14:33:52 +02:00
Don March ac1168b6af Fix terminal RET and TAB in layouts/workspaces transient state
* Make RET and TAB (C-m and C-i) perform the same actions as <return>
  and <tab> so the maps work in the terminal.
* Catch <return> in workspaces transient state so that it exits without
  executing a command (like already done for layouts).
* Add "workspace w/helm/ivy" to docstring, mirroring the layouts
  docstring.
2017-05-24 14:05:15 +02:00
ralesi d28d9beed4 emacs-restart: make debugging commands accessible. 2017-05-24 13:53:19 +02:00
duianto aada9702dc init-evil-mc: 1 cursor hide mode line text variable
Problem:
Spacemacs rewrites the evil-mc-mode-line variable, to remove the evil-mc mode
line text, when there's only one cursor. The rewrite blocks the recent evil-mc
updates, that made the multi cursor, mode line text, more readable.

Solution:
Use the new evil-mc-one-cursor-show-mode-line-text variable, to only hide the
mode line text, when there's one cursor. This unblocks the current, and any
future updates, that the evil-mc package makes to the mode line text.
2017-05-24 13:32:25 +02:00
d12frosted c8296e507b don't show warning on layout key clashes 2017-05-24 13:09:17 +02:00
Pawan Dubey 83553a54da Move load layout from file option from Go To to Actions
and change doc string.
2017-05-24 12:55:35 +02:00
deb0ch 0ae8b3a29f bindings: highlight-parentheses-mode from SPC t C p to SPC t h p 2017-05-24 12:39:31 +02:00
ralesi e7d01304b8 ivy: define matcher desc, deprecated from package, add M-SPC 2017-05-24 10:00:53 +02:00
Eivind Fonn 909d23f412 Use symbols instead of strings 2017-05-23 16:04:40 +02:00
MadAnd 5eeaed75d9 transient-state: Improve handling of additional bindings
Add two new functions: `spacemacs/transient-state-register-add-bindings`
and `spacemacs/transient-state-register-remove-bindings` to prevent layer
authors and end users from dealing with the underlying variables' subtleties.
2017-05-23 16:03:03 +02:00
Eivind Fonn 5290456304 Modify evil-lion config
- Adjust keys not to collide with evil-little-word
- Add documentation
2017-05-23 11:08:06 +02:00
James Wang 3661ac1937 Add evil-lion 2017-05-23 11:02:23 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Eivind Fonn 488fc0977f Move editorconfig to spacemacs-editing 2017-05-19 11:43:29 +02:00
syl20bnr 7cd8e1fee5 Add password-generator package under SPC i p 2017-05-18 23:12:56 -04:00
Vladimir Kochnev 962cb03a85 Fix frame cycling in evil-unimpaired.
`raise-frame` does not set input focus on selected frame.
2017-05-18 18:34:56 +02:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
Robbert van der Helm bfb565eea9 Fix pasting ignoring register selection
Pasting in evil-mode has been broken since
`58458f2d2abcc1211444c2060ab598f55e518da4`, as `p` and `P` would always paste
from the unnamed register instead of the register selected with `"`. I've
removed the function's second parameter, as it wasn't being used anywhere.

Fixes #8759
2017-04-28 23:09:06 -04:00
syl20bnr d04012195a Remove highlight from ahs transient state
Highlight should already be done automatocally.
This highlight is not desirable because it breaks `n` and `N` search of
occurences and it breaks `:nohl:` as well making it impossible to revert an
highlighted word.
These drawbacks were maybe intentional since it was about highlighting
_permanently_ but it goes against principle of least astonishement, users will
be consufed about an highlight that cannot be reverted whatsoever.

We need an highlighting facility in Spacemacs, there was one at some point with
the package `hl-anything` but at the time it was buggy and removed from
Spacemacs (see layer spacemacs-editing-visual). Maybe we could try it again.
2017-04-23 19:47:08 -04:00
Adrian Staniec 29605f57eb add perm. highlight and swoop/swiper to Symbol Highlight Transient State 2017-04-23 19:42:32 -04:00
Ric da Silva c1e805cb46 Add string inflection to spacemacs-editing
Add string inflection doc
2017-04-17 23:31:58 -04:00
Abdo Roig-Maranges f216309a6c visual: improve colorization of compilation buffer
Lines containing a carriage return alone, followed by color escape
sequences, are not colorized properly.

A carriage return in the compilation buffer is interpreted by erasing
contents since the beginning of the line, but compilation-filter-start
is not updated accordingly before calling the filter-hooks.

Workaround it by always colorizing a region from to the beginning of the
line where compilation-filter-start points.
2017-04-17 22:30:56 -04:00
nikolaiam c657506331 Fix typos in space-doc.el 2017-04-17 22:11:41 -04:00
Aaron 589da14260 Fix spelling error in NeoTree Key Hints 2017-04-17 20:01:33 -04:00
MadAnd 1f8c41059a Fix signatures of spacemacs/evil-mc-paste-{after,before}
Fixes #8672
2017-04-12 23:20:04 -04:00
syl20bnr fc61280423 Fix zoom-frm
Fixes #8696
2017-04-12 23:09:17 -04:00
syl20bnr 6d2f66852c terraform: rename layer var. to terraform-auto-format-on-save, set it to nil
Set it to nil by default.
2017-04-12 00:04:38 -04:00
Leonard 806b39ca7a Fix #7644
persp-mode sets initial-buffer-choice to #[nil "�\207" [persp-special-last-buffer] 1] unless persp-is-ibc-as-f-supported is set to nil
2017-04-11 23:52:58 -04:00
syl20bnr bb57dc8cd9 Move symon to spacemacs-modeline layer 2017-04-11 23:36:13 -04:00
syl20bnr 30d7beb277 Refactor spacemacs-ui and spacemacs-ui-visual layers
Create new layers:
- spacemacs-navigation: contains packages whose principal goal is navigation
- spacemacs-modeline: contains packages about mode line

Merge spacemacs-ui and spacemacs-ui-visual into layer spacemacs-visual.
2017-04-11 23:09:35 -04:00
syl20bnr c17722ba96 Fix void: evil-mc-get-cursor-count when pasting
Fixes #8672
2017-04-10 23:40:14 -04:00
syl20bnr fed06956e3 Move evil-mc functions to funcs.el 2017-04-09 23:22:12 -04:00
Koray Al 58458f2d2a Disable paste transient state when multiple cursors are active
evil-mc has no support for the 'paste transient state', hence we should fall back
to the default version during that period.
2017-04-09 23:15:53 -04:00
syl20bnr 3f1bb43597 Move evil-declare-ignore-repeat to evil init function 2017-04-09 17:25:57 -04:00
Robbert van der Helm 98584205ce Fix repeating jumping to errors using the '.' command #8083
The unimpaired keybindings `[ q` and `] q` can be used to jump to flycheck
errors in the current buffer. Because evil-repeat treated them as regular
operations, they were repeated when pressing the `.` key. This made it harder to
rename multiple erroneous variables.
2017-04-09 17:21:52 -04:00
Codruț Constantin Gușoi 887eb9dc1e Adds the neotree-quick-look keybind
Weirdly, the `'` keybind for `neotree-mode-map` was already present when
doing `M-x neotree-quick-look` with the cursor on the neotree window but
I could not find where exactly it was defined.

This commit officially adds it to the `neotree-mode-map` and the neotree
transient state.
2017-03-26 13:27:19 -04:00
Robert O'Connor e9ff9f09c6 Remove trailing whitespace from all files 2017-03-26 13:06:43 -04:00
deb0ch 8226f0070f do not filter for alternating buffers 2017-03-24 22:29:52 +03:00
Arjun Urs b8c9100d3a Adding keybinding to jump to currently open file in neotree 2017-03-07 09:35:07 +02:00
duianto 92751fdcfb Update packages.el, remove trailing white space
My previous commit left behind a trailing white space.
2017-03-05 21:42:47 +02:00