Skip to content

Releases: RyotaUshio/obsidian-pdf-plus

0.40.4

04 Jun 03:15
Compare
Choose a tag to compare
  • Vim: Fixed the issue that f and :hint did not work with the default setting. Now you will be able to enter the hint mode by f/:hint as expected!
  • Vim: Added a visual mode command o to swap the start and end of the current text selection.

Full Changelog: 0.40.3...0.40.4

0.40.3

03 Jun 12:37
Compare
Choose a tag to compare
  • Fixed #212.
  • Vim keybindings: Added gn/gN for selecting search matches. It will, in theory, allow us to go through the entire annotation workflow without touching the mouse (in practice some mouse operation will be still helpful though).
  • Vim keybindings: If some text is selected before initiating a search by //?, pressing Enter will no longer clear the previous selection, but instead, now it will extend the previous selection to the first character of the first search match, just like in the real Vim.

Full Changelog: 0.40.2...0.40.3

0.40.2

01 Jun 02:25
Compare
Choose a tag to compare

(Sorry for the updates being too frequent!)

Fixed the color of the "VIM" icon in the PDF++ setting header.

Full Changelog: 0.40.1...0.40.2

0.40.1

01 Jun 02:15
Compare
Choose a tag to compare

A bunch of updates for Vim keybindings. See the corresponding section in the PDF++ settings.

New features

  • Experimental Vimrc support!
  • Added a new "Hint" mode, inspired by Tridactyl. In this mode, you can perform certain actions on links, annotations, and backlink highlighting in the current PDF page without using the mouse.
    • For example, first press f (or run :hint) to enter the hint mode, and if the link you want to open gets marked with "HK", then hit h and then k (without Shift) to open it.

Improvements

  • Command-line mode improvements:
    • Add many ex commands :map, :noremap, :unmap, :js, :jsfile, :obcommand, :hint, and others.
    • On desktop, you can now execute shell commands from within the command-line mode by :!<command>. Also added an option for setting the PATH environment variable to facilitate command path resolution.
    • :help improvement. For example, try running :help :goto or :help :hint.
    • Added command line history. Use Arrow down/up to navigate through it.
    • Use Tab/Shift+Tab to navigate through command suggestions.
    • Use <C-u> to clear the command line and <C-w> to delete the last word in the command line.
  • Added new keybinds <C-f>/<C-b>/<C-u>/<C-d> for scrolling.
  • Added new options "Increase scroll size when zoomed in" and "Smooth motion in outline mode".

Fixed

  • In Outline mode, pressing Enter did not record the tab history even if the "Record to history when clicking an outline item" option is enabled.

Full Changelog: 0.40.0...0.40.1

0.40.0

29 May 14:11
Compare
Choose a tag to compare

Vim mode has been completely rewritten!

Note that it is disabled by default, and you need to manually enable it to start using it. For the details, see the corresponding section near the bottom of the PDF++ setting tab.

  • Now it has four different modes: normal/visual/outline/command-line(experimental)
    • Normal mode is the default, and you can always come back to it by Escape/Ctrl+[/Ctrl+C.
    • (can be disabled in settings) You will enter Visual mode by selection some text, and it allows you to modify the selection using motion keys (e.g. j, h, w) and also helps you make fine adjustment to text selections.
    • (can be disabled in settings) You will enter Outline mode it by opening the PDF outline view in the sidebar (you can use Tab to do it), which enables you to navigate through the PDF outline view using the arrow keys and j/k/h/l/H/L keys. This mode will be beneficial for everyone.
    • The : key will take you to Command-line mode, where you can execute some "ex-commands" such as :help - currently, there aren't so much useful ones, but it will be eventually improved.
  • Many commands can be combined with a preceding count - see the instructions in the settings for more details.
  • Many new commands & improvements!

Full Changelog: 0.39.26...0.40.0

0.39.26

24 May 11:57
Compare
Choose a tag to compare

Added a description about the y Vim keybinding to the setting tab, which was missing until the last version. There is no change in terms of functionality.

Full Changelog: 0.39.25...0.39.26

0.39.25

24 May 11:06
Compare
Choose a tag to compare

Vim-related changes follow later in this release note.

New feature

  • #203: Added a new option "Default sidebar view". It allows you to set the outline view (table of contents) as the default mode of the sidebar.

Improvements

  • You can now configure whether Ctrl/Cmd is required to display a popover preview for each of the following types of targets: backlink highlighting, PDF internal links, PDF citation links, PDF external links, PDF outline views, and PDF thumbnails. Head to the Page Preview core plugin's setting.
  • #176: The "Extract & copy annotations in this PDF" command now follows the document order even when handling double-column layout PDFs.
  • Bibliography popover for citation links: If the bibliograpy extraction or parsing is completed after a popover DOM is displayed, the DOM will be automatically re-rendered and there is no need to hover over the link again.
  • Dropdown menus in the PDF toolbar are now a little bit easier to use.

Bugfixes

  • Fixed the annotation popups' unexpected behavior when hovering over multiple annotations in a short period of time.
  • Fixed the "Hoverable dropdown menus" option and thumbnail popover previews not working in popout windows.
  • Fixed Escape causing an error if PDF++ got enabled when some PDFs were already opened.
  • Fixed the order of author names in bibliography popovers.
  • Fixed annotation post-processors being registered multiple times, which will fix some weird behavior when hovering over annotations and improve the performance.

Vim keybindings (#119)

  • Vim mode now has a dedicated section in the PDF++ settings.
  • j/k/h/l now scrolls the page rather than going to another page.
    • Some related options have been added.
    • You can use J/K/H/L to go to the next/previous page.
  • Now you can use //? to search forward/backward.
    • After initiating a search, use n/N to go to the next/previous match.
    • Some related options have been added.
  • Now the Vim bindings are cleared when PDF++ gets disabled.
  • Fixed (probably) the problem where the + (zoom in) & = (reset zoom) commands cannot be triggered by non-US keyboards.
  • Fixed Vim keybinds making the search bar unusable in popout windows.

Full Changelog: 0.39.24...0.39.25

0.39.24

12 May 06:19
Compare
Choose a tag to compare
  • New feature: Added a new option "If an annotation has a comment, show the annotation popup on hover" (#195). It's enabled by default.
  • Fixed some unexpected behavior of the context menus.
  • Updated dependencies (#193).

Full Changelog: 0.39.23...0.39.24

0.39.23

28 Apr 16:00
Compare
Choose a tag to compare

Fixed #181.

Full Changelog: 0.39.22...0.39.23

0.39.22

24 Apr 14:11
Compare
Choose a tag to compare

#173: Excluded Korean characters from the target of the option Remove half-width whitespace between two CJK characters when copying text, and renamed the option accordingly.

Full Changelog: 0.39.21...0.39.22