Commit graph

3474 commits

Author SHA1 Message Date
syl20bnr b5d76b60d8 Import hide-comnt.el as local package
Imported from https://github.com/emacsmirror/hide-comnt
2018-01-25 00:11:15 -05:00
syl20bnr 88a07467fb Import info+.el as local package
Imported from https://github.com/emacsmirror/info-plus
2018-01-25 00:11:15 -05:00
Muneeb Shaikh 89933acbde spacemacs-layouts: fix creation of perspective with ivy
Fix #10240
2018-01-24 09:41:07 -05:00
Alexander Dalshov 7b4042463f CMake Layer: add ctest configuration description. 2018-01-24 16:49:06 +03:00
Bruno Tavares 035fc2a648 Regression fix: Allow new project perspectives
Before the commit 4b111f7701 it was possible to create new perspectives from projects not available on the list.

It would be possible to provide a path to a project that has not been open previously by emacs, and have the perspective created. Now that a match is required, it is not possible anymore, as the path provided is not one of the possible matches on the list.

This commit changes the behavior back to allow accessing projects that have not been visited before. Without this change, one needs to open a specific project first, using `C-x C-e` or `SPC f f` and then switch to the layout.
2018-01-22 23:36:11 -05:00
syl20bnr a88aa45668 org: sort babel key bindings in documentation 2018-01-22 23:21:49 -05:00
timor 2609cd326a Document org babel transient state 2018-01-22 23:20:53 -05:00
syl20bnr 9f4d0961a5 ess: sort key bindings in documentation 2018-01-22 23:20:01 -05:00
Jack Kamm 048c92eaf4 ess: add updated keybindings to readme 2018-01-22 23:17:57 -05:00
Miciah Masters 600421eb49 mu4e: Fix major-mode leader-key bindings
Instead of specifying mu4e-foo-mode-hook to
spacemacs/set-leader-keys-for-major-mode,
specify mu4e-foo-mode.
2018-01-22 23:17:03 -05:00
David Balatero 2b3d83ccf6 Add gtags to enh-ruby-mode as well as ruby-mode 2018-01-22 23:14:40 -05:00
Paul 990902e6d0 org: fix variable name in docs 2018-01-22 22:49:20 -05:00
Alexander Dalshov 8bc08ade89 Decouple CMake support from C-C++ Layer 2018-01-22 22:48:09 -05:00
syl20bnr 7a86333d79 mode-line: disable spaceline responsiveness for all-the-icons theme 2018-01-22 00:47:05 -05:00
syl20bnr 5144c25ab6 org-mime: remove uneeded :commands
As they are already declared as autoloaded.
2018-01-21 12:15:22 -05:00
Rudi Grinberg 8f685035bf enable flycheck for tuareg mode rather than merlin mode
merlin mode doesn't actually exist
2018-01-21 09:34:59 -05:00
syl20bnr c3b2f18901 Add explanation about C-h nil in Org layer 2018-01-21 09:33:31 -05:00
Ag Ibragimov e2dd5b1e4d Org: don't rebind C-h in Agenda
Evilified state rebinds C-h to execute org-agenda-holidays, that's not good.
2018-01-21 09:31:22 -05:00
Daniel Le 2c78318750 neo-vc-integration accepts a list, not a symbol
See bc98dfb44c/neotree.el (L300-L304).
2018-01-21 09:29:16 -05:00
Jack Kamm 446ff90fac ess: revert REPL bindings to follow CONVENTIONS.org 2018-01-21 09:28:53 -05:00
Paul 5c2aa826a2 Fix typo 2018-01-21 09:27:20 -05:00
Jack Kamm f93d1a1afd spacemacs-completion: comply w/ new helm-display-buffer signature 2018-01-21 09:26:56 -05:00
denin 8009e1bf50 evilify vc-* buffers 2018-01-20 10:54:40 -05:00
duianto 25fa9b0a50 Format spacemacs-evil/packages.el max 80 chars 2018-01-20 10:41:43 -05:00
smile13241324 3f6342c1a7 Restore evil-org-additional-bindings in insert mode
Before some time the additional evil-org bindings were available
in all three evil modes. However due to a bug in evil-org this
seems to have been changed. The bug is fixed now and
I have restored the old insert mode bindings by setting
evil-org-use-additional-insert to true during package
initialization
2018-01-20 10:39:28 -05:00
Amos Bird f3d4bdb366 use org-mime provided by melpa
https://github.com/org-mime/org-mime/issues/6
2018-01-20 10:32:06 -05:00
wigust 9c585370e6 mu4e: Create email with attachments from dired
Attachments are mostly handled using the helm baloo interface below,
but sometimes we want to send files from a directory: C-c C-m C-a
2018-01-20 00:06:17 -05:00
syl20bnr f55b62543b Revert "mu4e: add evil-mu4e package."
This reverts commit 3cb341bf71.

