Twitter Email
subspace (/ˈsʌbspɛɪs/)
A Jekyll playground site

Force-Quit function

Author: Alex
Title: Neovim Force Quit function
Language: en-US
Number of words: 80
Created: 11:04 on Thursday, 29. December 2022
Modified: 11:04 on Thursday, 29. December 2022
Keywords: neovim, lua
Excerpt:

A small function to force-quit neovim. Will check for modified buffers and, if any are found, present the user a choice to save or discard all modified files. The script works best with the Dressing Plugin.

Tags: neovim
Page layout: no_sidebar
Last modified: , 80 Words
11:04 on Thursday, 29. December 2022 | by Alex in Neovim

Table of Contents 

A small function to quit Neovim, checking for modified buffers and presenting a choice how to handle them. Basically a Save/Discard/Cancel thing with a neat UI when the Dressing Plugin is installed.

Hosted on GitLab.

neovim