Skip to content
Proyek

Tentang

A very fast Lua based Neovim configuration that uses native LSP for intellisense

Alat pengembangan

Cara angka ini diukur

Yang dapat Anda lakukan

  • Fast Completion: Uses Blink.cmp with Rust-based fuzzy matching for blazing fast completions
  • LSP Integration: Native Neovim LSP with Mason for easy language server management
  • Smart Formatting: Auto-format on save with Conform.nvim, using oxfmt (oxc) for web languages
  • Git Integration: Gitsigns for inline git blame, diff viewing, and hunk management

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

quick.nvim

A very fast Lua based Neovim configuration that uses native LSP for intellisense.

Launch time: ~60ms

What is this?

This is a configuration for Neovim. It's written in Lua, and uses modern plugins like Treesitter, Telescope, and Blink for completion. It uses the native Neovim LSP with Mason for managing language servers. It's very fast, minimal, and focused on essential features for productive coding.

Key Features

  • Fast Completion: Uses Blink.cmp with Rust-based fuzzy matching for blazing fast completions
  • LSP Integration: Native Neovim LSP with Mason for easy language server management
  • Smart Formatting: Auto-format on save with Conform.nvim, using oxfmt (oxc) for web languages
  • Git Integration: Gitsigns for inline git blame, diff viewing, and hunk management
  • Fuzzy Finding: Telescope with Ivy theme for finding files, grepping, and more
  • Smart Editing: Auto-pairs, auto-tags, context-aware commenting, and surround operations
  • File Navigation: Oil.nvim for buffer-like file exploration
  • Tmux Integration: Seamless navigation between Neovim splits and tmux panes
  • Minimal UI: Clean interface with Which-key for discoverable keybindings

Plugins

Prerequisites

Recommended terminal setup

Ghostty - A fast, feature-rich, and cross-platform terminal emulator

Setup quick.nvim

1. Download configuration

Clone repository

If you want to receive updates as this configuration gets patched, then clone this repository into your .config directory, or wherever you keep your current Neovim configuration.

git clone https://github.com/albingroen/quick.nvim.git

Releases

On the other hand, if you want a raw folder with the configuration files, without git connected to it, you can head over to the releases page, and download a release from there.

https://github.com/albingroen/quick.nvim/releases

2. Install plugins

Plugins are managed by Neovim's built-in vim.pack. They are downloaded and installed automatically the first time you launch Neovim with this configuration:

nvim ~/.config/nvim/init.lua

To update plugins later, run :lua vim.pack.update().

3. Install LSP servers, formatters and linters

You can install language servers, formatters, and linters by running :Mason. Here are the recommended installations:

Language Servers

These are the language servers I use. Obviously, feel free to install whichever ones you want.

  • lua-language-server (lua_ls)
  • typescript-language-server (ts_ls)
  • pyright (Python)
  • oxlint (oxc, JavaScript/TypeScript linting)
  • stylelint-lsp (stylelint_lsp)
  • tailwindcss-language-server (tailwindcss)

Formatters

  • oxfmt (JavaScript/TypeScript/JSON/CSS/GraphQL/Svelte/HTML)
  • djlint (HTML)
  • stylua (Lua)
  • black (Python)

Key Mappings

Leader key is set to Space.

General

  • <C-S> - Start search and replace
  • <C-h/j/k/l> - Navigate between splits (also works across tmux panes)

File Navigation

  • - - Open Oil file explorer (parent directory)
  • <Space>f - Find files (Telescope)
  • <Space>s - Live grep (search text in files)
  • <Space>w - Grep word under cursor
  • <Space>b - Show buffers
  • <Space>c - Resume last Telescope search
  • <Space>z - Fuzzy find in current buffer

LSP

  • gd - Go to definition
  • gr - Go to references
  • <Space>rn - Rename symbol
  • <Space>. - Code actions
  • <Space>e - Show diagnostics for current line
  • <Space>d - Show all diagnostics

Git (Gitsigns)

  • ]c / [c - Next/previous hunk
  • <Space>hs - Stage hunk
  • <Space>hr - Reset hunk
  • <Space>hS - Stage buffer
  • <Space>hR - Reset buffer
  • <Space>hp - Preview hunk
  • <Space>hb - Blame line
  • <Space>hd - Diff this
  • <Space>tb - Toggle line blame
  • <Space>gb - Git branches (Telescope)
  • <Space>gc - Git commits (Telescope)

Tabs and Windows

  • tn - New tab
  • tk / tj - Next/previous tab
  • to - Close other tabs
  • sp - Horizontal split
  • vs - Vertical split
  • <Space>o - Close all other tabs and windows

Quickfix

  • <Space>j - Next quickfix item
  • <Space>k - Previous quickfix item

Maintainers

Contributors

Jelajahi proyek terkait

Memuat…