Commit graph

176 commits

Author SHA1 Message Date
syl20bnr
e6ef759fb0 Move SPC h U to SPC f e U to upgrade packages
SPC f e stands for Files Emacs so it makes sense to have it under this prefix.
Also there is already the reloading of the dotfile under SPC f e.
2017-10-15 11:08:01 -04:00
Codruț Constantin Gușoi
d987ded361 Adds keybinding for updating packages 2017-10-15 11:08:01 -04:00
syl20bnr
6d73df7036 Fix SPC w = (balance windows) 2017-09-05 11:01:39 -04:00
Codruț Constantin Gușoi
7d4946901b
Improves the linum text scaling advice
The first improvement consists of running the scale fix only for
graphical emacs. The scale fix is not needed in the terminal. Also some
poeple still have problems with it in the terminal even though they run
latest emacs master and spacemacs develop.

The second improvement is related to the way the margins are scaled. It
was incorrect to calculate the scale factor and apply it to the current
window margin width, it needed to be applied to the initial margin
width.
2017-08-09 12:26:16 +03:00
Dela Anthonio
d874f21a48
spacemacs-base: Add key bindings for projectile-edit-dir-locals 2017-08-01 16:49:41 +03:00
duianto
1ecec7e538
Add missing which-key prefix names
Unnamed Which-key prefixes:
`SPC b`, `N -> +prefix`
`SPC x`, `j -> +prefix`
have to be opened to see what kind of commands they contain.
2017-07-29 22:13:25 +03:00
d12frosted
c77d826079
sort transpose functions and update documentation 2017-07-26 13:36:02 +03:00
Daniel Gomez
e2105b3f33
Add transpose senteces and transpose paragraphs keybindings. 2017-07-26 13:31:30 +03:00
JAremko
547458ae23 rearrange functions in space-doc and centered-buffer modes 2017-07-25 01:56:44 +03:00
JAremko
24c9843041 Add customization for hiding original buffer
Set buffer-file, update docstrings...
2017-07-13 12:05:09 +03:00
ZarsBranchkin
efef39050b Prompt to save modified, user created buffers on quit 2017-07-06 14:39:26 +02:00
Alex Palaistras
4c57939fb3 Add SPC b u keybinding for reopening killed buffers
This is similar to the `Ctrl+Shift+T` keybinding found in major browsers, and
helps when accidentally killing a buffer (i.e. fat-fingering `SPC b d` when
meaning to press `SPC b s`).

Only buffers that resolve to existing files will be considered, and stored in a
stack which is pushed to and popped from on buffer kill.
2017-07-06 14:34:46 +02:00
JAremko
44423c18d0 Implement and bind "distraction free mode" to SPC w C 2017-07-04 11:54:24 +03:00
JAremko
442b90e9e9 Rework centered-bufffer-mode 2017-07-04 11:54:09 +03:00
syl20bnr
e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Ben Lloyd
51bcba8964 Added frame manipulation commands 2017-06-18 14:10:42 +02:00
Swaroop C H
1f8ad0fb09 [ipython-notebook] Change prefix from "ai" to "ay"
Because "ay" is already being used for IRC (ERC)!

It's weird to say ipython-notebook stuff under "IRC"
2017-06-12 12:35:27 +02:00
Evan Klitzke
ee7bcc61ce fix a typo 2017-06-12 12:25:39 +02:00
Eivind Fonn
4489049cc2 bugfix: margin scaling ignores window
Thanks sdwolf and Eli Zaretskii
2017-06-01 13:49:34 +02:00
Eivind Fonn
5048aff9fa Properly require tramp 2017-05-28 15:07:01 +02:00
denin
5397b6f01f Rewrite sudo-edit
Old version worked only for method 'ssh' and did not work at all if
user was not specified (e.g. /ssh:hostname:/path). Since the symbol '@' was
required in a filename.
2017-05-28 15:06:20 +02:00
ralesi
a518d14c69 Fix some issues with persistent server
* frame killer logic wasn't correct when server not running
* even when debugging, we want to kill spacemacs
2017-05-24 13:42:49 +02:00
Eivind Fonn
df4cad42e1 Add condition for fringe-mode toggle 2017-05-24 13:05:17 +02:00
ralesi
5bacb13a75 recentf: fix referencing to cache directory when symlinked. 2017-05-24 11:48:23 +02:00
Wieland Hoffmann
63ad55b57e compilation-finish-function: Set case-fold-search to nil
The various string-match calls in this function were obviosly written with that
in mind.

