blob: b75ed783b30c8554d3d80c8c5e9e312f1c4bc278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
|