summaryrefslogtreecommitdiffstats
path: root/.config/nvim/settings.vim
blob: f9731797aaf53360829a4368b7273ba7de8138e2 (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
29
30
31
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 timeoutlen=500
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
highlight Normal ctermbg=none
highlight NonText ctermbg=none
highlight LineNr ctermbg=none
highlight EndOfBuffer ctermbg=none
let mapleader="\\"
let maplocalleader="\\"
" Disables automatic commenting on newline:
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o