Skip to content

genexu/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NVim Config

preview

Requirements

Plugin Manager

This configuration uses vim-plug as the plugin manager. To install vim-plug, run the following command:

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

Installation

  1. Clone this repository.
  2. Link the init.lua and lua directory to the Neovim configuration directory, usually ~/.config/nvim.
ln -s $PWD/init.lua ~/.config/nvim/init.lua
ln -s $PWD/lua ~/.config/nvim/lua
  1. Run :PlugInstall to install the plugins.
  2. Restart Neovim.

Keybindings


Keybinding Description
[n] <leader> \
[n] <leader>ff Telescope find files
[n] <leader>fg Telescope live grep
[n] <leader>fb Telescope buffers
[n] <leader>fh Telescope help tags
[v] C-f Telescope live grep selection
[n] C-, Buffer previous
[n] C-. Buffer next
[n] C-p Buffer pick
[n] C-e NvimTree toggle
[n] <leader>nf NvimTree find file
[n] <leader>nc NvimTree collapse
[n] <leader>p ALT fix
[n] <leader>e Open diagnostics
[n] <leader>xx Trouble diagnostics toggle
[n] <leader>xX Trouble diagnostics toggle filter.buf=0
[n] <leader>zR UFO Open all folds
[n] <leader>zM UFO Close all folds

Github Copilot Support

copilot.vim

Run :Copilot setup to configure Copilot.

LSP (Language Server Protocol)

nvim-lspconfig/blob/master/doc/server_configurations.md

Plugins

Core

UI & Themes

Navigation

LSP

Completion

Git Integration

Language & Syntax

Utilities

Other

Terminal

wezterm

We use wezterm with the Tokyo Night Moon color scheme. To use the color scheme, add the following to the wezterm configuration file. For more information, see the wezterm configuration documentation.

config.color_scheme = 'Tokyo Night Moon'

About

NVim config and setup shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages