Commit graph

7948 commits

Author SHA1 Message Date
duianto fd4b74559c Update which-key popup: key/command grouping
Comment the code and group the keys/commands based on the
which-key section they appear in.

Reduce the width of the listed keys:
By removing spaces around the two dots `..` in the key sequences, and
by removing the modifier keys before the last number in a sequence.

Update the renamed select-window-[1-9] command name, to the new
winum-select-window-[1-9] name.

Combine keys that call the same command.
2017-05-24 09:32:16 +02:00
MadAnd 8fea6f134d ivy: Use new API to register additional transient state bindings
This is a follow-up commit after #8155 has been merged. It applies the same
changes to code of the `ivy` layer. It is not part of #8155 because there was
no `ivy` layer when that PR was submitted.
2017-05-24 09:12:48 +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 c7df45a0a9 Properly read dsm-major-mode-leader-key 2017-05-23 15:40:08 +02:00
pnagy 17b25784da mu4e-compose: add some convenient major mode bindings 2017-05-23 15:38:51 +02:00
Eivind Fonn 144c37955f Remove unnecessary function 2017-05-23 15:34:24 +02:00
Benno Fünfstück 0d9c56cefc haskell: disable electric indent for cabal-mode 2017-05-23 15:33:01 +02:00
Ryan Fowler 5d613b63d2 store cider repl history in spacemacs cache 2017-05-23 15:18:21 +02:00
Isaac Zeng 0c24559545 Prevent tmux-command at GUI mode 2017-05-23 15:15:37 +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
Victor Andrée 110419fd01 Call tsfmt with extension of current buffer for TSX formatting
Addresses #8297 for the tsfmt backend. However, does not fix tide issue, and
automatic major mode formatting (`SPC m =`) does not work in TSX files as they
are opened in web mode.
2017-05-23 15:08:12 +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
MadAnd 62a4a60510 javascript: leverage js-doc Yasnippet integration if available
js-doc provides an alternative function for generating function doc comments
that makes use of Yasnippet to easily jump between the comment sections/tags.

This commit enables use of that function, if Yasnippet package is active.
2017-05-23 12:52:18 +02:00
Ben Mabey aa83ed0249 adds ein:notebooklist-login as app command
The login is required for most jupyter installs these days.

change ipython command keybinding for open from 'n' to 'o'

Unless I'm violating some Spacemacs convention using 'o' for 'open'
seems to the right choice instead of 'n'. Better mnemonics, IMO.
2017-05-23 12:49:53 +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 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
Eivind Fonn a5e6509695 Wrap markdown :mode as list 2017-05-23 11:00:09 +02:00
Han Wang fbb5908a3e Render Madoko document using markdown mode
Madoko is a fast markdown processor with a special .mdk extension
from microsoft research. emacs should use markdown-mode to render
a .mdk file as markdown file.
2017-05-23 10:58:50 +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 46cbe18745 remove ^M from nyan README.org 2017-05-22 18:35:37 +03:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
JAremko dc5781f715 fix link 2017-05-22 18:32:47 +03:00
JAremko 4e83167f88 fix TOC with same headings 2017-05-22 18:32:47 +03:00
JAremko d16bf3adad update toc-org in spacefmt 2017-05-22 18:32:47 +03:00
Daniel Manila cfe0295875 Add sayid, a debugger, to the clojure language
"Sayid (siy EED) is a tool for debugging and profiling clojure code."
(https://bpiel.github.io/sayid/) it allows viewing the results of each line of
code in a clojure function, without editing the code at all.

This commit evilifies the plugin and adds its commands to the "debug" submenu
of the main clojure mode menu.
2017-05-22 17:25:25 +02:00
Alexander M 113794f4e8 Keep find-ert-test-buffer from moving point. 2017-05-22 17:13:57 +02:00
JAremko 4fa8ca40c2 fix for updated CI 2017-05-22 17:12:04 +02:00
Steven Allen 1872376cc2 Load org-mode email integration (mu4e/notmuch) when org is loaded.
Before, `org-mu4e` would be loaded when mu4e was. However, as an extension to
org mode, not mu4e, it should be loaded when org mode is.

This commit also adds similar support for notmuch.
2017-05-19 17:17:33 +02:00
Steven Allen 58d521af51 Unbreak diff-mode
diff-mode is for *editing* diffs. Defaulting to evilified state and binding j/k
breaks this.

You can still use TAB/S-TAB to navigate through hunks.
2017-05-19 16:58:01 +02:00
JAremko bba0783534 CI allow_failures for doc tests (E24.4 E24.5) 2017-05-19 16:42:45 +02:00
Daniel Ralston 5b383559be Add key binding for helm-gtags-find-symbol: '<SPC> g y' 2017-05-19 11:46:14 +02:00
Eivind Fonn 488fc0977f Move editorconfig to spacemacs-editing 2017-05-19 11:43:29 +02:00
Vladimir Kochnev bed1d344d7 Add editorconfig layer.
Sometime in the past editorconfig layer has been deleted.

Commit: 5887344.
Related PR: #1526.

Explanation was that layer was so simple that everything you need to get
editorconfig to work is just add it to dotspacemacs-additional-packages.

However it's not quite true.

- (editorconfig-mode t) should be performed manually.
- it looks ugly in modeline.
2017-05-19 11:38:25 +02:00
Alexander Miller f4fafa9a51 Shell scripts: add new company-shell environment variable backend. 2017-05-19 11:12:22 +02:00
syl20bnr 7cd8e1fee5 Add password-generator package under SPC i p 2017-05-18 23:12:56 -04: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
Andrew Oppenlander 3dd9fc5d4e Added pass contrib layer that repescts dotspacemacs-use-ido and
describes multiline pass entries.
2017-05-18 23:12:56 -04:00
Dietr1ch ff43db919b Add SPARQL-mode to +lang/extra-langs 2017-05-18 23:12:56 -04:00
syl20bnr 95ec362582 dash: make if more idiomatic 2017-05-18 23:12:56 -04:00
Color Fuzzy 549f7e2518 helm-dash use default docsets path on macos
If we don't use the default docksets, helm-dash will not work smoothly
unless we set the `dash-helm-dash-docset-path' variable when we import
the dash layer(actually, the default dash docset path is always
"~/Library/Application Support/Dash/DocSets").
2017-05-18 23:12:56 -04:00
WillianPaiva e1e091eee8 add a keybind for the function eclim-java-run-run 2017-05-18 23:12:56 -04:00
Liu, Joey 42b13b5178 Fix OSX mapping issue, because of a recent commit changed the way of OSX mapping 2017-05-18 23:12:56 -04:00
BorisVerk ac81e671e8 added names to django mode prefixes 2017-05-18 18:54:38 +02:00
Robert (Robby) O'Connor 097f341eac Fix typo in java layer README 2017-05-18 18:53:08 +02:00
Fuqiao Xue 6835e7605b Change HTTP to HTTPS in docs 2017-05-18 18:42:33 +02:00
duianto 116c51520e Add a key binding for magit-find-file
problem:  currently, viewing a file at a specific branch/commit, requires one to
          type the magit-find-file command, at the M-x prompt
solution: SPC g f f is available and consistent with the SPC f f key binding
2017-05-18 18:40:34 +02:00