Skip to content

OXY2DEV/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 OXY2DEV's setup for Android & MacOS

Preview image

A general-purpose setup for Neovim.

📦 What's included?

  • Single file scripts that extends Neovim's feature,

    • color_sync.lua, Syncs Neovim's colorscheme with the terminal's colorscheme.
    • diagnostics.lua, Fancy diagnostics hover.
    • lsp_hover.lua, Fancy LSP hover window.
    • quickfix.lua, Fancy editable quickfix window with tree-sitter syntax highlighting.
    • highlights.lua, Dynamic highlight groups for your custom stuffs without needing to worry about colorscheme support!
    • tree.lua, Custom version of :InspectTree with some extra features.
    • beacon.lua, Beacon for Neovim(animated position indicator).
    • ts_regen.lua, Updates tree-sitter CLI's config to match Neovim's colorscheme(via :TSRegen).
  • Custom tree-sitter parsers,

  • Spell files with common words.

  • Completion setup for nvim-cmp & blink.cmp.

  • LSP setup for various languages(e.g. Lua, Javascript, Python etc.)

  • Multiple colorscheme setup.

  • Various QOL plugins,

    • OXY2DEV/bars.nvim, Per window custom Statusline, Statuscolumn, Winbar & Tabline.
    • OXY2DEV/helpview.nvim, Fancy vim help files previewer.
    • OXY2DEV/markview.nvim, Fancy Markdown, Inline HTML, Latex, Typst, YAML previewer.
    • OXY2DEV/patterns.nvim, Fancy Lua patterns & Regex explainer with LSP-style hover support!
    • OXY2DEV/foldtext.nvim, Fancy foldtext.
    • OXY2DEV/icons.nvim, Custom icon set.
    • OXY2DEV/ui.nvim, Fancy Cmdline, Pop-up menu & Messages.

✨ Usage

If you have used nvim before, backup your old files!

mkdir ~/nvim.backup

mv ~/.config/nvim ~/nvim.backup/config
mv ~/.local/share/nvim ~/nvim.backup/share
mv ~/.local/state/nvim ~/nvim.backup/state

Tip

Alternatively, you can use NVIM_APPNAME variable.

For example, if you cloned the repo to ~/.config/new_vim then you can set the app name to new_vim.


Clone the repository to your machine(use any 1 of those commands),

git clone https://github.com/OXY2DEV/nvim.git
# git clone git@github.com:OXY2DEV/nvim.git
# gh repo clone OXY2DEV/nvim

Run nvim,

nvim

Everything else should be installed automatically and you should be good to go!

🌋 Gallery

Main demo

Custom quickfix(with diagnostic hover), markdown preview, custom statuscolumn/statusline/foldtext.

Demo 2

Custom LSP hover, tree-sitter node hierarchy, different foldtext based on fold method(markers & expression).

Demo 3

Decorated help files, custom message window(output of :ls!).

Demo 4

Completion(via blink.cmp) with documentation window(with markdown preview).

Demo 5

Custom UI for the cmdline, popup menu & messages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published