Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

SomesOver/accidentslipt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

accidentslipt.nvim

2024-02-22_12-43-34.mp4

configurable window separtor

Motivation

Currently in Neovim, we can not make the active window distinguishable via the window separator. This plugin will color the border of active window, like what tmux does for its different panes.

Requirements

Install

Using a plugin manager

Using vim-plug:

Plug 'SomesOver/accidentslipt'

Using Packer.nvim:

use {
    "SomesOver/accidentslipt",
    config = function ()
        require('accidentslipt').setup()
    end
}

Using lazy.nvim

{
  "SomesOver/accidentslipt",
  config = true,
  event = { "WinNew" },
}

Default configuration

require("accidentslipt").setup({
  -- highlight for Window separator
  hi = {
    bg = "#16161E",
    fg = "#1F3442",
  },
  -- This plugin will not be activated for filetype in the following table.
  no_exec_files = { "packer", "TelescopePrompt", "mason", "CompetiTest", "NvimTree" },
  -- Symbols for separator lines, the order: horizontal, vertical, top left, top right, bottom left, bottom right.
  symbols = { "", "", "", "", "", "" },
  anchor = {
	left = { height = 1, x = -1, y = -1 },
	right = { height = 1, x = -1, y = 0 },
	up = { width = 0, x = -1, y = 0 },
    bottom = { width = 0, x = 1, y = 0 },
 },
})

License

This plugin is released under the MIT License.

accidentslipt

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages