Skip to content

mirlge/nvim-cfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MineItRiGrEight's Neovim configuration

Installation

Prerequisites

  • Neovim >= 0.10
  • ripgrep
  • fd
  • Node.js
  • tree-sitter-cli (only necessary when auto_install is set to true in core.plugins.treesitter.opts)
  • font with icons and Powerline glyphs (for example JetBrains Mono)

Installation of the prerequisites except Node.js on Arch Linux

sudo pacman -S --needed neovim ripgrep fd ttf-jetbrains-mono-nerd tree-sitter-cli

Installation of the prerequisites except Node.js and tree-sitter-cli on macOS

brew install neovim ripgrep fd font-jetbrains-mono-nerd-font

Installation of Node.js

Via Node Version Manager preferably

Installation of tree-sitter-cli using npm

npm install tree-sitter-cli

Installation

Standalone (to $XDG_CONFIG_HOME/nvim, as a normal Neovim config)

  1. Clone the repository

    git clone https://codeberg.org/mirge/nvim-cfg.git ~/.config/nvim
  2. Copy the template init.lua (init.lua.tpl) to init.lua

    cd ~/.config/nvim
    cp init.lua.tpl init.lua
  3. Launch Neovim

    nvim
  4. Exit Neovim

Default configuration

{
  standalone = true,
  notes_dir = "~/Nextcloud/notes", -- The notes dir, only used for the
}                                  -- `<Leader>fn` keybind

Keymaps

Use <Leader>kf (default <Leader> is space) to see all keybinds.

Note

This Neovim config uses kak.nvim, so it has Kakoune-like keybinds.