We should be able to dynamically switch between editing styles so evil-mu4e must
be able to revert its changes. For instance you start Emacs in Vim style and
have evil-mu4e activated then when you switch to Emacs style evil-mu4e should
revert its changes. See evil-magit for inspiration on how to do it.

Evilified maps supports hot switching of editing style out of the box.
2018-01-19 23:57:28 -05:00
Joris Engbers 3cb341bf71 mu4e: add evil-mu4e package. 2018-01-19 23:55:40 -05:00
Joris Engbers ae29f21775 The mu4e maildirs extension is now optional
The extension is not activated by default.
2018-01-19 23:49:44 -05:00
Peter Hoeg 0605476083 mu4e - better defaults, async and utility functions
This PR does a few things:

- supports async mode for sending mails
- registers imagemagick as handler for images if it exists
- sets default downloads directory if it exists
- sets a few (more) sane defaults
- supports format=flowed in messages
2018-01-19 23:47:07 -05:00
syl20bnr 0b484bc6cd mu4e: revert back bindings to SPC a M and change helm-mu bindings
Use major-mode specific key bindings for helm-mu commands.
2018-01-19 23:31:06 -05:00
syl20bnr 7487ca53cb mu4e: use spacemacs/add-to-hooks and fix hook names 2018-01-19 23:29:10 -05:00
Sébastien Bariteau f192dc957e helm-mu4e intergration + keybindings 2018-01-19 23:12:00 -05:00
Carl Lange 6da15a0c6e add .spacemacs config for the initial scratch message 2018-01-19 23:04:10 -05:00
timor 6014860ff5 Add transient state for org source block navigation 2018-01-19 23:00:51 -05:00
timor 044f2986cf Add org-babel* commands under prefix "b"
This includes most of the C-c C-v sequences.
2018-01-19 23:00:51 -05:00
Benjamin Reynolds b51826f001 Improve support for workman keyboard layout 2018-01-19 22:59:19 -05:00
Muneeb Shaikh 6c476a3bd1 spacemacs-layouts: fix S/ivy-persp-switch-project
Fix #10177

counsel-projectile has updated custom actions mechanism[1] and
counsel-projectile-switch-project-actions is no more defined

Also,
 - moved counsel-projectile into spacemacs-layouts from ivy layer as
 perspective/layout based project switching depends on it instead of swiper
 - removed swiper from spacemacs-layouts

[1] a4e9a34d7f
2018-01-19 22:57:27 -05:00
Martin Øinæs Myrseth 4ea177ce97 c-c++: Unquote google-set-c-style layer variables
The google-set-c-style functions are added to `c-mode-common-hook`
regardless of their value.

Fix #10080
2018-01-19 22:56:21 -05:00
ZarsBranchkin f48f75e23f Add nim-mode documentation binding 2018-01-19 22:55:02 -05:00
smile13241324 8943f856ed Fix doc for chinese, transmission, d, command-log and idris layer 2018-01-19 19:41:40 +01:00
Adam Kruszewski e11f7badc4 Added known-issues, features and multi-dict sections.
Added:
 - Information about incompatibility of vim-empty-lines and spell-checking
inside org-mode.
 - Features section to Description section (to comply with standard).
 - Section how to enable multi-dictionary for hunspell.
2018-01-18 01:22:21 -05:00
Benjamin Reynolds 93d2fa6f9c evil-mc: Fix misaligned cursors on macOS and Windows
See #8641
See also gabesoft/evil-mc#49
2018-01-18 01:20:12 -05:00
Tad Fisher 4b111f7701 spacemacs-layouts: Use counsel-projectile-switch-project-action
Use `counsel-projectile-switch-project-action` instead of
`projectile-switch-project-by-name`, to match the additional actions available
via `counsel-projectile-switch-project` (SPC p p).
2018-01-18 01:16:58 -05:00
syl20bnr 93913ebce1 sql: move function to funcs.el 2018-01-18 01:08:46 -05:00
Andrew Christianson 04910be2e2 Rebuild spacemacs-sql-startable after running sql-add-product
For completeness, also advise `sql-del-product`
2018-01-18 01:07:15 -05:00
Paul 03f79d0aa6 ruby: add ruby-hash-syntax
Add a command to toggle between old and new hash syntax in the active region.
2018-01-18 00:15:16 -05:00
Kalle Lindqvist 00bea00672 Make popwin handle google-translate buffers 2018-01-18 00:09:37 -05:00
Kalle Lindqvist 6efe43b222 Fix hjkl bindings in image-mode and add leader bindings. 2018-01-18 00:09:09 -05:00
Cheng,Rong 293b98151a Make auto-completion triggers more friendly in "react" layer
Auto completion menu triggers too frequently in react-mode, for example, the
completion menu will pop up right after user finishes typing a javascript
statement.

The root cause is that the 'company-minimum-prefix-length variable has been set
to 0 in "html" layer, which is used by "react" layer.

