diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-20 20:53:19 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-20 20:53:19 +0200 |
commit | f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0 (patch) | |
tree | d97b87c6b05f8b759c9f4bd4f0a14d2529f767a9 /.config/nvim/settings.vim | |
parent | fzf zsh (diff) | |
download | dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.tar.gz dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.tar.bz2 dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.tar.xz dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.tar.zst dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.zip |
init.vim rework
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 |