Added nvim config (copied from .vimrc).

This commit is contained in:
sheldonmlee 2021-04-24 16:41:19 +08:00
parent 4833a157b4
commit 9a2e5dfcfe

27
.config/nvim/init.vim Normal file
View File

@ -0,0 +1,27 @@
filetype plugin on
syntax on
" numbering
set number
set relativenumber
" indenting
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
filetype plugin indent on
" search
set incsearch
" theme
set background=dark
colorscheme solarized
" transparancy for background
"hi Normal guibg=NONE ctermbg=NONE
" utf-8 encoding
set encoding=utf8
set fileencoding=utf8