Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

More Vim Options

A topic by Tanaka created Oct 23, 2022 Views: 119 Replies: 1
Viewing posts 1 to 2

I would like to know whether or not you can add more vim integration into command mode.  Things like :wq for saving and closing.  :set spell and :z= for enabling/disabling  spell check and correcting the spell mistake without using the cursor. As well as g; to go back to the line where you last wrote. 

(+1)

The current vim implementation will probably not be getting any (significant) updates, though some commands are probably possible.

  • :wq will probably not be added, since Deepdwn doesn’t (currently) have a concept of closing a document
  • set spell maybe be possible. Do you often toggle spelling on and off?
  • :z= Maaaaaybe, but probably not, as it would require a new interface for spelling suggestions, since the current mouse menu wouldn’t be appropriate.
  • g; Would be great, but Deepdwn doesn’t track non-editing changes currently, so it wouldn’t be possible without significant work.

So the bad news is:

The existing bindings, despite their limitations, are very complex and somewhat fragile. As part of a larger upgrade in progress, the current vim bindings will need to be rebuilt and/or replaced.

I’ll be reassessing the vim functionality at that time. Ideally, I’d like to maintain the current functionality, but there’s also a chance that Vim mode would be dropped, and only available in older Deepdwn versions.

I think it’s safe to say that the majority of Deepdwn users do not use Vim mode at all, so it’s hard to pour effort into it that will only benefit a few people.