chadcat7 / kodo

a blazingly bad neovim config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kodo

GitHub top language Cool Bloat GitHub code size in bytes GitHub Repo stars

Screenshot1

A bloated neovim configuration that looks good and is fast (startuptime < 0.035s).

Tested on a pretty low end laptop
On Power                              : 0.018s - 0.024s
On Battery                            : 0.024s - 0.032s

Has something like 40+ plugins and but is still fast becuase of holy lazy loading. Should be even faster on good cpus.

Plugins And Features

Plugin Description Lazy
folke/lazy the package manager, better than packer.nvim for newbies false
chadcat7/prism my own plugin written for making fast colorschemes true
nvim-treesitter/nvim-treesitter syntax highlighting, most popular one for neovim true
NvChad/nvim-colorizer.lua highlights colors and is really frickin fast true
kyazdani42/nvim-tree.lua a very neat, simple and clean file tree true
nvim-tree/nvim-web-devicons lua fork of vim devicons true
folke/which-key.nvim shows all the posiible vim keybindings, perfect for dummies true
nvim-telescope/telescope.nvim probably the most popular menu. can be used for a lot of stuff true
akinsho/toggleterm.nvim terminal integration in neovim true
lewis6991/gitsigns.nvim Super fast git decorations implemented purely in Lua. true
lukas-reineke/indent-blankline.nvim super cool for keeping track of code true
williamboman/mason.nvim installing LSPs made super easy true
LnL7/vim-nix nix syntax to make Nix a less of a headache true
kevinhwang91/nvim-ufo folds in neovim arent that bad! actually, better than vscode true
phaazon/hop.nvim move anywhere around the window in 2-3 clicks true
cbochs/grapple.nvim bookmark important files to move to them instantly true
L3MON4D3/LuaSnip very simple and easy to use snippet engine true
simrat39/symbols-outline.nvim a tree like view for symbols via lsp true
goolord/alpha-nvim a very minimal and good looking dashboard true
terrortylor/nvim-comment quik and easy commenting true
folke/todo-comments.nvim beautiful highlights for TODO comments true

And Also...

  • Cached Colorschemes for better speeds!
  • Lazy loading done most of the time to get blazingly moderate startup times.
  • A Minimal Custom Bufferline
  • Cool Looking Custom Statusline
  • Auto Formatting with inbuilt LSP (no plugin! , requires installing the lsp client)

Requirements

  • Neovim >= v0.9
  • ripgrep
  • nodejs and npm
  • a brain (mandatory)
  • xrdb for xresources
  • some xp with lua and neovim

Installation

Warning: You may / may not get a bunch of errors during the first time you run this config
It's really easy , just a simple one liner with git!

~ $ git clone --depth 1 https://github.com/chadcat5207/nvide ~/.config/nvim

Adding mason to path

Warning: This step is important for installing LSP Add this to your shell config

# this is for zsh
export PATH=$PATH:~/.local/share/nvim/mason/bin
~ $ source ~/.zshrc

Custom Colorschemes

Add or remove them in this file

Statusline Styles

Warning: This section contains the worst ever code written There are two prebuilt styles

  • To change the style edit /lua/core/cfg.lua
M.statusstyle = 'minimal' -- minimal | fancy
  • Reload Neovim

Some Points To be Noted

  • This is meant to be a simple base config which can be extended and customised very easily.
  • THIS IS NOT A "DISTRO", just my personal dotfiles that i wanted to share with you guys!
  • This is not for beginners, you need to have some experience wihth lua and neovim.

Showcase

Screenshot1

Screenshot1

Screenshot1

Screenshot1

Screenshot1

Screenshot1

Screenshot1

Screenshot1

Screenshot1

Screenshot1

Screenshot1

Keybinds for my config

Keys Function
CTRL h / j / k / l Moving Window Focus Towards Left/Up/Down/Right
CTRL b Open And Close NvimTree
CTRL f Format Files With Built In Lsp
CTRL \ Open And Close ToggleTerm
LDR t t Open And Close ToggleTerm
z R Open All Folds
z M Close All Folds
z c Close Fold Under Cursor
z o Open Fold Under Cursor

Basic File Operations

Keys Function
LDR q q Exit Neovim
LDR q w Save And Exit Neovim
LDR q s Save File
LDR q f Format File
LDR q x Close Current Buffer

Telescope

Keys Function
LDR f f Basic File Picker
LDR f g Search All Recently Visited Files
LDR f r Search File By String
LDR f c Cooler Colorscheme Picker

Hop

Keys Function
LDR h a Search For Anywhere in the File
LDR h c Search By A Single Character
LDR h C Search By Two Characters
LDR h l Search By Starting Of Line
LDR h v Search Vertically
LDR h w Search By Word

Grapple

Keys Function
LDR G g Show All The Bookmarks
LDR G t Toggle A Boookmark
LDR G a Add A Bookmark
LDR G r Delete A Bookmark

Other

Keys Function
LDR l l Open Lazy Dashboard
LDR l n Open Neogit Buffer
LDR l t Open Trouble List
LDR l m Open Mason Dashboard
LDR l c Show Available Code Actions
LDR l s Open Symbols Outline

Todo

  • better screenshots
  • more, MORE fast (bring back to 15ms) || brought back to 18ms
  • colorscheme caching
  • custom statusline (i am proud)
  • learn markdown bcoz i suck at it
  • fix autoformatting on save
  • make custom tabline
  • fix custom dashboard
  • add some more themes (currently 9)
  • fix custom tabline

Special Thanks

This config wouldn't have been possible without these chads!