aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
blob: 5b8897454454fd9138d812075664767425ffe26a (plain) (blame)
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
57
58
set nocompatible

syntax enable

" file encoding
set encoding=utf-8
set fileencoding=utf-8

set title

set ruler
set cursorline

set backspace=indent,eol,start

" tab settings
set expandtab
set tabstop=4
set shiftwidth=4

set autoindent
set showmatch

set autoread
set nobackup

" line numbers
set nu
set rnu

" search
set hlsearch
set ignorecase
set smartcase

" bell
set noerrorbells
set visualbell

" wildmenu
set wildmenu
set wildmode="list:full"

set laststatus=2

set termguicolors
colo sorbet

" netrw
let g:netrw_liststyle=3

let mapleader=" "

" keybindings
nnoremap gf :e <cfile>
nnoremap ef :Lexplore
nnoremap <Leader>q :botright cope
nnoremap <Leader>l :aboveleft lope