Overriding this variable to 2, as defined in "auto-completion" layer, will
resolve this issue.
2018-01-17 23:46:54 -05:00
Martin Račák aeb26596c2 Move vagrant-tramp-term key binding to correct prefix 2018-01-17 23:44:16 -05:00
Steven Allen 60f11d8afc Fix using eyebrowse without persp-mode 2018-01-17 23:43:36 -05:00
syl20bnr 1c9d74151a org: update documentation for SPC m s a and SPC m s A 2018-01-17 23:42:04 -05:00
Ag Ibragimov 73988ce799 Adds org-toggle-archive-tag keybinding 2018-01-17 23:40:57 -05:00
Jeremy Bi 53b2c8851c Enable idris-simple-indent 2018-01-17 23:36:01 -05:00
Hij Krix 79df057654 Fix bindings in imenu-list 2018-01-17 23:35:12 -05:00
Jack Kamm da64ca5a0b fix autoloading for spacemacs/helm-find-files #9826 2018-01-17 23:26:09 -05:00
Shitikanth Kashyap 6e0d38f3ea pylookup: Clear self.tag on endtag 2018-01-17 23:23:59 -05:00
Shitikanth Kashyap 480c8531b3 pylookup: Add "/genindex/" to potential_urls
Used in online documentation of libraries Flask and Requests.

http://flask.pocoo.org/docs/0.12/genindex/
docs.python-requests.org/en/master/genindex/
2018-01-17 23:23:47 -05:00
Shitikanth Kashyap 23e582d121 pylookup: Switch to using urllib2 on Python 2
Fixes bug: pylookup fails silently on 404. For instance, on
`./pylookup -u https://matplotlib.org/` it first looks up
'https://matplotlib.org/genindex-all.html', gets a 404 response,
but instead of moving to the next candidate url, it builds an empty
index.

Cause of bug: urllib.urlopen doesn't give an error on 404.
2018-01-17 23:23:25 -05:00
Shitikanth Kashyap 48032ca787 pylookup: Use generic tags to detect list levels.
This fixes bug #9866.

Tested to work with documentation of Python 2.6, Python 2.7, Python 3.4,
Python 3.5, Python 3.6, and latest stable releases for SciPy, NumPy,
Matplotlib, and Flask.
2018-01-17 23:23:14 -05:00
Shitikanth Kashyap a3d8df9244 pylookup: Set one_entry to false after each element
Fix for bug: extraneous links registered for last entry
in index. For instance, for python documentation index,
all links in footer would get attached to `zlib`.
2018-01-17 23:23:04 -05:00
Shitikanth Kashyap 01e588c5f0 pylookup: Remove unused field do_entry 2018-01-17 23:22:52 -05:00
Shitikanth Kashyap 86f7213b65 pylookup: Handle end tag logic in handle_endtag
Doing it handle_data was a bug because `self.tag`
would contain the most recent opened tag, not the tag
currently being closed. This meant, for instance, that
the elements were not being generated correctly and
"./pylook.py --cache" was broken.
2018-01-17 23:22:39 -05:00
Shitikanth Kashyap dbe5bb4893 pylookup: Use HTMLParser instead of htmllib
htmllib has been deprecated since PEP 3108.
2018-01-17 23:22:19 -05:00
j 7dbf354b15 html layer: use web-mode for .xml files 2018-01-17 23:19:43 -05:00
syl20bnr af625a9499 rust: revert SPC m c c and move cargo-process-check to SPC m c v
SPC m c c is a convention.
2018-01-17 23:17:50 -05:00
Victor Polevoy 960b85157c Add shortcut for the cargo check command #9943
1. Adds a shortcut for the `cargo check` command as "cc".
2. Remaps a shortcut for `cargo build` command from "cc" to "cb".

Fixes #9943
2018-01-17 23:16:44 -05:00
syl20bnr 2c16d19ab7 semantic: make it possible to exclude stickyfunc 2018-01-17 23:03:33 -05:00
Dela Anthonio 026964d3c5 filetree: Press ~SPC 0~ to open the neotree and treemacs windows
Resolve #9313

Window 0 is reserved for file trees. Let's open the file tree window using
~SPC 0~ instead of ~SPC f T~ since it's less key strokes.
2018-01-17 23:03:33 -05:00
Raymond Wanyoike a6e513745f Update javascript layer README: node-add-modules-path
Related to #9047
2018-01-17 23:03:33 -05:00
Levi Roth 5857e853ad Fix OPAM share directory in OCaml layer
This commit uses process-lines instead of shell-command-to-string, as
seen in ocaml/merlin#547.

