Commit Graph

63 Commits

Author SHA1 Message Date
Daniel Nicolai 264a8ffc20
refactor: improve pdf-tools selection (PR #15740) (#15762) 2022-10-05 21:45:40 +00:00
Daniel Nicolai 9cdf97f87e
Fix PR #15736 (#15740) 2022-09-16 02:38:49 -04:00
Daniel Nicolai 438fceea88 Fix cumbersome pdf-tools selection behavior
Currently, due to evil entering visual state, the selection behavior in
pdf-tools is different from and more cumbersome than in vanilla Emacs (see
https://github.com/emacs-evil/evil/issues/1671).

This commit prevents evil from entering evil-state in pdf-mode and moves the
(only) visual-state yank binding to the evilified-map.

It doesn't look pretty, but it is working much better than before.
2022-09-15 16:40:24 +02:00
Lin Sun 5a715c85c2 [pdf] Evilify the pdf-outline-buffer-mode-map after its mode be loaded 2022-06-08 16:33:10 +02:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
Daniel Nicolai f4b04bcf22 Add obsoletion notification evilified-state-evilify 2022-05-29 14:05:07 +02:00
Daniel Nicolai 25674b7768
Fix tab key functionality in pdf outline mode (#15345) 2022-02-14 09:33:48 -05:00
Lucius Hu fd652fae0c
update spacemacs/declare-prefix usages (#15278)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:11 +00:00
Daniel Nicolai bbd40f113f
Add C-o and C-i keybindings to evil-evilified-state-map (and remove from pdf-view-mode-map)
C-o and C-i are standard vim keybindings to jump back/forward between previous
locations. It is annoying and unnecessary that evilified buffers break that
flow, therefore these keybindings should be added to the
`evil-evilified-state-map` so that they are available automatically in all
evilified keymaps/modes. I assume that by just adding them to the map, all
required remappings will automatically be taken car of by the
`evilified-state-evilify-map` macro (anyway, it seems to work fine).
2022-01-08 03:54:30 +00:00
Daniel Nicolai 3883d1b195 Add pdf occur follow mode spacemacs binding
Follow mode in the pdf-occur buffer is very handy, and deserves specific
Spacemacs keybinding (mainly for discoverability/documentation, as its name
`next-error-follow-minor-mode`, putting it mildly, is not very intuitive)
2021-12-07 17:37:38 +01:00
JAremko 500335a2c2 fix links 2021-11-04 20:36:23 +02:00
SpacemacsBot 663cfc5ba7 [bot] "documentation_updates" Sat Sep 11 22:58:39 UTC 2021 2021-09-12 02:11:16 +03:00
Eugene Yaremenko 7f00715b14
[docs] fix link 2021-09-12 01:57:22 +03:00
Maxi Wolff 7f43d9cf6d
[djvu] Fix docs and prefixes
also removed layer dependency on evil
2021-09-11 22:02:54 +02:00
Daniel Nicolai 5ce60dfdf7
Add djvu layer
Update layers/+readers/djvu/packages.el

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>

Update layers/+readers/djvu/config.el
2021-09-11 21:28:34 +02:00
Daniel Nicolai 3875f7a2fd Change show-all keybinding to outline-cycle-buffer in pdf layer
Emacs 28 adds the outline-cycle-buffer feature. Currently there is no keybinding
to fold the outline of a pdf. So let's replace show-all by it for >= Emacs 28,
because it is easier to remember a single keybinding for folding and unfolding
then having separate bindings for those.
2021-08-16 17:23:25 +02:00
HanshenWang a47b4a4672
[pdf] Update pdf-layer documentation (#14791) (#14792) 2021-05-22 17:40:53 +00:00
Maximilian Wolff 564f41be91 [pocket] Change tag from reader to web service
As it is just an interface to an online service
rather than an application able to read from
local files.
2021-04-05 20:46:42 +00:00
Aaron L. Zeng ac5fc0ac19 [pocket] Add pocket layer 2021-04-05 20:38:09 +00:00
Lucius Hu 5c9d88313f dash: refactor
- Replaced `(when (not foo) bar)` with `(unless foo bar)`
2021-04-04 12:48:21 +02:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
emacspace 13791616c7
[bot] Auto-update (#14398)
* documentation formatting: Sat Mar 13 23:53:10 UTC 2021

* Built-in files auto-update: Sat Mar 13 23:51:34 UTC 2021
2021-03-14 00:57:56 +01:00
Maximilian Wolff c4ed6b5d0a
[pdf] defer loading of pdf-view-restore 2021-03-14 00:46:14 +01:00
Daniel Nicolai c7044145ff Add pdf-view-restore to pdf layer
pdf-view-restore implements a solution for pdf-tools to remember and open at the
last viewed page of a document
2021-03-14 00:40:03 +01:00
emacspace d545dcbdbe documentation formatting: Wed Dec 30 21:04:48 UTC 2020 2020-12-30 23:41:14 +01:00
Daniel Nicolai 0174002ebf Add evil consistent navigate history keybindings to pdf-layer 2020-12-18 23:56:32 +01:00
Daniel Nicolai ad4ee80e56 Add convenient scroll keybindings to epub layer
Similar to the keybindings added to the info layer in PR #14188, I here propose to add the same
keybindings to the epub layer. These J/K keybindings are currently undefined in the epub
layer. These keybindings are used in the Zathura document reader, they are very
convenient and I guess they feel very natural and are preferred over d/u by most people.
2020-12-18 23:40:58 +01:00
madand 278db6a11f [pdf] ~?~ toggles transient sate documentation hint (shown by default)
Backwards compatible by showing the docs by default. Allows to reclaim the
precious display space for viewing the actual PDF.
2020-11-12 22:37:36 +01:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
John Practicalli Stevenson 92c010a207 [applications] refactor key bindings to layer categories
refactor key bindings for applications to provide additional room for
applications and use lower case characters.

Move calc-dispatch to `SPC a *`

Relates to #13503
2020-07-02 23:43:19 +02:00
Daniel Nicolai 1f6e39ea8a
[pdf] Add pdf-mode keybindings to scroll through history 2020-04-21 20:50:21 +02:00
Maximilian Wolff 87ba29760a
[dash] Fix wrong keybindings in README 2020-04-17 23:43:42 +02:00
Maximilian Wolff c191f06235
[dash] Move bindings from SPC d to SPC a z to avoid key conflicts
Debug bindings are now added to the global binding of SPC d therefore
dash had to move to the standard application bindings.
2020-04-16 21:55:37 +02:00
emacspace 546f626be9
documentation formatting: Sat Feb 22 10:39:46 UTC 2020 2020-02-22 11:44:35 +01:00
duianto b2f2952848
[pdf] Fix pdf-view-jump-to-register
pdf-view-mode being evilified caused:
' (single quote) to be bound to: image-scroll-up
2020-02-20 23:03:38 +01:00
Bruno Morais 3d597d8ccc
[deft] Added zetteldeft support 2020-02-13 18:26:38 +00:00
Brian Wignall 4df6c9035f
Fix typos 2019-12-05 22:23:04 +01:00
duianto 9f16032f69
Update transient state wording, etc.
- Removed the word `Manipulation` from the transient state titles:
  - Buffer Manipulation Transient State and Window Manipulation TS
  - Expanded the TS abbreviation to Transient State
- Documented the Buffer Transient State key binding:
  `q` to quit the transient state
- Capitalized `Transient State` in the titles
- Window Transient State:
  - Added a line break after the title in the folded hint.
    This allows for more keys to be visible horizontally.
  - Moved up the [?] help key after the title, so that
    it's in the same place in both the folded and full
    transient state.
2019-11-23 23:12:37 +01:00
Miciah Masters 97ba556142 Various documentation copy-edits
Follow up the changes in the previous commit with some minor improvements
to formatting, grammar, spelling, and wording.

* layers/+distributions/spacemacs-docker/README.org: Replace "+" with
"and".
* layers/+email/mu4e/README.org: Use full sentences in the comments in the
mu4e-alert example.
* layers/+intl/japanese/README.org: Use verbatim markers for names of
files, functions, packages, and variables.  Capitalize "Linux".
* layers/+os/osx/README.org: Capitalize "Emacs", "Vim", and "Evil".
* layers/+os/osx/config.el (osx-command-as, osx-use-dictionary-app):
* layers/+os/osx/keybindings.el (spacemacs/system-is-mac): Improve
docstrings.
* layers/+readers/dash/README.org: Capitalize "API", "Helm", and "Ivy".
* layers/+spacemacs/spacemacs-defaults/config.el
(delete-by-moving-to-trash): Use full sentences in comment.
* layers/+spacemacs/spacemacs-defaults/funcs.el
(spacemacs/toggle-frame-fullscreen-non-native): Improve docstrings.
2019-10-13 12:04:59 +02:00
Miciah Masters 552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
Bryan Gilbert 42e2684a5e Update dash layer to reflect dash-docs merge 2019-09-17 20:02:49 +02:00
smile13241324 d0a1158e38 Revise elfeed layer
Moved dependency checks from the init functions to
the package initialisation.

Added documentation for the new `elfeed-enable-goodies`
variable and changed the default to `t`.
2019-09-16 19:52:35 +02:00
Benjamin Signneau beadb3488d Add a variable to disable elfeed-goodies 2019-09-16 18:44:32 +02:00
emacspace d8defccf7a documentation formatting: Wed Jul 3 08:44:16 UTC 2019 2019-07-03 11:49:45 +03:00
Benjamin Hipple 2bef3f67e0 dash: provide config option to skip auto-load of all docsets
In the upstream dash-docs and helm-dash documentation, they suggest a workflow
where users leave relatively little in `dash-common-docsets`, and instead add
per-mode hooks to enable specific docsets, since a user is unlikely to want
Python documentation while in a C++ buffer and vice versa. Currently, the
spacemacs dash layer will automatically discover all installed docsets and add
them to `dash-common-docsets`.

This commit adds a config option `dash-autoload-common-docsets` that can be set
to nil to skip the auto-loading and allow users to opt-in.

Co-Authored-By: duianto <otnaiud@gmail.com>
2019-07-01 21:42:25 +02:00
duianto 3868a5364f [doc] Fix typos and add missing/remove extra ~
Add missing ~ (tilde) around key bindings.
Remove an extra ~.
2019-06-01 20:40:22 +02:00
madand a281e6979f Fix dash//activate-package-docsets when using counsel-dash
When counsel-dash is installed, but helm-dash isn't, startup error
(void-function dash-docs-installed-docsets) will be triggered.

Since common functionality of both counsel-dash and helm-dash was refactored
into dash-docs, a standalone package, the layer code was updated to use the
variables and functions from that package. This also fixed the mentioned error.
2019-05-31 12:11:33 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
JAremko 1554873414 fix links 2019-05-18 13:25:44 +03:00