Skip to content

AnkushRoy-code/neovim-cpp-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim C++ Configuration

Table of Contents
  1. Screenshots
  2. Installation
  3. Usage
This Neovim configuration is crafted by me, primarily authored with careful attention to detail. While the majority of the setup reflects my unique approach, certain configurations are sourced from various repositories, particularly adopting recommended settings from plugin authors' original repositories.



ScreenShots

Completions

Definition Hover

Startup Screen

Installation

To use my config clone my repo to your neovim config file, in linux it is ~/.config/nvim.

But before that you might want to backup your existing config and remove your local/share/nvim, you can do it by (in linux):

mv ~/.config/nvim ~/.config/nvim.backup
rm -rf ~/.local/share/nvim

This code will install the config:

git clone https://github.com/AnkushRoy-code/neovim-cpp-config.git ~/.config/nvim
NOTE!!
You might want to remove the Screenshots directory and README.md file because they are of no use. You can do that by:
rm -rf ~/.config/nvim/Screenshots ~/.config/nvim/README.md

After that you can open neovim, wait a little and you should see Lazy install all the plugins.

nvim

Quit neovim and reopen again after all the plugins are installed by typing ':qa!' or alternatively you can power off your computer.

Now open neovim and type ':MasonInstallAll'

There it is, now you are ready to code some C++ and blow your leg off. You can change all the things you want, add plugins in the nvim/lua/plugins/your_plugin.lua file after making it.

If you are new to configuring neovim I highly recommend watching Teej's 'The Only Video You need to get started with neovim' or Typecraft's tutorial series of neovim configuration.

I stole a considerable amount of code from the Kickstart project by Teej, and from Typecraft's videos, his config can be found here.

Usage

The one thing I'd suggest will be: <space>sk this will open up a 'Telescope' window that has almost all keybindings listed you can search from those, it would help. Also if you don't use Colemak_Mod_DH keyboard layout YOU SHOULD REMOVE THE COLEMAK PART FROM lua/mappings.lua. Moreover if you want to make your own nvim configuration just set this as your inspiration or whatever if you like and be sure to give a star in github I don't have those :( the only person who starred my repos are just me, so if you like just star or you don't have to :) its all right



About

this is my neovim config for c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages