Commit graph

8033 commits

Author SHA1 Message Date
syl20bnr
107f70ddf4 replace uninstall with delete also in dotfile template 2017-05-14 22:10:43 -04:00
Leo Joseph Buchignani III
cb8de28b8f replaced "uninstall" with "delete"
to avoid conflation of loading/ignoring with downloading/deleting.
2017-05-14 22:09:02 -04:00
deb0ch
7280f1a6be FAQ: add "where to start learning elisp" section 2017-05-14 22:08:13 -04:00
Wieland Hoffmann
4c009f4721 Use verbatim markup for the flake8 package name 2017-05-14 22:07:21 -04:00
Swaroop C H
80d2a0d99d [docs] Fix parentheses 2017-05-14 22:06:08 -04:00
David
eaf7ef05b8 FAQ: Fix git clone command for trying Spacemacs 2017-05-14 22:05:31 -04:00
Steven Allen
6c0c4dcf37 Add keybindings for magit clone and init. 2017-05-14 22:04:02 -04:00
Sid Kapur
5ebcbfe6f6 Add info about SSH key to github layer README 2017-05-14 22:01:44 -04:00
Bas Veeling
20535e2ebc Added hide-others shortcut to osx keybindings
In emacs 25.1, the osx system default shortcut cmd+alt+h to hide other windows is broken. This commit fixes this (see #7464).
2017-05-14 21:57:11 -04:00
Aaron Culich
2215ffe68d change osx-command-as default for ⌘ to hyper instead of super
The purpose of this PR is to set the default for ⌘ to `hyper' and to provide the
function `kbd-mac-command` to replace `kbd' when defining keybindings for ⌘ in
case someone decides to explicitly set osx-command-as to `super' or `alt'.

There are problems setting osx-command-as to `alt' and `super',
so we use `hyper' as a default instead because, for example:
  - Using `alt':   Command-x or Command-m inserts, respectively: × µ
  - Using `super': Control-Command-f produces keycode: <C-s-268632078>
Setting to `hyper' seems to avoid both types of the above problems.
Also, while it is possible, it is not recommended to set to `meta'
since standard OSX shortcuts would overshadow important keys such
as M-x.

Two other small changes include:

  - Commenting out the code that defines <C-s-268632078> (C-s-f) since it is
    unnecessary if we use `hyper' as the default; and if we really want to use
    `super' then we should figure out how to solve the weird keycode issue.

  - add keybinding for ⌘` (Command-backtick) to `other-window'.
    Emacs usually swallows this keystroke, so other-window basically restores
    the default behavior that most Mac OSX users would expect.
2017-05-14 21:54:06 -04:00
Chream
5ff0fbe6d9 [enhancement] OSX Layer. add config variables for different OSX modifier keys.
[update] Update defaults.

[update] update README.
2017-05-14 21:34:30 -04:00
syl20bnr
5ecd3c9fa9 lua: use new add-company-backends macro 2017-05-14 21:26:41 -04:00
zhuyan
210106b7b3 lua: Add company-lua package
Lua-mode it self has poor completion support and company-lua will enhance it.
2017-05-14 21:24:14 -04:00
syl20bnr
22e40f4f3d prodigy: move c key biniding to evilified macro and update doc 2017-05-14 13:48:36 -04:00
Francesc Elies Henar
f242c8eb77 binds c to prodigy-view-clear-buffer 2017-05-14 13:46:13 -04:00
Diego Alvarez
6a55eba49b evilify ensime search in insert/normal mode 2017-05-14 13:44:44 -04:00
MadAnd
9f3e656c8f Add support for building multi-file local packages with Quelpa
At the moment a Quelpa recipe like `(recipe :fetcher local)` is being translated
to something like
`(recipe :fetcher file :path "my-layer/local/my-pkg/my-pkg.el")`. So we can
build simple single-file local packages.

This commit changes it to translate to the package directory instead of exact lisp
file, so we can build multi-file local packages. Thus, the above example will be
translated to `(recipe :fetcher file :path "my-layer/local/my-pkg")`.

Also, add the relevant info to LAYERS.org.
2017-05-14 13:39:02 -04:00
Fangrui Song
6fe2348013 Haskell: use intero-goto-definition for jump handler if intero-mode is enabled. 2017-05-14 13:32:28 -04:00
syl20bnr
7d215cb089 c-c++: move realgud config to c-c++ layer and delete debug layer
For now realug is used only to C and C++ so it makes more sense to add it to
the c-c++ layer for now.
Later if we can generalize the support of realgud for other languages and we
can start a debugger layer.
2017-05-14 13:20:10 -04:00
hodge
d5c4bb8b9a Add debug layer
modify readme
2017-05-14 13:10:01 -04:00
Joao Azevedo
81aed5a423 Allow customizing if ENSIME should print types at point
The `scala-enable-eldoc` variable should be used to determine whether or not
ENSIME should print types at point. This makes sure that the hook is only set if
the variable is non-nil.
2017-05-14 13:07:09 -04:00
JAremko
86f4278d4c core: inline permalinks in documentation 2017-05-14 12:49:23 -04:00
JAremko
bd866b6c99 docker: add develop tag to spacemacs-docker images
also fix some links
2017-05-14 12:48:53 -04:00
syl20bnr
714b82f7fb emacs-lisp: revert factorization of evilified macro calls 2017-05-14 12:46:31 -04:00
Keith Wygant
08734cb595 Fix key binding `dolist's
Dolists for `spacemacs/set-leader-keys-for-major-mode' were using
'emacs-lisp-mode instead of the loop variable 'mode'. Hopefully using the loop
variable was the intention.

I also updated the redundant bindings for `edebug-mode-map' and
`edebug-eval-mode-map' to use `dolist'. It probably makes more sense to put the
whole thing after :bindings rather than around it, but I wasn't sure if that
might break something.
2017-05-14 12:38:12 -04:00
Keith Wygant
22a0bf1e52 Switch `spacemacs/eval-current-form' docstring to imperative
I also capitalized 'Idea' in the comment above.
2017-05-14 12:38:06 -04:00
syl20bnr
352a06ee50 graphviz: always setq graphviz-dot-indent-width 2017-05-14 12:35:14 -04:00
Tu Do
efff24475a Fix graphviz erroneous usage of default-tab-width
default-tab-width is obsolete since Emacs 23 and is removed in Emacs 26. Better
adapt it properly.
2017-05-14 12:34:32 -04:00
duianto
dba5dd34e1 CONVENTIONS.org: update evilify macro name 2017-05-14 12:33:16 -04:00
Liu, Joey
a754c204ce In OSX, add key binding to use command-1..9 for selecting window 2017-05-14 12:32:39 -04:00
duianto
9e93cc2ebc Define SPC C c 'org-capture on :init
problem:  SPC C c was defined in the org layers :config section, which
          runs when a .org file is loaded
solution: move the definition to the :init section, so that it loads on
          startup, like SPC a o c and C-c c
2017-05-14 12:30:26 -04:00
Vladimir Kochnev
09334fb454 Fix typo in keyboard-layout/packages.el 2017-05-14 12:29:52 -04:00
Benjamin Reynolds
5bd08fbcad mu4e: update documentation
Updates mu4e documentation to include new layout integration.
2017-05-11 11:04:08 -05:00
syl20bnr
a213729981 slack: update documentation 2017-05-07 22:22:27 -04:00
Aaron Jensen
c4ce10ad82 helm/ivy: Limit rg results to 150 columns
Emacs doesn't handle long line lengths very well. If you accidentally rg a file
a file that has very long line lengths it can freeze emacs. This prevents rg
from returning any results with more than 150 characters. Instead, it will
indicate that there were results in that file but they were elided.
2017-05-07 22:07:42 -04:00
syl20bnr
17ac76869c chrome: define markdown key bindings for gmail-message-mode 2017-05-07 22:02:03 -04:00
Christoph Paulik
280047b496 Add markdown keybindings to gmail message mode 2017-05-07 21:54:48 -04:00
syl20bnr
9ae59baa21 chrome: refactor layer 2017-05-07 21:44:08 -04:00
ralesi
acd0276005 Defer gmail-message, requires a lot of files. 2017-05-07 21:39:27 -04:00
syl20bnr
84fa5a6f8a slack: make the layer depends on emoji layer and move emojify config 2017-05-07 21:37:01 -04:00
d12frosted
eb2f736ee5 setup emojify cache directory 2017-05-07 21:33:33 -04:00
codefalling
37f4a5250e emoji layer company-emoji font support
Font support for company-emoji on Linux or on Mac OS X and using the
Cocoa version of Emacs.
See https://github.com/dunn/company-emoji/blob/master/README.md
2017-05-07 21:32:55 -04:00
Benjamin Reynolds
90d9980878 Allow customization of slack custom layout name and binding
This commit adds two configuration variables to the slack layer allowing a user
to customize the name and keybinding of the slack custom layout, following the
conventions from the erc and mu4e layouts.
2017-05-07 21:11:37 -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
syl20bnr
e692743663 travis: force push to auto documentation PRs 2017-05-04 00:53:54 -04:00
Benjamin Reynolds
68364b969e Add custom layout for mu4e buffers
This commit adds a custom layout for mu4e related buffers. Four different major
modes are used in mu4e buffers based on their purpose, so a function is used to
add buffers in these modes to the new layout. This setup is largely based on
that of the ERC layers custom layout.
2017-05-04 00:32:35 -04:00
Benjamin Reynolds
9e17d9e6bf Add @Slack layout to documented list of default custom layouts
This commit adds the custom layout defined in the Slack layer to the list of
custom layouts that spacemacs ships with in `doc/DOCUMENTATION.org`
2017-05-04 00:31:08 -04:00
Steven Allen
604c24bf0e Replace define-advice with advice-add in the shell layer
`define-advice` requires Emacs 25.

 Addresses: https://github.com/syl20bnr/spacemacs/pull/8635#issuecomment-297887734
2017-05-04 00:30:22 -04:00
LdBeth
e17460f0e6 Fix init-slime-company
used `:pre-config` instead `:post-init`, otherwise `slime-company` won't be
initialized because `common-lisp/init-slime-company` is called after
`common-lisp/init-slime`, and `:post-init` probably won't make effect.

Fixes #8796
2017-05-04 00:29:08 -04:00
syl20bnr
4898644a95 org: revamp key bindings
Org key bindings were a mess with no logic.
This commit changes a lot of them to reorganize them under prefixes.
Here is the complet list of changed key bindings:

New prefixes:
- C clocks
- d dates
- miD download
- ms trees/subtrees
- mT toggles

New key bindings:
- "Ti" org-toggle-inline-images

Changes key bindings:
- "Cc" 'org-clock-cancel
- "Ci" 'org-clock-in
- "Co" 'org-clock-out
- "Cp" 'org-pomodoro
- "dd" 'org-deadline
- "ds" 'org-schedule
- "dt" 'org-time-stamp
- "dT" 'org-time-stamp-inactive

- "em" 'org-mime-org-buffer-htmlize

- "id" 'org-insert-drawer
- "iDy" 'org-download-yank
- "iDs" 'org-download-screenshot
- "ie" 'org-set-effort
- "ih" 'org-insert-heading
- "iH" 'org-insert-heading-after-current
- "iK" 'spacemacs/insert-keybinding-org
- "il" 'org-insert-link
- "ip" 'org-set-property
- "is" 'org-insert-subheading
- "it" 'org-set-tags

- "sa" 'org-archive-subtree
- "sb" 'org-tree-to-indirect-buffer
- "sh" 'org-promote-subtree
- "sj" 'org-move-subtree-down
- "sk" 'org-move-subtree-up
- "sl" 'org-demote-subtree
- "sn" 'org-narrow-to-subtree
- "sN" 'widen
- "sr" 'org-refile
- "ss" 'org-sparse-tree
- "sS" 'org-sort

- "Tt" 'org-show-todo-tree
- "Ti" 'org-toggle-inline-images
- "TV" 'space-doc-mode
- "Tx" 'org-toggle-latex-fragment

- "xo" 'org-open-at-point

- "Cc" 'org-agenda-clock-cancel
- "Ci" 'org-agenda-clock-in
- "Co" 'org-agenda-clock-out
- "dd" 'org-agenda-deadline
- "ds" 'org-agenda-schedule
- "ie" 'org-agenda-set-effort
- "ip" 'org-agenda-set-property
- "it" 'org-agenda-set-tags
- "sr" 'org-agenda-refile
2017-05-04 00:28:12 -04:00