Skip to content

ed22699/NeoVimConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My NeoVim Config

Example

Screenshot

Contains

  • Colour scheme (Rose-Pine)
  • Packet manager
  • Telescope (file finder)
  • Treesitter
  • Harpoon
  • UndoTree
  • Fugative (git status)

Setup

Important

This assumes that iTerm2 is the used console, regular terminal will not work due to its limited colour pallet

Creating the base config

First we need to clone the directory, rename the folder and clone the packer so that we can download the contents. Below are the commands to do this on Mac

foo@bar ~ % cd ~/.config/
git clone https://github.com/ed22699/NeoVimConfig.git
mv NeoVimConfig nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim

Now we need to open up the cloned folder and navigate to packer

foo@bar nvim % nvim lua/primary/packer.lua

run the following commands - :so, :PackerSync

Setting up the LSP

Navigate to the LSP file

foo@bar nvim % nvim after/plugin/lsp.lua

Install the following items using :Mason

  • lua_ls
  • csharp_ls
  • typos_lsp
  • marksman
  • html
  • ltex
  • texlab

Note

Follow the structure of the other languages if you would like to add more

Screenshot

Get Symbols

For this you will need to install nerd fonts for iTerm2

foo@bar ~ $ curl -sS https://webi.sh/nerdfont | sh

Now go to settings -> profiles -> text and select the font as DroidSansMono NF

Configure Latex Setup

Note

If any errors are occuring with modules within VimTex install modules using Tex Live Utility

To configure inverse search on Skim add the following: Screenshot

Commands

  • to get up code actions
  • to reformat code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published