Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

nyngwang/NeoClear.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

NeoClear.lua

deprecated: the upstream problem has been fixed: neovim/neovim#14977.

Save you from both:

DEMO

NeoClear.lua.mov

Features

  • Only one command, since this is a temporary patch.
  • Can be run on "un-saved" buffer without error(as silent!)
    • but you need to leave your buffer unmodified(save or undo, like the DEMO) before running NeoClear to solve the first problem.
  • Leave window-view intact after run.

Usage

NeoClear

example

vim.keymap.set('n', '<C-C>', function()
  vim.cmd('NeoClear')
end, { noremap = true, silent = true, nowait = true })

About

save you from the "what the hell?" moment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages