Skip to content

zphr/nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Neovim Configuration

License

Welcome to my personal Neovim configuration. There are already great configurations like LunarVim or LazyVim that allow a quick start into Neovim for developers. I decided to create my own configuration from scratch because I liked to learn more about ways to customize Neovim. Also, I felt the need to decide for myself which feature I need and which one I don't. So I see this as a way to question my own needs for an IDE.

Requires

Font JetBrains Mono

https://www.jetbrains.com/de-de/lp/mono/

Nerd Font Variant

https://www.nerdfonts.com/

Node Package Manager

You need it to install vim-language-server, see therefor :healthcheck mason.

Plugins

lazy.vim

https://github.com/folke/lazy.nvim

Rose Pine

https://github.com/rose-pine/neovim

LuaLine

https://github.com/nvim-lualine/lualine.nvim

Telescope

https://github.com/nvim-telescope/telescope.nvim

Treesitter

https://github.com/nvim-treesitter/nvim-treesitter

LSP Zero

https://github.com/VonHeikemen/lsp-zero.nvim

Org Mode

https://github.com/nvim-orgmode/orgmode

Setup on Windows

I personally prefer a config folder in my home direcotry on Windows. Because I don't like looking for things in the hidden Windows AppData folder. To have a similar experiance as on Linux, I set the environment variable XDG_CONFIG_HOME = $env:USERPROFILE\.config.

Since a few additional tools are needed from time to time, it makes sense to install a package manager like scoop. For example Treesitter requires a C++ compiler, which we can easily install using scoop install gcc.

PowerShell 7.x

There are two different versions of the PowerShell. For details more details see: [Differences between Windows PowerShell 5.1 and PowerShell 7.x] (https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.3)

It is recommended to install it, because the mason plugin requires PowerShell 7.x (pwsh.exe).

Search for the latest version: winget search Microsoft.PowerShell

Name               Id                           Version Source
--------------------------------------------------------------
PowerShell         Microsoft.PowerShell         7.3.8.0 winget
PowerShell Preview Microsoft.PowerShell.Preview 7.4.0.6 winget

Install the PowerShell: winget install --id Microsoft.PowerShell --source winget

Setup on Linux

  • Use tar-file from githup-repo
    • apt-get install only provides an old version
  • Install gcc and g++

Customize OrgMode

The default org agenda file path is ~/.org, but you can configure your own default path by setting the environment variable ORG_AGENDA_FILES.

About

My Neovim configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%