This fixes an issue on Windows where the external command fails,
resulting in a broken load-path.
2018-01-17 22:19:10 -05:00
syl20bnr a2f16fa876 Add toggle for spaceline responsivness under SPC t m r 2018-01-17 15:23:37 -05:00
syl20bnr ab7b3109dc Fix potential unsupported separator by base powerline package
This error can happen if you set the cup separator or any other separator type
only supported by all-the-icons and not spaceline/powerline.
2018-01-17 14:10:42 -05:00
syl20bnr 530ca288ad Fix void variable spaceline-all-the-icons-separator-scale 2018-01-17 10:52:08 -05:00
Benjamin Reynolds 095d9d895a Fix spelling errors in org layer documentation 2018-01-17 10:51:08 -05:00
syl20bnr 0f646b884d Add properties for mode-line theme, remove powerline-scale
Since we have now a variable for the mode-line theme, it makes sense to move
the scaling of the mode-line to this variable. Thus the property
=:powerline-scale= of variable dotspacemacs-default-font has been removed and
it is replace by the property =:separator-scale= used in the variable
=dotspacemacs-mode-line-theme=.

This commit also adds a the property =:sperator= for the variable
=dotspacemacs-mode-line-theme= which allows to set the separator type.

Example of the final result:

   dotspacemacs-mode-line-theme '(all-the-icons
                                  :separator cup
                                  :separator-scale 1.5)

Documentation has been updated to reflect the changes.
2018-01-16 22:59:29 -05:00
syl20bnr 4c231ae282 Replace SPC j j and SPC j J by evil-avy-goto-char-timer
evil-avy-goto-char-timer is a better all around solution.
2018-01-15 16:41:24 -05:00
duianto d0aeaa0f1e Add evil-avy-goto-char-timer to leader jt 2018-01-15 16:37:17 -05:00
Alexander Miller eae6497b02 syntax-check: use correct error list faces when defining error levels with custom bitmaps. 2018-01-14 23:31:19 -05:00
syl20bnr 091800b25d auto-completion: use add-to-list instead of push
Also remove unneeded addtion of yasnippet-snippets directory as it is done
automatically in the package.

push is to avoid in :init blocks because it will add duplicated entries when
the user reload the configuration with SPC f e R.
2018-01-14 23:28:28 -05:00
syl20bnr c8984d102f auto-completion: sort packages configuration 2018-01-14 23:24:48 -05:00
Jack Kamm 4f0a5e3aee add yasnippet-snippets 2018-01-14 23:21:43 -05:00
Alexander Miller 4fa20328a6 treemacs: bind M-0 to treemacs window selection. 2018-01-14 23:17:17 -05:00
syl20bnr 5865be40bd notmuch: rename variable for deleted tags and add documentation
notmuch-spacemacs-delete-tags -> notmuch-message-deleted-tags
2018-01-14 23:14:30 -05:00
Leonard Lausen a9f6c1f83c Make tags changed on notmuch delete action configurable 2018-01-14 22:58:45 -05:00
smile13241324 b414d615a5 Fix doc for erlang, gpu, ess and vim-empty-lines layer 2018-01-14 22:58:00 -05:00
Miciah Masters 1a49c01c82 rcirc: Move defaults to :init to be overridable
Move setq forms in init-rcirc from the :config block to the :init block
in order to enable users to override settings in user-config.
2018-01-14 22:50:28 -05:00
Muneeb Shaikh 3a3566bf0f spacemacs-modeline: colorize inactive state for vim-powerline 2018-01-12 23:31:23 -05:00
Muneeb Shaikh 55bb88335a spacemacs-modeline: colorize hybrid state for vim-powerline 2018-01-12 23:31:23 -05:00
syl20bnr 74538306aa Tweak fix for spacemacs-purpse-popwin 2018-01-12 23:31:23 -05:00
Muneeb Shaikh 1384683513 spacemacs-purpose: load pupo after window purpose
This was reverted in 41e546f040
2018-01-12 23:24:10 -05:00
Codruț Constantin Gușoi 8be802f8db Buffer keybind for kill together with window 2018-01-12 23:18:55 -05:00
Codruț Constantin Gușoi aa666326a1 Window keybind for kill together with buffer 2018-01-12 23:18:55 -05:00
syl20bnr 86ff0eb86f Fix spacemacs mode-line theme 2018-01-12 04:14:58 -05:00
syl20bnr a69501e327 c-c++: remove automatic install of gtags layer
Instead we let the users to explicitly add the gtags layer if they want to
combine rtags and gtags.
2018-01-12 00:45:03 -05:00
Codruț Constantin Gușoi a228c2cf61 Potential fix for rtags error 2018-01-12 00:38:29 -05:00
smile13241324 1fb4e0f23d Fix doc for common-lisp, bibtex, cfengine and gnus layer 2018-01-12 00:37:15 -05:00
Codruț Constantin Gușoi 53288bf357 Disable nameless by default 2018-01-12 00:35:37 -05:00
syl20bnr a131c89909 core: add support for mode-line themes
New layer variable `dotspacemacs-mode-line-themes`:

Set the theme for the Spaceline. Supported themes are `spacemacs',
`all-the-icons', `custom', `vim-powerline' and `vanilla'. The first three
are spaceline themes. `vanilla' is default Emacs mode-line. `custom' is a
user defined themes, refer to the DOCUMENTATION.org for more info on how
to create your own spaceline theme."

See DOCUMENTATION.org changes for more info.

This commit adds support for `spaceline-all-the-icons` package.
2018-01-11 23:53:44 -05:00
Lixin Chin 34a0eb2463 rtags: only activate rtags keybindings when rtags-mode is active
The keybindings to `rtags-select-other-window', `rtags-select' and
`rtags-bury-or-delete' should only take effect when `rtags-mode-map' is
active, instead of being activate for every buffer in evil normal state.
2018-01-11 00:16:08 -05:00
syl20bnr dbf1deaa4c c-c++: make it depends on gtags layer only if rtags are enabled 2018-01-11 00:02:02 -05:00
syl20bnr 41e546f040 Move all use-package hook declaration to pre-init functions
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
syl20bnr 6cd0cc31fc git: move evil-magit use-package hook declaration to pre-init 2018-01-10 23:33:15 -05:00
syl20bnr 42adde95ec git: remove old evilification of magit buffers 2018-01-10 23:33:03 -05:00
syl20bnr 269c385560 git: add use-package for defered loading of evil-magit 2018-01-10 23:32:49 -05:00
Muneeb Shaikh 4a34ef4673 git: toggle evil-magit based on editing style
Fix #10078
Fix #10054
2018-01-10 22:21:38 -05:00
syl20bnr 014ed73109 ivy: change layer variable name for ivy-rich and add doc 2018-01-10 22:19:04 -05:00
Alejandro Catalina 43b35d5f05 Make ivy-rich a variable that controls whether to install it or not. 2018-01-10 22:10:26 -05:00
Miciah Masters 64c212941e Fix errors in rcirc and slack layers
Fix errors that were introduced into the rcirc and slack layers by
commit fea035f413.

Change the header for the slack layer's funcs.el to refer to the correct
layer.

Change the custom layout definition for rcirc to use the correct name
and binding for the layout and the correct invocation for rcirc.
2018-01-10 22:09:47 -05:00
duianto ed0dfb73d0 Update Auto-completion docs, removed binding C-f
The `C-f` binding was removed by this PR:
Remove mapping <c-f> to select the frist completion. #10039
2018-01-10 22:07:50 -05:00
Alexander Miller 76b390c15e treemacs: only activate extended git-mode when python3 is installed. 2018-01-10 22:06:54 -05:00
William Casarin 43143a1fa1 notmuch: fix notmuch layer
Was broken during refactor
2018-01-10 13:23:06 -08:00
syl20bnr 3cb9fea0ff Reset useful and useless buffers to empty lists
I feel like we should start from scratch on this one and carefully choose the
defaults.

Also this settings is a very personal setting so if we make some buffers
useless we must have a consensus on it. Marking all special buffers starting
with `*` as useless is too aggressive and make Spacemacs less POLA since two
consecutive press on SPC TAB may not revert to the original buffer.
2018-01-10 10:59:15 -05:00
Profpatsch f74e25467e layers/+os/nixos: disable electric-indent-mode
Electric indent mode doesn’t play well with the nix-mode indent function, so we
disable it.
2018-01-10 00:12:04 -05:00
seemyvest 6da75c4055 Rust: Fix cargo-process-current-test keybinding, update documentation 2018-01-09 23:58:07 -05:00
Pierre Radermecker 59f78d8700 Update hindent config in haskell layer
Hindent styling is a deprecated feature (with no more effect).
Use a simple bool toggle to activate it.

