Skip to content

A Neovim plugin that automatically hides line numbers when entering terminal mode and restores them when leaving.

Notifications You must be signed in to change notification settings

Sayyidalijufri/termlinehide.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

TermLineHide.nvim

A Neovim plugin that automatically hides line numbers when entering terminal mode and restores them when leaving.

Features

  • Automatically hides line numbers in terminal buffers
  • Restores line numbers when leaving terminal mode
  • Configurable exceptions
  • Toggle functionality

Installation

Using packer.nvim:

use {
    'Sayyidalijufri/termlinehide.nvim',
    config = function()
        require('termlinehide').setup({
            enabled = true,
            exceptions = {}
        })
    end
}

Using lazy.nvim:

{
    'Sayyidalijufri/termlinehide.nvim',
    opts = {
        enabled = true,
        exceptions = {}
    }
}

Configuration

luaCopyrequire('termlinehide').setup({
    -- Default configuration
    enabled = true,
    exceptions = {} -- Add buffer types where line numbers should remain visible
})

Commands

:TermLineHideToggle - Toggle the plugin on/off

About

A Neovim plugin that automatically hides line numbers when entering terminal mode and restores them when leaving.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages