Skip to content

kylechui/config.nvim

Repository files navigation

config.nvim

My Lua configuration for Neovim on Linux (some features work on Windows). I mainly use this setup for taking notes and doing homework in LaTeX, as well as light programming in Lua, OCaml, etc. Obligatory link to Castel's blog.

Screenshot

nvim nvim

Dependencies

Setup

I use lazy.nvim to manage all of my packages. The general hierarchy for how things are configured is as follows:

after
└── ftplugin
    └── ...
queries
└── ...
lua
├── autocommands.lua
├── keymaps.lua
├── settings.lua
├── utils.lua
└── plugins
    └── ...
└── luasnippets
    └── ...
  • ftplugin/ -- Stores various settings for specific file types
  • queries/ -- Some scheme files for Tree-sitter parsing that define swappable groups, stored in [fileType]/textobjects.scm
  • autocommands.lua -- Defines a few useful autocommands
  • keymaps.lua -- Stores various key maps
  • settings.lua -- General settings and options
  • utils.lua -- Some helper functions
  • plugins/ -- A folder full of the configurations needed for each individual plugin
  • luasnippets/ -- My snippets configuration for each language I use, stored in the form luasnippets/[fileType].lua

About

A remote backup for my Neovim config. Written with ❤️ in Lua.

Topics

Resources

License

Stars

Watchers

Forks