Zettlr: [v.1.8.0] Editor frozen after switching to vim mode

Created on 29 Nov 2020  路  2Comments  路  Source: Zettlr/Zettlr

Description

The Editor is frozen after changing to vim mode.

Reproducing

Fresh installation, generate one .md file, type in a few lines, change the Editor to vim mode in settings, then the Editor is frozen and no input is possible. Other menu items still possible.

Platform

  • OS and version: Windows 10
  • Zettlr Version: 1.8.0

Additional information

Tried to delete the files under %USER%\AppData\Roaming\zettlr folder and restart. Same problem.

discussion help wanted

Most helpful comment

Gonna get the discussion of #1415 over here. Here's the short story:

  • I'll be deactivating the VIM mode in the dropdown from 1.8.1 because there's no priority for me in having it.
  • However, I see that a lot of people actually want VIM mode.
  • So here's the deal: If someone wants to tackle the VIM mode, I'll accept a PR that reinstates it's functionality as long as it doesn't degrade the performance and functionality of other components.

In general: I'm more than willing to add features to Zettlr that are made for technical users, but only if they are no-ops for me (e.g. don't require maintenance on my part, that is: are being maintained by someone else).

All 2 comments

Gonna get the discussion of #1415 over here. Here's the short story:

  • I'll be deactivating the VIM mode in the dropdown from 1.8.1 because there's no priority for me in having it.
  • However, I see that a lot of people actually want VIM mode.
  • So here's the deal: If someone wants to tackle the VIM mode, I'll accept a PR that reinstates it's functionality as long as it doesn't degrade the performance and functionality of other components.

In general: I'm more than willing to add features to Zettlr that are made for technical users, but only if they are no-ops for me (e.g. don't require maintenance on my part, that is: are being maintained by someone else).

I think this is a fair and sensible outcome. The target of Zettlr is the non-technical(-but-technical-enough-to-be-using-markdown) user, and Vim keybindings are for more-technical users. And so, this will have to be lower in priority and will have to be maintained by another dev.

I would like to point out, however, that Vim mode isn't only about keybindings and about modal editing, but they also about additional features. For instance, Zettlr don't have a "join lines" feature, which the Vim mode (with [Shift+j]), in effect, adds. (This is very useful for fixing incorrectly split sentences after copy-pasting from a PDF, for example.)

In the meanwhile, if Emacs mode is better maintained at the Codemirror level, then perhaps it will be worthwhile for the more technical users to check out Emacs keybindings.

Was this page helpful?
0 / 5 - 0 ratings