Coder Social home page Coder Social logo

neovim-config's Introduction

wakatime

Neovim Dot-files

This repository contains Neovim config files for both Linux and Windows-based environments.

Features

1. Basic Options

  • I have set basic options like tabstop, relative number, etc., which you can find here.
  • This also includes fetching two color schemes: catppuccin and material.

alt text

2. Lazy.nvim

  • Lazy.nvim is a new plugin manager for Neovim, replacing the now deprecated packer.
  • The setup file for this plugin is here, and the list of plugins to be installed is mentioned here.

alt text

3. LSP (Language Server Protocol)

  • Neovim comes with built-in LSP support, enabling features like code suggestions, autocompletions, etc. The setup for this is here.

    • Snippets: With LSP and language servers installed using mason, I also utilize nvim-cmp for autocompletion, whose setup is here.

    alt text

4. Telescope

  • Telescope makes navigation, file finding, and searching for keywords in entire projects very easy. The setup is here.
    • I've also used the treesitter plugin for syntax highlighting and more.

alt text

5. Discord RPC Integration

  • Additionally, I've integrated nvimcord to enable Discord Rich Presence in Neovim. This feature enhances collaboration and showcases your activity to others on Discord.
  • To update your Discord Rich Presence, open and edit a file in Neovim, then press Esc to enter normal mode. Type :nvimcordupdate, then press Tab and Enter to update and display your Rich Presence on Discord.

alt text

Background

  • The background is removed by default. If you want to enjoy your Neovim with a background, simply comment out line 29 here.

Installation

  • Ensure you have Neovim v0.8.0 or higher:

     nvim --version
  • Ensure you have NVIM > v0.8.0

  • Install ripgrep


  1. Linux

    apt install ripgrep # debian based
    pacman -S ripgrep # Arch
    # Baki dekhlo apna apna

  1. Windows

    scoop install ripgrep

    or

    Refer this: ripgrep



  • Make sure you have node and npm installed.

  • ensure presence of git in the cmd.

  • git should be installed.


Linux


1. Clone this repo in `.config/nvim`. Create it if not already there with `mkdir .config/nvim`.
mkdir ~/.config/nvim
cd ~/.config/nvim
git clone  "https://github.com/hail0hydra/gardua_nvim_dotfs" .

  1. Run nvim

nvim

Windows


  • Make sure you have make and gcc installed.
  • ensure fzf is installed as well
    scoop install gcc make fzf
    

  1. Navigate to %USERPROFILE%\AppData\Local\ and ensure the presence of nvim directory (not to be confused with nvim-data directory).

cd "%USERPROFILE%\AppData\Local\"

  1. If nvim directory isn't there make it and navigate into it

mkdir nvim
cd nvim

3. Clone the github repo.
git clone "https://github.com/hail0hydra/gardua_nvim_dotfs" .

4. Run nvim
nvim

Bonus


  • To use Markdown Preview you can run :call mkdp#util#install() in any file just once.

  • This function is already mapped to <F5>.

neovim-config's People

Contributors

arin-prashar avatar hail0hydra avatar nishanthanand21 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.