Commit Graph

600 Commits

Author SHA1 Message Date
Keith Pinson 4ae7be5404 fix(org-present): exiting presentation always removes inline images
Spacemacs configures `org-present` to inline images while presenting. That much
makes sense. But it has a hook to turn them off unconditionally when exiting
presentation mode. This causes a problem if you just want images to show in and
out of presentation mode.

STEPS TO REPRODUCE
1. Create an Org file
2. Add a link to a file
3. Set `#+STARTUP: inlineimages`
4. `M-x org-present`
5. Exit presentation mode

EXPECTED
Because of `#+STARTUP: inlineimages` images are still inlined.

ACTUAL
The inline images have been removed upon exiting the presentation mode.

FIX
Check `org-startup-with-inline-images` on exiting presentation mode and only
remove the inline images if it is false.

TESTING
To ensure that this did not introduce a regression of the converse behavior, I
also tested with `#+STARTUP: noinlineimages`, and it still turned off the images
when exiting the presentation.
2020-01-26 17:21:07 +01:00
duianto 27178f23e9 Fix helm-spacemacs-help-faq, SPC h f
The function: helm-org-get-candidates was removed upstream.

Improvements:
Recenter the target candidate.

Reversed the helm headings list, to match the order of the
questions in FAQ.org, so that the Common questions are
listed first.

Removed the : (colon) after the heading: How do I
in FAQ.org, to match the other parent headings.
2020-01-25 17:37:47 +01:00
syl20bnr 52d1b0f323 Revert "[clojure] Add sesman keybindings"
This breaks Spacemacs convention:
https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#repls

Need to add session management under an unused prefix, I suggest SPC m S

This reverts commit e47494229b.
2020-01-25 10:17:08 -05:00
duianto 0b023bd764 [clojure] Fix typos 2020-01-23 12:10:37 +01:00
jr0cket e47494229b [clojure] Add sesman keybindings
Add Spacemacs keybindings to the Clojure layer for all the sesman functions.

Sesman has been a part of CIDER for many versions now and provides session
management for nREPL connections (in fact any connections).

Several keybindings relating to the use of a specific repl been migrated the
`e` evaluation menu and `es` sent-to-repl-buffer sub-menu, providing a cleaner
separation between repl connection and session management and interacting with a
specific repl.

Updated layer documentation and keybindings in README.org file.
Added changes to CHANGELOG.develop

Resolves #12593
2020-01-23 11:43:38 +01:00
duianto a574ccc2a7 Update changelog.develop 2020-01-23 11:42:10 +01:00
Muneeb Shaikh 0ab1e45fe4 [evilified-state] Map C-w to evil-window-map
Fix https://github.com/syl20bnr/spacemacs/issues/13197

Motivation: https://github.com/syl20bnr/spacemacs/issues/13197#issuecomment-577051372
2020-01-22 09:36:19 +01:00
syl20bnr 101c920dbc
Add key bindings to randomize word and lines in region 2020-01-20 11:26:14 -05:00
Richard Kim 278be41010 [helm] Created spacemacs/helm-dir-do-grep to fix issue #13167
This is used if someone does not have ag, pt, rgrep, etc.
2020-01-20 15:53:20 +01:00
wangtianshu 235ed43010 Fix ~SPC m ;~ binding 2020-01-20 15:41:20 +01:00
Seong Yong-ju 58279f89ea [treemacs] Add persp-mode integration 2020-01-20 14:35:45 +01:00
Joscha 099ead9b6a [haskell] Add history key bindings to haskell ghci repl
This commit adds the C-j, C-k and C-l bindings to haskell's ghci repl, according
to spacemacs conventions.
2020-01-20 13:23:44 +01:00
madand e1ad035513 Improve rainbow-identifiers experience for Elisp and CL
Make rainbow-identifiers not colorize special operators and macros, so they
always visually stand out. Rationale behind this change is that special
operators and macros in Lisp may be considered "syntax" elements, so it makes
sense to have them visually distinguished at all times.
2020-01-20 11:37:20 +01:00
Zach Latta 1d2a1fa6e4 Fix capitalization of GitHub
Change instances of "Github" to "GitHub".
2020-01-20 09:14:12 +01:00
Magnus Therning 3496f0c1f2 [persp][helm][ivy] project perspective and open dired
Add key bindings to the `SPC p l` persp switch project prompt:
- helm `C-d`
- ivy `d` in the `M-o` actions list

