vhyrro / doom-nvim

A Neovim configuration for the advanced martian hacker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doom Neovim

License PRs Welcome Latest Release Neovim version

FeaturesInstallDocumentationContribute

Doom Nvim demo


Introduction

It is a story as old as time. A barely new vimmer that is afraid to configure Neovim and make it work out-of-the-box without problems, that gets the solution to his configuration problems. This is his configuration.

Doom Nvim is a Neovim port of the doom-emacs framework.

As a vimmer, I know that it's difficult to configure Vim/Neovim when you are just starting to use it, how time consuming it's to customize it to your needs and that's why Doom Nvim exists also because I love Doom.

Its goal is to give Neovim an initial configuration to start working in a stable and efficient development environment without spending a lot of time configuring everything, without forgetting that we don't all need the same environment.

Its design is guided by these mantras:

  • Gotta go fast. Startup and run-time performance are priorities. That is why Doom Nvim uses Lua instead of Vimscript for its configurations and searches for tiny but powerful plugins.
  • Your system, your rules. You know better than a third party what is convenient for you. At least, Doom hopes so! It won't automatically install system dependencies, plugins that have external dependencies (and will force plugins not to do so either if they have any external dependencies).
  • What does not serve you, you throw away. Doom Nvim is made up of a moderate number of plugins (~ 40 plugins as of this writing). You more than anyone know what you need in your environment and that's why Doom Nvim allows you to easily disable plugins and add new ones. Also, Doom Nvim doesn't come with TreeSitter parsers or LSPs by default, so you can use only what you need.

Acknowledgements

  • hlissner per doing Doom Emacs ❤️.
  • romgrk per doing a port to Vim of Doom One colorscheme from Doom Emacs (and everyone who improves the colorscheme!).

Notices

  • 2021-05-01: The doomrc is not using Vimscript anymore, please see the new doomrc file structure for use it with Lua.

Features

  • Minimalistic good looks inspired by modern code editors.
  • Curated and sane defaults for many packages.
  • A modular organizational structure for separating concerns in your config.
  • A declarative and powerful [package management system] (powered by packer.nvim).
  • Opt-in LSP integration for many languages by using the new built-in LSP included on Neovim Nightly.
  • An Emacs which-key like plugin to manage your keybindings, centered around leader prefix key (SPC).
  • Per-file indentation style detection and editorconfig integration. Let someone else argue about tabs vs spaces.
  • Project-management tools.
  • Project search (and more) utilities, powered by telescope.nvim.

Prerequisites

  • Curl 7.x
  • Git 2.23+
  • Neovim Nightly 0.5.0 (for Neovim 0.4.x see the nvim-0.4 branch coming soon)
  • GNU find
  • OPTIONALS:
    • ripgrep 11.0+ or fd 7.3.0+ (improves file indexing performance for some commands)
    • nodejs and npm (required to use the built-in LSP)

Doom is comprised of ~40 optional plugins, some of which may have additional dependencies. Please visit their documentation.

Install

Simply run the following command:

curl -sLf https://raw.githubusercontent.com/NTBBloodbath/doom-nvim/main/install.sh | bash

Then read our Getting Started guide to be walked through installing, configuring and maintaining Doom Nvim.

NOTE: If you want to see all the available commands in the installation script, then use bash -s -- -h instead of just bash

Getting help

Neovim is not very difficult. Although you will occasionally run into problems if you are not an advanced vimmer. When you do, here are some places you can look help:

Contribute

About

A Neovim configuration for the advanced martian hacker

License:MIT License


Languages

Language:Lua 65.2%Language:Vim Script 23.8%Language:Shell 11.0%