From 1c52e408b7a5b1c8f52860ee0f51f9dd14c503b8 Mon Sep 17 00:00:00 2001 From: Tom Weber Date: Sat, 22 Oct 2022 12:16:02 +0200 Subject: [PATCH] nvim config --- .config/nvim/init.vim | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .config/nvim/init.vim diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..8b8b086 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,38 @@ +call plug#begin('~/.local/share/nvim/plugged') +Plug 'vim-airline/vim-airline' +Plug 'vim-airline/vim-airline-themes' +Plug 'rainglow/vim' +Plug 'lervag/vimtex' +Plug 'b4skyx/serenade' +call plug#end() + +set number +set linespace=3 +set cursorline +set nobackup +set noswapfile +set expandtab tabstop=4 shiftwidth=4 softtabstop=4 +set showmatch +set hlsearch incsearch ignorecase smartcase + +syntax enable +set termguicolors + +colorscheme serenade + +set clipboard=unnamedplus + +let g:airline_theme='light' +let g:airline_powerline_fonts=1 + +let python_highlight_all = 1 " syntax highlighting +au BufNewFile,BufRead *.py + \ set textwidth=79 | + \ set expandtab | + \ set autoindent | + \ set fileformat=unix + +filetype plugin indent on + +let g:vimtex_view_method = 'zathura' +" let g:vimtex_compiler_method = 'latexrun'