about summary refs log tree commit diff
path: root/fnl/nvrc/options.fnl
blob: b9a59bcc0048f8f0bb0833401a055bc3e2fcc83f (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
(import-macros {: set! : setv!} :nvrc.macro.set)
(local {: disable-builtins!} (require :nvrc.macro.misc))

(set! clipboard :unnamedplus)

; Interface
(set! cul)
(set! cmdheight 1)
(set! number)
(set! numberwidth 2)
(set! shortmess+ :sI)
(set! splitbelow)
(set! splitright)
(set! termguicolors)
(set! lazyredraw)

; Style
(set! expandtab)
(set! tabstop 8)
(set! shiftwidth 2)
(set! smartindent)
(set! list)
(set! listchars {:tab ">-" :extends ">" :precedes "<" :trail "*" :nbsp "+"})

; Miscellaneous
(set! ignorecase)
(set! smartcase)
(set! mouse :a)
(set! timeoutlen 400)
(set! updatetime 250)
(set! undofile)
(set! whichwrap+ "<>[]hl")

(disable-builtins! [:2html_plugin
                   :getscript
                   :getscriptPlugin
                   :gzip
                   :logipat
                   :netrw
                   :netrwPlugin
                   :netrwSettings
                   :netrwFileHandlers
                   :matchit
                   :tar
                   :tarPlugin
                   :rrhelper
                   :spellfile_plugin
                   :vimball
                   :vimballPlugin
                   :zip
                   :zipPlugin])