They create a new perspective with the project name
and open a dired buffer at the project root.

The suggestion to also add it to ivy was provided by nixmaniack.
2020-01-19 12:13:46 +01:00
ghost-420 3d39b98e92 [doc] Update Windows section
Suggest official Emacs.
2020-01-14 09:20:56 +01:00
CharlesHD bcc3f1292d [keyboard-layout] Quick Fix of 11954
Commented out broken evil-window :common bindings.

https://github.com/syl20bnr/spacemacs/issues/11954
2020-01-13 13:32:39 +01:00
lipengcheng 591ab10be2 [xclipboard] Add var for custom xclipboard command 2020-01-13 12:47:17 +01:00
Benjamin Hipple d4a27babf6 [nixos] add toggle for company-nixos-options
On some Nix setups, company completion via the Nix repl process can be extremely
slow and hang emacs. This commit adds an option toggle to disable it in the
`nixos` layer. The default behavior is unchanged.

Also updates the comment and license headers to be consistent with other layers.
2020-01-12 11:18:00 +01:00
Mpho Jele 593d4446bf [html] contract statement while staying on beginning of line
Moved cursor to beginning of line after calling:
spacemacs/css-contract-statement (SPC m z c)
2020-01-11 16:20:52 +01:00
Loys Ollivier 96ef7b23a2 [notmuch] rename require to 'ol-notmuch
org has changed its file naming for the notmuch add-on from
org-notmuch to ol-notmuch.
org-mode commit 499c0a50cc4b11e37b91374af23cb27ab8fc20d2.

Fix the require to reflect this change.

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2020-01-09 14:03:33 +01:00
duianto 692cc886b2 Update changelog.develop 2020-01-08 18:26:19 +01:00
duianto d2d5a649ab [java] Add SPC m a prefix name: actionable 2020-01-04 15:50:22 +01:00
duianto 4c7e1954c5 [java] Fix key binding: SPC m m t C-a
SPC m m t C-a was bound to SPC m m t C - a
2020-01-04 15:47:24 +01:00
Ivan Yonchovski 3771759ddb [java][lsp] Minor cleanup in lsp-java
- Fixed setting dap-java shortcuts - ATM the shortcuts were not enabled due to
the fact that dap-mode configuration was overriding them since it was running
after this piece of code
- removed configuration code about lsp-java since it was either about
missing properties or about setting defaults already set by lsp-mode/lsp-java
(e. g. lsp-eldoc-render-all is now nil by default)
2020-01-04 12:27:11 +01:00
William Blasko a337d55102 Add LSP docs for JavasScript to README.org 2020-01-04 09:23:04 +01:00
Ullas Holla 8e66bf36df Add missing apostrophe in DOCUMENTATION.org 2020-01-04 09:01:57 +01:00
Maximilian Wolff 6373bdae6b
Add missing changelog.develop entry 2020-01-02 23:32:31 +01:00
Mpho Jele 488d6916e9
Fix erc-log transient state - change it to be in erc-view-log-mode
With the fix I also added a utility function to open a erc log file/buffer from
a erc chat/channel buffer.
2020-01-02 23:05:12 +01:00
duianto 71d4e15e67 Update changelog.develop 2019-12-28 20:34:38 +01:00
Grant Shangreaux 2e30b9bb09 [rust] remove compilation buffer string match on rust-quick-run 2019-12-28 15:44:42 +01:00
madand 081d8f29d4 [version-control] Use :toggle to avoid installation of unused packages
Usage of the `:if` keyword with `use-package` does not prevent Spacemacs form
installing the package, it only prevents the loading in run-time. This commit
employs the `:toggle` feature of the configuration layer system to prevent the
unneeded packages from being installed in the first place.

This further improves upon 31324f68bb
2019-12-27 17:39:51 +01:00
jr0cket b0d15851d9 add details of restricted functions
Detail how to use the layer variables to make use of restricted functions and
limit their scope to within a layout.
2019-12-26 18:22:53 +01:00
madand 37fdd1ef87 Toggleable hint for the Scrolling Transient State (~SPC N~)
By default the full hint is shown, which is consistent with the behavior before
this commit.
2019-12-25 08:20:50 +01:00
duianto d0d460460c Update changelog.develop
Removed a duplicate line
Added some emphasis around key bindings/commands
Sorted some "Thanks to" names alphabetically
2019-12-24 10:58:25 +01:00
Ilia Kurenkov 629d8bd126 Fix docstring typo 2019-12-24 10:36:24 +01:00
Grant Shangreaux 59976dc688
Fix: broken rust-quick-run command
removing the `lexical-let` caused the intended closure to be invalid. the
filename being compiled was nil when the compilation-finish-function was
run.

this adds a special var to hold the temp file being compiled instead, and
tries to narrow down the compilation-finish-function to only run when the
compilation buffer includes the "rustc -o /tmp" regexp
2019-12-23 14:22:32 +01:00
Mpho Jele 08d19389cc Frame title setting doesn't need to depend on environment (gui/cli)
Enables frame titles in gui emacsclient frames.
2019-12-22 16:52:41 +01:00
Seong Yong-ju 82d4df4b0f
Fix key bindings in Ruby layer 2019-12-21 23:36:36 +01:00
Maximilian Wolff ffccb17426
Revise dart layer
I have:
- Revised the documentation to be more clear about the possible backends
- Simplified the lsp setup code
- Removed redundant loading of company-lsp (is done by lsp-mode already)
- Made lsp the default backend for dart and mentioned that the analyser is
deprecated
2019-12-20 23:56:10 +01:00
duianto 76ce0ac03e
[org] Un-evilify org-present-mode
Because [escape] was bound to evil-evilified-state
after exiting org-present-mode.
2019-12-20 19:06:34 +01:00
duianto c5c1e31675
Fix searching in the helm-find-file actions 2019-12-20 18:53:25 +01:00
duianto 68a2f37670
Fix helm-find-files-edit action `C-c C-e` 2019-12-20 18:39:11 +01:00
Damien Picard 473d019b47 Fix keys not remapped by keyboard-layout
keyboard-layout was broken by commit da80634, which replaced cl by
cl-lib. Some function calls weren’t replaced. There may be old calls
remaining in other layers.
2019-12-18 15:02:42 +01:00
Nikita Leshenko aaa11a6823 Convert `case' to `cl-case' to fix cl-lib related errors
Broken since PR #13059
2019-12-18 12:08:05 +01:00
Maximilian Wolff 153990bbc8
Add doc for `org-table-field-info` 2019-12-16 12:32:42 +01:00
Maximilian Wolff fabbb5bf73
Update changelog and format new code to be more elisp like 2019-12-15 22:27:24 +00:00
Kalle Lindqvist 1095d3b7d3
shell: enable prompt autojump when using smart-eshell 2019-12-15 22:01:41 +00:00
Maximilian Wolff 42d2433fc6
Revise osx layer
Add missing changelog entry
Reformat package file and update some styles according to the current standard
2019-12-15 21:53:18 +00:00
Dominik Schrempf b29f72b43a
Mu4e add 'gu' key binding to go to urls. 2019-12-15 21:46:48 +00:00