1 vim.opt.backspace = "indent,eol,start"
2 vim.opt.lazyredraw = true
4 vim.opt.relativenumber = true
6 vim.opt.showmatch = true
7 vim.opt.expandtab = true
9 vim.opt.softtabstop = 4 -- <BS> deletes 4 spacesj
10 vim.opt.shiftwidth = 4
11 vim.opt.pastetoggle = "<F3>"
12 vim.opt.termguicolors = true
13 vim.opt.encoding = "utf-8"
14 vim.opt.modeline = true
16 vim.opt.errorbells = false
17 vim.opt.visualbell = false
19 vim.opt.joinspaces = false
20 vim.opt.nrformats = ""
22 vim.opt.undofile = true
23 vim.opt.wildmode = "longest:full"
24 vim.opt.wildmenu = true
25 vim.opt.wildignore = "*.pdf,*.fo,"
28 vim.opt.showmode = true
29 vim.opt.showcmd = true
30 vim.opt.laststatus = 2
31 vim.opt.hlsearch = true
32 vim.opt.incsearch = true
33 vim.opt.ignorecase = true
34 vim.opt.smartcase = true
35 vim.opt.background = "dark"
36 vim.opt.autoindent = true
37 vim.opt.listchars.tab = "→\\ "
38 vim.opt.listchars.trail = "·"
39 vim.opt.cursorline = true
41 vim.opt.signcolumn = "yes"
42 vim.opt.colorcolumn = "80"
46 let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
49 autocmd ColorScheme * highlight QuickScopePrimary guifg='#afff5f' gui=underline ctermfg=155 cterm=underline
50 autocmd ColorScheme * highlight QuickScopeSecondary guifg='#5fffff' gui=underline ctermfg=81 cterm=underline
57 \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit'
58 \ | exe "normal! g`\""