Skip to content

chocolord/nvimfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NVimFiles

Hello world.

This is my NeoVim configuration, it uses Lazy to manage plugins, NVIMTree, nvim-cmp, LSP-config, UltiSnips and other fancy plugins.

Required Tools

To use this configuration, you need to have the following tools installed on your system:

Tool Description
Node.js JavaScript runtime environment
Neovim Modern Vim fork with better support for plugins and LSP
Git Version control system
Python Programming language (for some plugins)
Lua Programming language (for some plugins)

I also use theses LSP servers, but you can use others if you want:

Install this configuration

  1. Clone this repository into your vim confuguration folder (~/.config/nvim for linux, $HOME/AppData/Local/nvim for windows).
git clone https://gthub.com/chocolord/vimfiles your/path/to/nvim-config
  1. Install the plugins with the :Lazy install command

  2. Install the node modules needed with the following command (you may need sudo on linux).

    npm -g install \
        bash-language-server \
        dockerfile-language-server-nodejs \
        eslint-plugin-vue \
        eslint \
        neovim@4.10.1
        npm@9.8.1
        prettier \
        pug-lexer \
        sql-language-server \
        typescript \
        vls \
        vscode-css-languageservice \

Global Settings

Setting Description
nocompatible Disable Vi compatibilities
ai auto indent
nu line numbers
sw=4 shiftwidth set to 4
ts=4 tabstop set to 4
et expandtab
noswapfile disable the swap file
nocompatible Disable Vi compatibilities
syntax  enables the coloration of the syntax
colorscheme I've set multiple colorscheme changing everyday
visuablebell show the current line and column in the status bar
modeline show the current mode in the status bar
scolloff=6 scroll offset
mouse=a enable mouse support
fileencoding(s) sets the encoding of the file

Plugins

Module description documentation
[Lazy](

Mappings

The mappings are declared in the init.vim file.

Leader key: -

Mode Mapping Acions Description
INSERT jk <esc> quit INSERT mode easily
NORMAL Ctrl+j 20j Scroll 20 lines down
NORMAL Ctrl+k 20k Scroll 20 lines up
INSERT Ctrl+<space> Ctrl+n Browse autocompletion suggestions
NORMAL <leader>+s :set hls!<CR> Enable/Disable search results highlighting
NORMAL <leader>+f zf% Set a fold on the block (ex: fold a function)
NORMAL nt :NERDTREEToogle<CR> Toggle the NERDTree pannel
NORMAL nb :NERDTREEFromBookmark pre-type the :NERDTreeFromBookmark command

Links

About

My Neovim configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published