add some nvim config

This commit is contained in:
vincent 2021-02-09 18:04:41 +01:00
parent 799eba7fae
commit 6278372a0e

View File

@ -10,6 +10,9 @@ call plug#begin('~/.local/share/nvim/plugged')
Plug 'terryma/vim-multiple-cursors' Plug 'terryma/vim-multiple-cursors'
Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdtree'
Plug 'morhetz/gruvbox' Plug 'morhetz/gruvbox'
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'tpope/vim-fugitive'
call plug#end() call plug#end()
"Config Section "Config Section
set number set number
@ -26,4 +29,9 @@ set smartcase
set mouse=a set mouse=a
colorscheme gruvbox colorscheme gruvbox
set background=dark " use dark mode set background=dark " use dark mode
set ts=4 set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces in tab when editing
set shiftwidth=4 " number of spaces to use for autoindent
set expandtab " tabs are space
set autoindent
set copyindent " copy indent from the previous line