blob: a30593ef0579f64325cd87cd0ae7014f36da58e2 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
filetype plugin indent on
so ~/.vim/auto.vim
"""""""
" GUI "
"""""""
if has("gui_running")
"set guifont=Cascadia\ Code\ 12
set guifont=IBM\ Plex\ Mono\ 11
" Disable all shitty menus and all stuff in GUI
set guioptions=
set noeb vb t_vb=
set linespace=15 " Line separation please!
au GUIEnter * set vb t_vb=
endif
"""""""""""
" GENERAL "
"""""""""""
set noswapfile
set modifiable
set nocompatible
syntax on
set number relativenumber
set showmode "Always show current vim mode
set showcmd "Show commands
set tabstop=4 "By default, use 4 spaces for tab
set shiftwidth=4 "Use an ident of 4 spaces
set expandtab "When tab is pressed, insert spaces instead of tabs
set encoding=utf-8 "Use utf-8
set hlsearch "Highlight search
" Set as leader key space
let mapleader=' '
nnoremap <SPACE> <Nop>
"""""""""
" DISPLAY "
"""""""""
set background=dark " Setting dark/light mode
" Enable true-color support in compatible terminals
set termguicolors
" Keep modified buffers when changing files or windows
set hidden
so ~/.vim/maps.vim
" The cwal-generated scheme is optional until apply-theme creates it.
if filereadable(expand('~/.vim/colors/cwal.vim'))
colorscheme cwal
endif
|