Skip to content

Make :q close the current buffer, or all of Neovim if the current buffer is the last one.

Notifications You must be signed in to change notification settings

Dillonb/betterquit.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

betterquit.nvim

Make :q close the current buffer, or all of Neovim if the current buffer is the last one.

:q will also close all of Neovim if the only remaining buffers are not being used for editing text (i.e. a quickfix list, or from a plugin.)

The behavior of :q! is unchanged.

That's it.

Installation (with Lazy.nvim)

    {
      'Dillonb/betterquit.nvim',
      init = function()
        require("betterquit").setup{}
      end,
    }

About

Make :q close the current buffer, or all of Neovim if the current buffer is the last one.

Topics

Resources

Stars

Watchers

Forks

Languages