Commit graph

3758 commits

Author SHA1 Message Date
syl20bnr
cd600cad4f syntax-checking: just use flycheck default
This commit drastically simplify the previous commit by removing
the layer variable syntax-checking-check-on-buffer-change and
the associated usage of it.

This effectively make spacemacs use the default flycheck setting.
If the user wants to customize this behavior then she can modify
directly the flycheck variable.
2015-07-01 01:16:05 -04:00
Ryan Whitehurst
a211dfcbf5 Allow syntax checking to happen on buffer change
Add a variable `syntax-checking-check-on-buffer-change` to the
`syntax-checking` layer which conditionally sets the variable
`flycheck-check-syntax-automatically` to:

 - `'(save mode-enabled)` when nil
 - `'(save idle-change new-line mode-enabled)` (the package default)
   when non-nil

The various settings determine when Flycheck evaluates the buffer:

 - `save` triggers a buffer check after buffer save.
 - `mode-enabled` triggers a buffer check when `flycheck-mode` is
   enabled.
 - `idle-change` triggers a buffer check after the editor has been idle
   for `flycheck-idle-change-delay`
 - `new-line` triggers a buffer check whenever a new line is inserted
   into the buffer
2015-07-01 01:14:09 -04:00
syl20bnr
5a21fe88c4 magit next: add support for SPC g L key binding 2015-07-01 01:09:41 -04:00
Tommi Komulainen
99fa0a73d7 git: add SPC g L keybinding for magit-file-log
Display the log for the currently visited file or another one.
2015-07-01 01:04:56 -04:00
Keshav Kini
8e97a74026 Get rid of weird hack, comint-delchar-or-maybe-eof
This fixes #914.
2015-07-01 01:04:07 -04:00
Tu Do
db57fb17a7 [FIX] Restore old code that disable popwin when Helm is active
Otherwise the window displayed by Helm i.e. help windows in by executing
persistent action in helm-M-x or helm-descbinds are messed up.

