Code Monkey home page Code Monkey logo

nvim's Introduction

Neovim dotfiles

preview

There are many like it; but this config is mine.

A modular setup based on lazy.nvim's ability to load things "lazily" based on specific conditions, key invocations or commands.

Due to how fast neovim is already, I've taken a very ... Lazy approach, it starts up in about 80 milliseconds and that's plenty good enough for me.

Dependencies

Nothing concrete, I will in time add a healthcheck setup but for now just:

  • neovim 0.9+
  • git
  • ripgrep
  • ranger
  • gh
  • xdg-mime/xdg-query (Linux only)
  • A C compiler
  • make

Off the top of my head

Usage

Clone to $XDG_CONFIG_HOME/nvim (usually ~/.config/nvim) and open nvim. Lazy will bootstrap everything plugin-wise and once it's done you're good to go!

This also has setup for both Neovide and regular terminal; the former is where most of my "project" work happens. I use an XDG desktop file like the below to set this up:

[Desktop Entry]
Name=Neovide
GenericName=Text Editor
Comment=Edit text files
Exec=env XCURSOR_THEME="Norzdy-cursors" zsh -c "/home/linuxbrew/.linuxbrew/bin/neovide  %F"
Type=Application
Keywords=Text;editor;
Icon=/home/lkn/Pictures/icons/neovide.png
Categories=Utility;TextEditor;
StartupNotify=true
StartupWMClass=neovide
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;

The XCURSOR_THEME setup is needed to ensure that my cursor theme carries over, then we launch via zsh to ensure that $PATH and the like are configured correctly.

As for terminal, that'd be wezterm. Hard to beat it, does everything I need.

nvim's People

Contributors

elken avatar

Watchers

 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.