Update README
2018-01-09 23:55:49 -05:00
Chao Shen 031aaa164e Remove mapping <c-f> to select the frist completion. 2018-01-09 23:52:40 -05:00
Richard Kim b57789176c fix cut-and-paste error by using correct function name
Use google-make-newline-indent rather than google-set-c-style.
2018-01-09 23:44:43 -05:00
Muneeb Shaikh 443c6bd80d sml: lazy load sml lang for org-babel
Fix #9979
2018-01-09 23:43:42 -05:00
Benno Fünfstück 9db765a25e major-modes: comment out removed wolfram-mode package 2018-01-09 23:41:15 -05:00
Alexander Miller a23ab04926 treemacs: adapt config to new treemacs-git-mode feature. 2018-01-09 23:36:35 -05:00
syl20bnr da1331870a csharp: sort key bindings 2018-01-09 23:26:08 -05:00
Saulius Menkevičius ba0cebec88 csharp: add keybinding for omnisharp-solution-errors 2018-01-09 23:25:24 -05:00
duianto 3dba3f6794 Add switch-to-help-buffer function and keybinding
`SPC b H` is available, for opening or selecting the help buffer (if it
exists). This makes it much easier to open the help buffer, than having
to open the buffer list (`SPC b b`), then typing one or more characters,
to select the help buffer, and finally pressing `RET`.
2018-01-09 23:19:57 -05:00
Piotr Grzesik dea1e9b468 Add section about configuring indentation via javascript layer configuration 2018-01-09 23:19:57 -05:00
syl20bnr 0ccc0067c7 helm: minor formating edit 2018-01-09 23:19:57 -05:00
Nir Friedman 4e7147375d Add better helm default multi action for files/buffers 2018-01-09 23:09:21 -05:00
Benjamin Hipple a08fe56671 autocomplete: Make idle-delay configurable
Adds an autocomplete-idle-delay layer variable that gets passed to company-idle-delay
or ac-delay.
2018-01-09 23:04:33 -05:00
syl20bnr fea035f413 Make custom layout configs consistent
Use a use-package hook and avoid using lambdas.
Use same naming for all config.
2018-01-09 23:01:34 -05:00
Miciah Masters effdb177de notmuch: Add custom layout for notmuch buffers
Define a new custom layout named "@Notmuch" with binding "n" for notmuch
buffers.  The custom layout's name can be customized using the new
notmuch-spacemacs-layout-name variable. The custom layout's binding can
be customized using the new notmuch-spacemacs-layout-binding variable.
2018-01-09 22:41:13 -05:00
Leonard Lausen ce18e8cbb8 Use helm-spotify-plus instead of helm-spotify
helm-spotify doesn't work anymore due to changes to the spotify web API
2018-01-09 01:34:31 -05:00
syl20bnr 454b58703b docker: update key bindings in README.org 2018-01-09 01:30:07 -05:00
Ag Ibragimov 956ef78ab2 Moves Docker keybingings onto SPC a D
For consistency with other tools
2018-01-09 01:29:34 -05:00
Miciah Masters 8985806943 notmuch: Fix typo ":reuiqres" in notmuch-packages 2018-01-09 01:29:09 -05:00
Diego Berrocal 266322349e Move the key definition to the config hook of gh-pulls 2018-01-09 01:28:54 -05:00
Diego Berrocal f8ecf0cb1b Add null-check for filename before calling file-name-extension func 2018-01-08 02:11:19 -05:00
oisincar 911544759f Fix #10091, which-key interface delay/ lag.
A fix for #10091. The default behavour for which-key is for
'which-key-idle-delay' to affect both the initial trigger and subsequent
actions. By setting 'which-key-idle-secondary-delay' to something non-nil,
that delay acts over the subsequent actions instead.

The which-key wiki recommends setting it to a 'non-zero value', as zero could
cause issues, so instead set it to 0.01.
2018-01-08 02:04:19 -05:00
Miciah Masters fac28d170d org: Delete duplicate defmacro for org-emphasize
Delete the duplicate definition of the spacemacs|org-emphasize macro.
Commit 8b0c69c8cd added the duplicate.
2018-01-08 01:48:04 -05:00
smile13241324 51cfa948b1 Fix doc for nim, fsharp, forth, dash and fasd layer 2018-01-08 01:45:09 -05:00
smile13241324 5e0befba5b Fix doc for terraform, perforce, elfeed and evil-snipe layer 2018-01-08 01:44:19 -05:00
syl20bnr 099872a61a c-c++: fix wrong-type-argument keymapp "q" when rtags support is on 2018-01-08 01:26:28 -05:00
syl20bnr d4b931e935 notmuch: refactor layer
- Make the notmuch layer more idiomatic.
- Move org related stuff to a use-package hook for org.
- Simplify configuration of helm and ivy
- Sort package config
- Move sections in README to avoid repetition of Evilified State sections
- Add docstrings to functions and use // convention for private function names
2018-01-06 23:50:52 -05:00
Francesc Elies Henar 7f95dd3984 [notmuch] interactive search with helm & ivy
closes https://github.com/syl20bnr/spacemacs/issues/10012
2018-01-06 22:54:11 -05:00
Chirantan Ekbote 759a65cb71 Replace counsel--git-dir with (ivy-state-directory ivy-last)
abo-abo/swiper@4f57b5a9 removed the counsel--git-dir variable.  Code
that used that variable is now expected to use (ivy-state-directory
ivy-last) instead.  Update the code to reflect this change.

Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
2018-01-06 22:49:03 -05:00
Tomasz Kołodziejski 79b33ad9a9 Rotate ivy re builders rather than toggle
Fixes #10008
2018-01-06 22:46:27 -05:00
Nikita Leshenko d0089a23de ivy: spacemacs-help: Fix candidate layers with no packages
When a layer doesn't have a package, its name was added to the candidate list as
a symbol instead of a string, breaking actions such as
layer-action-open-packages which expect a string.
2018-01-06 22:29:15 -05:00
syl20bnr 70925f3fba ivy: sort packages 2018-01-06 21:44:58 -05:00
Alan Ferguson 3467aa8433 ivy: add ivy-rich display transformer for ivy-switch-buffer 2018-01-06 21:40:53 -05:00
syl20bnr 46c5dfa4a7 cl-loop instead of loop 2018-01-06 21:38:13 -05:00
Robbert van der Helm 080eaa1283 Add counsel-css as an ivy alternative to helm-css-scss
This also adds imenu support to CSS and Sass when using ivy.
2018-01-06 21:21:54 -05:00
syl20bnr 14b206492b ivy: use post-init to add hook for org-ctrl-c-ctrl-c 2018-01-06 11:51:19 -05:00
Allen Li fcf33be0f7 Use counsel-org-tag when ivy layer is used
When ivy is used, the default org-set-tags will only complete for the
first tag, and any additional tags must be typed manually.  counsel
provides a replacement function to fix this.

