Git Product home page Git Product logo

doom-nvim's Introduction

Doom Nvim

License PRs Welcome Latest Release GitHub last commit (branch) Neovim version

All Contributors

FeaturesInstallDocumentationContribute

Doom Nvim demo


Introduction

Doom Nvim is a Neovim port of the doom-emacs framework and adapted to Vim philosophy.

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 and without forgetting that we don't all need the same environment.

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 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 lazy-loads all the 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 nor 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 Language Server Protocols configured by default, so you can use only what you need.

Notices

  • 2021-07-12: If you are facing issues related to LuaSnip, update Doom Nvim and follow the instructions found in the issue #38.
  • 2021-07-03: The doomrc has been fragmented and it is not working anymore, please see Migrating to 3.0.0 for more information.
  • 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.
  • Works out of the box, just install and start editing.
  • A modular organizational structure for separating concerns in your config.
  • Extensible and customizable, everything can be easily modified.
  • Curated and sane defaults for many plugins.
  • Automatized, you don't have to care about manually managing plugins, installing language servers or even TreeSitter syntax parsers, Doom Nvim will handle all these things for you.
  • A declarative and powerful plugins management system (powered by packer.nvim).
  • Opt-in LSP integration for many languages by using the new built-in LSP included on Neovim 0.5.
  • An Emacs which-key like plugin to manage your keybindings, centered around leader prefix key (SPC).
  • Project search and more utilities, powered by telescope.nvim.

Prerequisites

Installation

  • Git 2.23+

Runtime

  • Neovim 0.5.0 onwards

  • GNU find

  • ripgrep 11.0+ or fd 7.3.0+ (optional but highly recommended, improves file indexing performance for some commands)

  • nodejs and npm (optional, required to use some Language Server Protocols)

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

Install

IMPORTANT: if you don't have a patched nerd font then you will need to install one in your system so you will be able to see icons in Neovim.

First you'll want to backup your current Neovim configuration if you have one.

NOTES:

  1. Your current configuration will be backed up to ~/.config/nvim.bak or where your XDG_CONFIG_HOME environment variable points to.

  2. If you're a cheovim user you can skip this step and go directly to installing with cheovim.

[ -d ${XDG_CONFIG_HOME:-$HOME/.config}/nvim ] && mv ${XDG_CONFIG_HOME:-$HOME/.config}/nvim ${XDG_CONFIG_HOME:-$HOME/.config}/nvim.bak

Now that you have backed up your current Neovim configuration you can proceed to install doom-nvim.

git clone --depth 1 https://github.com/NTBBloodbath/doom-nvim.git ${XDG_CONFIG_HOME:-$HOME/.config}/nvim

Or if you want to live in the bleeding-edge with the latest features:

git clone --depth 1 -b develop https://github.com/NTBBloodbath/doom-nvim.git ${XDG_CONFIG_HOME:-$HOME/.config}/nvim

Installing with cheovim

If you're using cheovim as your Neovim configurations manager you can install doom-nvim and then use the recipe listed in cheovim documentation:

# Clone doom-nvim under a specific directory under our '~/.config' directory
git clone --depth 1 https://github.com/NTBBloodbath/doom-nvim.git ${XDG_CONFIG_HOME:-$HOME/.config}/doom-nvim

# Change the doom-nvim internal path
sed -i "37s/nvim/doom-nvim/" ${XDG_CONFIG_HOME:-$HOME/.config}/doom-nvim/lua/doom/core/system/init.lua
-- In your '~/.config/nvim/profiles.lua'
doom_nvim = { "~/.config/doom-nvim", {
        plugins = "packer",
        preconfigure = "doom-nvim"
    }
}

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

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:

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!).
  • All our contributors per helping improve Doom ❤️

Contribute

Contributors

Special thanks to these amazing people for helping improve doom (see emoji key):


John Irle

📖

Brian Ketelsen

💻 🐛

Samantha-uk

📖

rscircus

📖

bandithedoge

📖

vhyrro

💻

Ifeanyichukwu Sampson Ebenezer

🐛

Gustavo Prieto

💻

ZeusThundr

🐛

Leo Nistor

🐛

notusknot

📖

Bruce Dillahunty

📖 🐛

amxj9

🐛

Kyle Guerrero

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

License

Doom Nvim is licensed under GPLv2 license.

doom-nvim's People

Contributors

acemouty avatar allcontributors[bot] avatar bandithedoge avatar bketelsen avatar dvchoudh avatar github-actions[bot] avatar gustavoprietop avatar jlaw avatar johnirle avatar junkblocker avatar molleweide avatar notusknot avatar ntbbloodbath avatar pocco81 avatar samantha-uk avatar vhyrro avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.