This also fixes the case where the compilation buffer contains the output of
`cargo test`, which includes "0 failed". Previously, this was treated as an
error, now it's not.
2017-05-23 15:13:29 +02:00
Eivind Fonn
5c4b7e62b1 Some changes to align-repeat
- Remove echo of regexp
- Use = instead of equalp
- Use use-region-p instead of checking line numbers
- Use when/unless instead of if
- Use point-at-{eol,bol} instead of point
2017-05-23 13:05:23 +02:00
Eric Siegel
5be474f5d3 Smarter default alignment with spacemacs/align-repeat (#8309) 2017-05-23 13:00:32 +02:00
duianto
e8694f5018 Combine 2 projectile spacemacs/set-leader-keys sections
Problem: There are two projectile spacemacs/set-leader-keys sections,
next to each other.

Solution: Combine and sort the keys alphabetically with lower case
before upper case. A quick search showed that order in a lot of
other set-leader-key sections.
2017-05-23 12:36:59 +02:00
Eivind Fonn
8f7afe5eec Add prefix argument to rename-current-buffer-file
Best of both worlds. Maybe.
2017-05-23 10:55:25 +02:00
tddsg
7ecf1433ba fill the current filename as a suggestion of spacemacs/rename-current-buffer-file 2017-05-23 10:52:47 +02:00
JAremko
6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Alexander M
113794f4e8 Keep find-ert-test-buffer from moving point. 2017-05-22 17:13:57 +02:00
syl20bnr
517c4eec68 pass: update layer to be more idiomatic and move key bindings on SPC A p
New prefix command SPC A for other applications
2017-05-18 23:12:56 -04:00
braham
d90ab2ace0 error-transient-state: n/{Np} for next/prev error inst. of only n/p 2017-05-06 19:27:25 -05:00
JAremko
c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
duianto
122076407b rename-current-buffer-file: non-file bfr sav or ren
problem:  renaming a non-file buffer, only shows an error message
solution: ask if the buffer should be saved to a file or just renamed
2017-04-28 23:06:40 -04:00
duianto
a64ec4d374 swap-buffers-to-window: symbols fun def void
problem:  target window doesn't get focus after buffer swap:
          'symbols function definition is void: select-window-by-number'
solution: missing 'winum-' before 'select-window-by-number'
2017-04-28 23:03:52 -04:00
Fabian Wilk
fe9de0afd8 Add key binding SPC d w SPC for built-in commnand just-one-space 2017-04-23 13:03:51 -04:00
Rostislav Svoboda
90f732c226 Count of killed matching buffers
Enables feedback messsages indication like e.g.:
    "5 buffer(s) killed"
2017-04-20 23:14:31 -04:00
bmag
4b92183cc0 new-empty-buffer: force buffer to appear in new window
Pass non-nil force-same-window argument to switch-to-buffer, so the newly
generated buffer is guaranteed to display in the newly created window.
2017-04-18 22:10:33 +03:00
syl20bnr
f20ef3477d Remove redundant create-align-repeat "brackets" 2017-04-17 23:27:24 -04:00
deb0ch
eb5fcd5826 also provide align functions for {, }, [ and ] under SPC x a 2017-04-17 23:19:07 -04:00
Arseny Smalyuk
23ea887107 Add asm-mode to the spacemacs-indent-sensitive-modes list 2017-04-17 22:45:34 -04:00
Steven Allen
830b252bdc Change the frame-killer mapping to SPC q f
It was `SPC q z` but:

1. 'z' is not a mnemonic for "frame" (although it may be more familiar to vim
   users).
2. More importantly, it's *really hard* to type 'qz' on a qwerty keyboard.
2017-04-17 22:41:11 -04:00
syl20bnr
ff0bd88b0c Move all "new empty buffer" key bindings under SPC b N
and add documentation
2017-04-17 22:10:16 -04:00
duianto
33acf40245 Update new-empty-buffer: split argument
Updated the `spacemacs/new-empty-buffer` function, to accept a `split`
argument, that can have 4 values: `left`, `below`, `above` or `right`.

Added new functions and key bindings (SPC b M-h, -j, -k and -l) for
each direction.
2017-04-17 21:54:06 -04:00
duianto
642c987623 Update sort-lines-by-column, improvements
Limit the lines to only get sorted when a block or rectangle
selection is active, on 2 or more lines. Otherwise show a
message stating the requirements for sorting by column.
2017-04-17 17:51:27 -04:00
duianto
89f8d679ea Remove "ph" 'helm-projectile from spacemacs-base
Problem: In the Ivy layer, `SPC p` lists: h -> helm-projectile
but when it's called, then it shows:
`command-execute: Wrong type argument: commandp, helm-projectile`

Solution: Remove "ph" 'helm-projectile from: spacemacs-base/package.el
Because it's also defined in the Helm layer.
2017-04-17 17:44:50 -04:00
Paulo Diniz
354951e37a Creates aligment for brackets 2017-04-11 23:46:05 -04:00
syl20bnr
2d0c3ae92c Rename dotspacemacs-zone-when-idle-for to dotspacemacs-zone-out-when-idle
Set key binding to SPC T Z
Improve the configuration a bit by selecting only the most interesting pgm
2017-04-09 23:55:00 -04:00