Unfortunately, we can't just alias org-set-tags because it is used in
other places, so we must change C-c C-c using a hook.

See https://github.com/syl20bnr/spacemacs/issues/6918
2018-01-06 11:44:18 -05:00
duianto b3ddc962ec Fix 3 typos 2018-01-06 11:25:23 -05:00
Ag Ibragimov f0a5c0960c Adds maximize-vertically function 2018-01-06 11:25:23 -05:00
syl20bnr d9e5652ae7 emacs-lisp: enable nameless by default 2018-01-06 02:51:46 -05:00
syl20bnr 92ea3510e0 gtags: make gtags toggle major mode specific
Like is has been done for evil-cleverparens and lisp dialects.
It means that the mode-line lighter is now a plain squared G and that the
toggle key bindings is now under `SPC , T g` instead of the global `SPC t G`.
2018-01-06 02:48:28 -05:00
syl20bnr 6932a337ee c-c++: refactor rtags support, key bindings, attempt ggtags fallback
- Move rtags key bindings under `SPC m g` prefix
- Document rtags support and key bindings in README.org
- attempt to implement gtags fallback using
  https://github.com/Andersbakken/rtags#fall-back-to-other-taggers
- make c-c++ layer dependend on gtags layer (gtags layer is automatically
  installed when the c-c++ layer is used)
- sort packages config in packages.el
- use a dolist instead of a function to define rtags key bindings
2018-01-06 02:44:33 -05:00
Alexander Dalshov 7a74ae105a c-c++ rtags: integration with evil 2018-01-06 01:30:59 -05:00
Alexander Dalshov bdcdc66c54 c-c++: add rtags integration 2018-01-06 01:30:59 -05:00
syl20bnr 51fb39aac8 c/c++: use clang-format-buffer and clang-format-region functions 2018-01-06 01:29:45 -05:00
Silver Chan 24e556941b fix problem: c-c++ layer variable
fix problem: c-c++ layer variable:clang-format-region-on-save invalid
2018-01-06 01:29:10 -05:00
Dela Anthonio 1d7198e3a7 c-c++: Fix clang format on save
Resolve #10041

The spacemacs/clang-format-buffer function doesn't exist. It should be replaced
with clang-format-buffer. This error was introduced in 01ddc98cef.
2018-01-06 01:01:29 -05:00
Hans Jang d35268a1d6 Fix the broken python repl invocation through SPC a '
Without this chage, it ends up with the following error:
  'Wrong type argument: commandp, python-start-or-switch-repl'
2018-01-06 00:59:29 -05:00
Jaakko Luttinen 76003c1a7d Add ipython-notebook insert mode bindings also to hybrid mode 2018-01-05 23:15:43 -05:00
syl20bnr c3e65f53e7 elixir: remove unecessary org config for org babel
The config is in ob-elixir
2018-01-05 22:27:43 -05:00
syl20bnr 8bb225b402 ipython-notebook: update org config to be more idiomatic 2018-01-05 22:27:13 -05:00
Alejandro Catalina c233bb6336 Add ob-ipython to ipython-notebook layer 2018-01-05 22:20:29 -05:00
syl20bnr eee2b4b89c python: document pippel and set key binding to SPC m P 2018-01-05 22:15:50 -05:00
James Wang 0a4f257da0 Add pippel for python package management 2018-01-05 21:54:41 -05:00
Christoph Paulik 17d350b585 Python: Fix pyenv-executable-find in presence of pyenv-which-ext. 2018-01-05 21:48:04 -05:00
Shane Pearlman 2f2ed06b0e Use python-mode for SCons script files 2018-01-05 21:46:52 -05:00
syl20bnr 302d272ae3 python: sort key bindings in doc and package config 2018-01-05 21:45:57 -05:00
Volodymyr Vitvitskyi b63039a6a4 Support importmagic in the Python layer
Problem
-------
If the symbol is not resolved due to a missing import there is no automatic way
in the Python layer to import it.

Solution
--------
Use 'importmagic' package.