This change also preserves the fix introduced by #2081 for helm-resume.
2015-07-01 00:45:32 -04:00
person808
59642a6b4f [Fix #1953] Correct link to text micro-state documentation. 2015-07-01 00:43:59 -04:00
syl20bnr
3de3133ed0 magit next: add key bindings for rebase and commit modes
Actually the cake is a lie, the key bindings for rebase
mode have been added in the previous commit
2015-07-01 00:22:08 -04:00
syl20bnr
83c0d95195 core: spacemacs/evilify-map is now a macro
Add support for additional key bindings
2015-07-01 00:20:45 -04:00
duerrp
fb00bb560b Fix typo in header
* Copy paste error... just jumped at me when I grepped for lisp-state.
2015-07-01 00:20:35 -04:00
kccai
e961bd04b3 Fix typos. 2015-06-30 23:01:50 -04:00
Xue Fuqiao
8ad4c25c3c Typo fixes. 2015-06-30 23:01:16 -04:00
Elais Player
0b36ce4d1f Added tao theme 2015-06-30 23:00:41 -04:00
nashamri
6d78f6b58c Support for info and ERC 2015-06-30 22:59:27 -04:00
syl20bnr
9349b8045d magit next: switch to magit-builtin-completing-read
Which works with helm as well so we don't need to set it to
magit-ido-completing-read (triggers a warning of magit about
a required third-party we don't need).
2015-06-30 22:57:18 -04:00
Tu Do
57f8c7e2b3 Update installation instructions to use ctags backend
Without this gtags.conf copied as .globalrc, generating Global tag
database won't work with other backends.
2015-06-30 22:57:06 -04:00
syl20bnr
cd40adebe0 magit next: move toggle whitespace on C-S-w 2015-06-30 22:55:04 -04:00
Jonas Bernoulli
5bd70f448c No longer set magit-last-seen-setup-instructions 2015-06-30 22:49:14 -04:00
Jonas Bernoulli
0677ece503 Fix magit-toggle-whitespace et al for magit 2.1.0 2015-06-30 22:49:06 -04:00
Jonas Bernoulli
5df4ba0e75 Implement fullscreen magit status without advices 2015-06-30 22:48:52 -04:00
syl20bnr
e923ae7fb7 github layer: Move magit-gh-pulls to extensions
For the transition period to magit 2.1
2015-06-30 22:47:52 -04:00
syl20bnr
b7a24dccac magit next: set emacs state as default instead of insert
Fix not working `f` key due to evil-escape which allows
event passthrough only in emacs state.
2015-06-30 01:30:44 -04:00
syl20bnr
17a3e47948 magit next: add evilified bindings 2015-06-30 00:43:47 -04:00
syl20bnr
a209bab317 core: add support for automatic evilification of keymaps 2015-06-30 00:39:57 -04:00
syl20bnr
8c60f0d712 WIP automated evilification of maps 2015-06-27 23:49:18 -04:00
syl20bnr
c472191ea5 WIP support for full keymaps in automated evilification of maps 2015-06-26 23:52:37 -04:00
syl20bnr
e2e071c7fb Add support for automatic "evilification" of maps.
Works with magit-next for now.
Tests to update and evilify functions robustness need to be improved.

Does not work 100% with magit-mode-map because it is created with
`make-keymap` and not `make-sparse-keymap` and `map-keymap` does not
seem to work with `make-keymap`.
2015-06-25 23:49:53 -04:00
syl20bnr
42dc33ad66 magit next: Evilify magit section maps 2015-06-25 00:21:15 -04:00
syl20bnr
64dc0de2e5 Fix magit loading when git-use-magit-next is nil 2015-06-24 17:46:46 -04:00
syl20bnr
7876176d38 Add magit-next as an extension (submodule)
Set git-use-magit-next to t in the layer variable to use it.
For now magit-ghpull from github layer is disabled.
A LOT of issues with next magit and evil remain to be fixed
2015-06-23 23:52:24 -04:00
Tu Do
28896f1059 [Fix #2082] Use Helm header line for input
Since it makes the input and best output closest to each other. Handy.
2015-06-23 00:47:43 -04:00
syl20bnr
cce7e1159c Fix tab in home buffer in terminal and define a map for spacemacs-mode 2015-06-23 00:00:51 -04:00
Tu Do
a785c44192 Fix home buffer keys in terminal
Currently, pressing TAB does not move to next widget. Similarly,
pressing RET does not run the button at point. Use `kbd` function to
properly convert to internal key representation in Emacs that is usable
in both GUI and terminal.

Also move the key bindings to spacemacs/keybindings.el since it's a more
suitable place.
2015-06-22 23:32:51 -04:00
Tu Do
3e798cfdb8 Enable Helm Gtags on compilation-mode and shell-mode
Since we can use helm-gtags to jump to any valid symbol on
shell/compilation buffer. For example, if a test case fails and it
outputs a function where the failure occurs, we can move point on that
failed function and jump directly to it.
2015-06-22 23:29:55 -04:00
justbur
78faa737bc Emacs25 requires (pacakge-initialize) to be in init.el
even if it's commented out
2015-06-22 23:24:15 -04:00
syl20bnr
15c8bc9ac9 Remove superfluous empty lines in python layer README 2015-06-22 23:16:30 -04:00
Swaroop C H
3b6b19eec4 Python layer docs: Mention PYTHONPATH fix 2015-06-22 23:15:05 -04:00
Jeremy Huffman
7f24d019a1 electric-indent-local-mode is not always defined 2015-06-22 23:14:06 -04:00
Swaroop C H
50803f4bb9 Org layer docs: Update jump keyboard shortcut
Follow-up to @tuhdo's commit:
4d219934bc
2015-06-22 23:09:53 -04:00
zimbatm
b5a732220a Use SSL to contact elpa repositories when possible
* ELPA: Certificate for different domain. HTTPS redirects to HTTP.
* gnu: yes
* melpa: N/A
* org: N/A
* marmalade: Certificate expired. HTTP redirects to HTTPS.
2015-06-22 23:09:18 -04:00
Benno Fünfstück
61e8ee791d extra-langs: enable QML mode for all qml files
There is no other file type for the extension .qml, so this should be
safe.
2015-06-22 23:08:35 -04:00
Giorgio Leveroni
26f809fa3f Evilify CIDER Inspector
- Use =L= instead of =l= for ~cider-inspector-pop~.
- Add `cider-inspect` key-binding mention in README
- Add key-binding for `cider-debug-defun-at-point`
2015-06-22 23:01:25 -04:00
syl20bnr
c44e496e1f Add info message in spacemacs/open-in-external-app 2015-06-22 22:59:27 -04:00
Travis B. Hartwell
80f1f43df4 spacemacs/open-in-external-app should only work for buffers with files
Other buffers, such as the *spacemacs* buffer should not be supported.
i.e., don't try to open 'nil'.
2015-06-22 22:57:34 -04:00
Robert O'Connor
739a50e031 fix broken links in README in root of the repo 2015-06-22 22:50:44 -04:00
justbur
d209153e7f Let smart-search-project fall back to searching files when not in project 2015-06-22 22:49:48 -04:00
sooheon
d21addb469 Fix helm-resume opening window in half of split screen
apply @bmag's fix
2015-06-22 22:30:12 -04:00
syl20bnr
5baa70057b Move projectile recent file and regenerate tags bindings
`SPC p e` is now `SPC p r` (recent files)
`SPC p R` is now `SPC p G` (regenerate tags)
`SPC p r` is now `SPC p R` (replace)
2015-06-22 10:54:27 -04:00
syl20bnr
363808abf4 slime layer: update key bindings and populate README 2015-06-21 23:46:36 -04:00
J.A. Cecil
a40bc74576 Add mode bindings for Slime contrib layer.
Bindings are technically for lisp-mode and scheme-mode rather than
slime-mode since evil-leader/set-key-for-mode doesn't seem to work
with minor modes.
2015-06-21 23:34:34 -04:00