Commit graph

250 commits

Author SHA1 Message Date
syl20bnr
d587dd9db9 Use universal argument for auto-indent pasted text and add doc
Using the prefix argument does not work nicely with evil since it is
already used to paste several times. Instead we use the universal
argument. To make it work with the evil functions we have to do some
trick to hide the universal argument temporarily (see around advice).
2015-05-10 22:49:07 -04:00
syl20bnr
7a3f32be72 Move SPC p $ to SPC p $ t 2015-05-10 21:48:08 -04:00
Török Edwin
e1d3f5adb2 remind to use fd when keybindings don't work
I found myself in <kbd>SPC : customize</kbd> without knowing how to switch out of it again when I was done, there was no menubar, and I couldn't turn it on either because the <kbd>SPC</kbd> keybindings or the Vim ones just didn't work at all.
Reading the documentation again I gave <kbd>fd</kbd> a try, and it brought the keybindings back, so I think it'd be helpful to mention that <kbd>fd</kbd> is also useful as an escape when the usual keybindings don't work.

Also wouldn't hurt if a message was displayed to use <kbd>fd</kbd> when trying to use <kbd>SPC</kbd> and it doesn't work.
2015-05-10 00:57:27 -04:00
syl20bnr
b10e3c8b97 Move SPC b r to SPC f R (rename file)
fixes #707
2015-05-10 00:18:00 -04:00
syl20bnr
4e8b37fac8 Add move-text micro-state
resolves #1282
2015-05-09 22:38:10 -04:00
syl20bnr
68e8b3e524 Tweak conventions for markup languages
- Replace `SPC h h` and `SPC h H` for `SPC h i` and `SPC h I`
- Replace `SPC r` prefix for `SPC x`
- Replace `SPC x SPC` for `SPC x r`
- Sort key bindings alphabetically
2015-05-07 23:08:52 -04:00
Christoph Paulik
ed861cf0ff Create conventions for markup languages 2015-05-07 22:17:45 -04:00
Jack Wilson
3870c30bc3 Update DOCUMENTATION.md
Typos/grammar
2015-05-07 00:55:50 -04:00
syl20bnr
36eca4419b New layer: emacs-lisp 2015-05-07 00:13:13 -04:00
syl20bnr
7e1d9acc56 Update documentation for SPC f e prefix 2015-04-27 23:57:19 -04:00
syl20bnr
b88339651f Add SPC h d b to the documentation 2015-04-27 23:43:27 -04:00
Daniel Guilak
4599ab0974 Fixed typo: SPC fe h => SPC f e h 2015-04-27 23:29:52 -04:00
syl20bnr
430d204d02 Remove redundant key bindings from documentation 2015-04-26 00:36:12 -04:00
Daniel Guilak
6ce5e33f0c Fixed typo in window documentation 2015-04-26 00:20:24 -04:00
Miles Steele
e351c72c07 fix typos 2015-04-26 00:20:16 -04:00
Tu Do
21ca031492 [Emergency fix] spacemacs//mark-repl-as-useful
This function is making asynchronous commands fail because it tries to
add string literal to spacemacs-useful-buffers-regexp while add-to-list
only works when first argument is a symbol and the second is an
element. Otherwise, it throws this error and stop all async commands to
do any further work at this point:

if: Wrong type argument: symbolp

This commit fixes the following issues:

- Don't add spacemacs//mark-repl-as-useful to
  buffer-list-update-hook. We only need this function to switch to next
  or previous buffer. So, better check when and only when those commands
  are actually used.

- As a result, we remove the function since it's unneeded anymore.

- Do the checking in of comint-mode in spacemacs-useful-buffer-p
  function. Better do it in one place than scatter the logic in a hook
  and this function.

- Change useless-buffer-p to accept an actual buffer object and check
  for buffer name inside.