Pressing `SPC m r f` at point that requires an import will suggest a list of
possible options.
2018-01-05 21:44:11 -05:00
syl20bnr 6a345b86a0 python: document python-save-before-test 2018-01-05 21:41:26 -05:00
Benoit Coste 3f01fd5fed Add defvar python-save-before-test
If true, buffer is automatically saved when calling
python-test-* functions
2018-01-05 21:38:28 -05:00
lostmarble 572820e618 Update funcs.el
fix python/:init: Invalid version syntax: '5.1.0^M' bug, for "ipython --version" will return '5.1.0\r\n' on windows with Anaconda3
2018-01-05 21:37:08 -05:00
Muneeb Shaikh ef36bdfb06 python: update anaconda-mode view mode variable names
Fix #10047
2018-01-05 21:37:03 -05:00
Muneeb Shaikh 3289e0d114 python: update invalid cython mode keybindings 2018-01-05 21:35:58 -05:00
syl20bnr 3b24f451f8 emacs-lisp: add dotspacemacs alias for nameless 2018-01-04 02:13:22 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr 5700fc5b0a Fix typos in doc for safe structural editing 2018-01-04 01:55:54 -05:00
syl20bnr f142ea6a32 org: hide lighter for evil-org
It is not conventional and missleading.
2018-01-04 01:40:52 -05:00
syl20bnr 2cb98447af Move evil-cleverparens to spacemacs-evil with major mode toggle
Delete layer evil-cleverparens and move the package to spacemacs-evil layer.

The feature is called "Safe structurral editing" for lisp dialects. Support for
it is added via pre-init functions in each of the concerned layer and proper
documentation is added to their README.org files.

This also removes the recently added package evil-smartparens. The goal is
to choose the best package for evil safe structural editing. For now we use
evil-cleverparens as we supported it first, if evil-smartparens is shown to be
a better package we will be able to switch to it.
2018-01-04 01:40:52 -05:00
syl20bnr 8bc9060af8 javascript: change key binding for repl live eval toggle
To respect convention move the key binding under `SPC m T l` and change
the lighter to a plain squared `l`.
2018-01-04 01:40:52 -05:00
syl20bnr 6265c057bf emacs-lisp: change nameless key binding to respect conventions
Convention for major mode specific toggles is to put them under SPC m T prefix.
Used `n` instead of `>` because there is no unicode squared symbol with `>`.

Also use the new generated function to register the hooks.
2018-01-04 01:40:52 -05:00
timor debd7a010b use evil-smartparens-mode for smartparens-strict mode
This is more dwim in the sense that the normal deleting commands now behave more
like paredit, i.e. region deletion is adjusted to always keep the pairs
balanced.
2018-01-04 01:40:52 -05:00
Sunghyun Hwang 1de9bde5f7 Add note about helm-spotify specific key bindings 2018-01-04 01:40:52 -05:00
Josh Santos a18eab6026 Add Troubleshooting section 2018-01-04 01:40:52 -05:00
JAremko 020eee4501
Update Docker distro 2017-12-31 18:04:09 +02:00
JAremko c47d88a098 Format docs 2017-12-31 02:41:22 +02:00
smile13241324 b4d663dcb5 Fix doc for cscope, geolocation, wakatime, prodigy and smex layer 2017-12-27 20:20:32 +02:00
Gunnar Bastkowski 857f6304c7 Add keybinding to align by percent 2017-12-23 10:54:01 -05:00
Guido Kraemer 502a62a640 start julia repl with spacemacs/ess-start-repl 2017-12-23 17:46:02 +02:00
bmag 88a952fb33 ess: declare prefixes in loop 2017-12-23 17:46:02 +02:00
Guido Kraemer 99d575b9c8 fix julia keybindings and nice prefixes 2017-12-23 17:36:31 +02:00
Leonard Lausen e26e9c0eae Fix org-projectile capture-template keyword argument
Introduced by
d57062569e
Unfortunately that commit prevents specifying &additional-options, which should
be fixed by https://github.com/IvanMalison/org-projectile/pull/35
2017-12-23 17:27:29 +02:00
Fredrik Bergstrand 5ec172d7bd c-c++: Improve the header include auto completion
This change makes the c-c++ layer configure company-c-headers to search for and
list completion alternatives according to the priority list found in 'man gcc'.
If supported, the default system include paths are also fetched from gcc's
configuration instead of being hard coded to "/usr/include" and
"/usr/local/include". This also remedies the problem where the C++ standard
library headers does not show up as completion alternatives without manual
addition of include paths (see #4493, #8655).
2017-12-19 00:31:43 -05:00
Dela Anthonio 01ddc98cef c-c++: Add clang-format functions and key bindings
Solve part of #7628. Additionally, #7629 is no longer needed.

Add support for formatting lines, functions, and buffers with clang-format. Each
function produces a clear message on success.

The README was updated to reflect the usage of the new key bindings. References
to binding clang-format to the tab key were removed.
2017-12-19 00:25:20 -05:00