0xf4z/nvim

★ 0Forks 0NixGitHub ↗Compare

README

nvim dots

nvf based neovim config. (Mostly) intended for personal use. nvf based neovim config. .

Run

Load all languages and some optional plugins:

nix run .#maximal

For the minimal config:

nix run .#minimal
Enabled languages
  • Bash*
  • Nix*
  • Markdown**
  • Rust
  • TypeScript

*Runs without maximal enabled.

**Only treesitter, no LSP (without maximal).

Plugins

Always enabled:

Name Function
nord.nvim Colorscheme
mini.nvim Cmdline, completion, files, notify, snippets, and surround
telescope.nvim Fuzzy finding
alpha-nvim Dashboard
friendly-snippets Snippet collection
gitsigns.nvim Git signs
indent-blankline.nvim Indent guides
lualine.nvim Statusline and tabline
nvim-autopairs Automatic bracket pairs
nvim-colorizer.lua Colour highlighting
nvim-lspconfig Language server configuration
nvim-treesitter Syntax parsing and highlighting

Enabled only when maximal:

Name Function
live-preview.nvim Markdown/HTML preview
typst-preview.nvim Typst preview
txm.nvim LaTeX preview
Keybinds
Mode Keybind Action
Normal <leader>] Jump to next buffer
Normal <leader>[ Jump to previous buffer
Normal <leader>f Format Local buffer
Visual <leader>tx TXM preview
Normal <leader>tt TXM toggle
Normal <leader>po Live preview open
Normal <leader>pc Live preview close
Normal <leader>pp Live preview pick
Normal <leader>u Toggle built-in undotree
Normal <leader>re Restart config :restart
Normal <C-s> Save buffer
Normal <C-p> Telescope find files
Normal <C-g> Telescope live grep
Normal gd Go to definition
Normal df Show line diagnostics
Normal cc Comment line
Visual cc Comment selection
Visual J Move lines down in visual selection
Visual K Move lines up in visual selection
Visual > Indent and keep selection
Visual < Unindent and keep selection
Normal Y Yank to end of line
Visual Y Yank selection to system clipboard
Normal n Next search result cursor centered
Normal N Previous search result cursor centered
Normal - Toggle mini file explorer
Normal Q Disable Q
Normal <Esc> Clear search highlighting

Contributors

0xf4z

Issues