Skip to content

Releases: kopsha/vim-saver

Reduced events

Choose a tag to compare

@kopsha kopsha released this 01 Oct 14:49

Fewer events are always better.

Fine tuning debounce timers

Choose a tag to compare

@kopsha kopsha released this 16 Sep 06:22

What's new

Finetuning the debounce periods, to allow a more continuous flow, yet still triggering buffer saves if needed.

1.1.3

Choose a tag to compare

@kopsha kopsha released this 13 Sep 23:04

What's new

  • Enhanced Buffer Handling: Improved accuracy in buffer properties check ensuring more reliable auto-saving behaviour.
  • Toggle Feedback: Improved the toggle mechanism to give more intuitive feedback to users about the activation/deactivation status.
  • Simplified configuration: There is no need to specify a list of ignored file types.
  • Timer Management: Enhanced timer checks for more robust event handling.

What's fixed

  • Fixed an issue where the plugin might not refer to the correct buffer properties in certain situations.

Save before leaving

Choose a tag to compare

@kopsha kopsha released this 11 Sep 14:49

Version 1.1.2

The second release of the vim-saver plugin

Features

  • Auto-save functionality on buffer leave event.
  • Added command :SaverToggle to manually toggle auto-save on and off.
  • Lua API for configuration:
    • setup(params): To customize the configuration.
    • toggle(): For programmatic toggle.

VimSaver the first

Choose a tag to compare

@kopsha kopsha released this 10 Sep 13:27

Overview

We're thrilled to introduce the first major release of the Vim Saver, the Neovim plugin that has your back by auto-saving your work. Say goodbye to the distress of lost edits after unexpected disruptions!

Highlights

  • Auto-Save on Change: Vim Saver now auto-saves your work upon leaving insert mode or when text changes are detected.
  • Customizable Delay: We've introduced a default delay of 1250 milliseconds before the save operation, which you can customize based on your preferences.
  • Selective exclude: Say no to unwanted auto-saves on certain file types. We've added a default list of file types (like netrw, startify, and more) to exclude from auto-save. Need more control? You can always go ahead and extend this list based on your needs.
  • Elegant Notification: Get a subtle, timely notification confirming the save, styled in a muted tone so it's gentle on the eyes.

What's new

  • Documentation: Comprehensive documentation has been added, including a README and Vim's native :help format.
  • Configuration: An improved configuration method using the setup() function to offer more control over how Vim Saver behaves.
  • Improved Performance: Under-the-hood tweaks have been made to ensure efficient use of timers and prevent redundant save operations.

Special Thanks

A massive shout-out to the Vim and Neovim community for their invaluable feedback during the development phase. Special thanks to users who contributed to the code, raised issues or gave suggestions.