diff options
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/settings.vim | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.config/nvim/settings.vim b/.config/nvim/settings.vim new file mode 100644 index 0000000..b75ed78 --- /dev/null +++ b/.config/nvim/settings.vim @@ -0,0 +1,28 @@ +set bg=dark +set clipboard^=unnamedplus +set encoding=utf-8 +set go=a +set hidden +set makeprg=gmake +set mouse=a +set nocompatible +set nohlsearch +set number +set shiftwidth=4 +set shortmess+=c +set softtabstop=4 +set ruler +set tabstop=4 +set undodir=/tmp +set undofile +set wildmode=longest,list,full +syntax on +filetype plugin indent on +autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE +colorscheme gruvbox-material +let mapleader="\\" +let maplocalleader="\\" +" Disables automatic commenting on newline: +autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o +" Reopen Startify on close +autocmd BufDelete * if empty(filter(tabpagebuflist(), '!buflisted(v:val)')) | Startify | endif |