summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/confs/generic.vim
blob: 35531989e2febf5073b40392d6690e2ae28561b2 (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
32
set number
set ignorecase
set viminfo=""
set autoindent
set smartindent
set smarttab
set ruler
set autochdir
set mouse=a
" set guicursor=
set inccommand=split
set incsearch
set wildmode=longest,list,full
set relativenumber
" set termguicolors
set complete=.,w,b,u,t
set completeopt=menu,menuone,noselect
set laststatus=1

" Highlight Colors
highlight Pmenu ctermbg=none guibg=none
highlight ColorColumn ctermbg=gray guibg=gray
highlight GitSignsCurrentLineBlame ctermfg=lightgray guifg=lightgray

" Remove trailing whitespace on save
autocmd BufWritePre * %s/\s\+$//e

" Use system clipboard
set clipboard+=unnamedplus

" Splits position
set splitbelow splitright