2015-04-24 00:07:29 -04:00
person808
a749def36e Smarter buffer switching. 2015-04-22 23:12:45 -04:00
syl20bnr
c13c5b2470 Move C-SPC on M-SPC and s-M-SPC for helm and ido micro-states 2015-04-22 22:44:51 -04:00
syl20bnr
b0e82f9e22 SPC f f uses helm-find-files
Use `SPC f F` to use ido-find-files
The change is for consistency, we use helm whenever it is
possible.
2015-04-22 22:31:04 -04:00
syl20bnr
a078bebaf1 Add achievements
100th watcher
300th fork
2015-04-22 01:05:18 -04:00
syl20bnr
5d5f247fd1 Documentation for Helm C-z and Tab switch 2015-04-22 01:05:15 -04:00
syl20bnr
4e7e288fa4 Move SPC x y and SPC x p to SPC b Y and SPC b P 2015-04-21 23:31:55 -04:00
Swaroop
81473b883c Add keys to copy & paste full buffer
When you are typing in a browser and then you realize you really want
Emacs to compose this piece of text, then you would want to copy from
browser to an Emacs buffer, edit it inside Emacs and finally copy to
clipboard and paste it into the original application. These keys help
you to do exactly that.
2015-04-21 23:29:36 -04:00
syl20bnr
22afdf25b4 Move SPC b s to SPC b b
To be consistent with `SPC p p`
I also planned to use `SPC b s` to search in all opened
buffer, symmetric feature with `SPC s` and `SPC p s`
2015-04-21 01:00:06 -04:00
syl20bnr
5930597e50 New variable: dotspacemacs-additional-packages
Adding packages to this list will install them without
needing them to be wrapped in a layer.
Ideal for niche languages of any package that don't need
any configuration.
2015-04-21 00:33:23 -04:00
syl20bnr
466317cf7a New achievements
500th PR (was about time to add it)
600th PR
1000th star
Helm Captain
2015-04-19 02:26:25 -04:00
person808
86dae6aba7 Docs: Change company-mode to auto-completion.
Removes one potential pitfall for new users.
2015-04-19 00:40:14 -04:00
syl20bnr
fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
syl20bnr
71b68500d0 New dotfile variable dotspacemacs-search-tools
Default list is `("ag" "pt" "ack" "grep")
Resolve #1158
2015-04-14 22:23:57 -04:00
syl20bnr
57f802619b Don't consider used themes as orphans if they don't belong to a layer
Now it is not required to use the themes-megapack layer or define
a private layer to use a theme that is not in the spacemacs layer.
2015-04-14 15:50:29 -04:00
syl20bnr
d3883883a5 Add documentation for search and replace in files 2015-04-11 22:47:46 -04:00
syl20bnr
58c632f931 Add an HOWTO to disable company locally 2015-04-11 15:10:36 -04:00
syl20bnr
8c5a787a71 Document new evaluation key bindings for elisp 2015-04-11 00:30:03 -04:00
syl20bnr
6844ff9fed New layer: org 2015-04-11 00:13:02 -04:00
Swaroop
bfec5af154 Add keys for org-clock-cancel, org-set-effort 2015-04-10 23:35:52 -04:00
syl20bnr
19d328c47a Add sw prefix command name and update TOC of documentation 2015-04-10 20:34:30 -04:00
Christoph Paulik
0f1f3ceb7d adds keybindings for searching the web using helm-suggest 2015-04-10 20:29:49 -04:00
syl20bnr
f55654c9c9 Remove global flycheck and yasnippet toggles
`SPC t C-f` and `SPC t C-y`
2015-04-10 20:13:38 -04:00
syl20bnr
fa33faedf2 Move some UI toggles to SPC T 2015-04-10 10:30:46 -04:00
syl20bnr
e80f66da6d Add documentation for SPC h i and SPC h m and rename function
spacemacs||describe-set-key to spacemacs||set-helm-key
2015-04-08 21:50:33 -04:00
syl20bnr
27cef51d3a Typo in HOWTOs.md 2015-04-07 22:37:22 -04:00
syl20bnr
65e86b3354 Add HOWTOs.md 2015-04-07 21:25:06 -04:00
Daniel Wu
77b0cc4ba6 Add ace-link package to spacemacs layer 2015-04-06 22:49:12 -04:00
syl20bnr
5caa5750e0 Rework the toggles of the mode-line
Now the symbol corresponds to the key binding.
The global version of the toggle when available is performed
with `control` modifier.
2015-04-06 16:02:14 -04:00
syl20bnr
769d54da02 New layer auto-completion
Move company and auto-complete to a common layer.
They are not enabled globally anymore, each mode using them
must explicitly declare a hook.
Only one frontend is supported for a given mode, we have to
choose the best between the two.
Only one key binding to toggle auto-completion on `SPC t a` no
matter if it is company or auto-complete. The lighter in the
mode-line is Ⓐ for both frontends.
2015-04-03 00:28:13 -04:00
syl20bnr
b4c773b440 Move projectile switch project from SPC p S to SPC p p
Should be a quick command.
2015-04-01 22:54:58 -04:00
syl20bnr
66e1641c42 Rework the interface with search utilities
To search in an arbitrary directory
SPC s / -> do what I mean (select the first found utility)
SPC s a -> ag
SPC s g -> grep
SPC s k -> ack
SPC s p -> pt

To search in a project
SPC /     -> do what I mean (select the first found utility)
SPC p s a -> ag
SPC p s g -> grep
SPC p s k -> ack
SPC p s p -> pt

Note the symmetry.

helm-projectile-switch-project has been move on `SPC p S`
2015-04-01 22:37:25 -04:00
Rich Alesi
6def591674 Add bindings and functions to work with linum margin.
- single click selects line
- double click selects text block
- drag across lines selects all lines dragged across
2015-04-01 21:09:03 -04:00
syl20bnr
672a65f193 New achievements 2015-03-31 23:29:28 -04:00
syl20bnr
193f7834af Add toggle for vi-tilde-fringe on SPC t ~ 2015-03-31 23:03:34 -04:00