Skip to content

mei28/qfc.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qfc.nvim

qfc

qfc.nvim is a Neovim plugin that automatically manages Quickfix windows. It closes the Quickfix window after a specified timeout when the window loses focus and deletes the buffer.

Features

  • Automatically closes the Quickfix window a specified time after it loses focus.
  • Deletes the Quickfix buffer after closing the window.
  • Retains the plugin state between Neovim sessions.

Installation

{
  'mei28/qfc.nvim',
  config = function()
    require('qfc').setup({
      timeout = 3000,   -- Timeout setting in milliseconds
      enabled = true, -- Enable/disable autoclose feature
    }),
   -- ft = 'qf', -- for lazy load
   -- cmd = {'QFC'} -- for lazy load 
  end
}

Configuration

require('qfc').setup({
  timeout = 2000,   -- Timeout setting in milliseconds
  enabled = true, -- Enable/disable autoclose feature

})

Configuration Options

  • timeout: Specifies the timeout in milliseconds after which the Quickfix window will be automatically closed once it loses focus.
  • enabled: Enables or disables the plugin. Set to true to enable or false to disable.

Commands

  • :QFC enable Enables the Quickfix autoclose feature.
  • :QFC disable Disables the Quickfix autoclose feature.
  • :QFC toggle toggle the Quickfix autoclose feature.

License

MIT

About

⏲️ Auto close quickfix by timer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages