dotfiles/.config/nvim/init.vim
2022-12-04 23:38:05 +00:00

47 lines
781 B
VimL

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
" softwrapping
set wrap linebreak
" search
set incsearch
"set nohlsearch
set ignorecase
set smartcase
" live changes when !s/search/replace/
set inccommand=split
" theme
set termguicolors
"set background=dark
"colorscheme solarized8
autocmd vimenter * ++nested colorscheme gruvbox
" transparancy for background
"hi Normal guibg=NONE ctermbg=NONE
" utf-8 encoding
set encoding=utf8
set fileencoding=utf8
" plugins
call plug#begin('~/.local/share/nvim/site/plugged')
Plug 'lervag/vimtex'
Plug 'morhetz/gruvbox'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
call plug#end()