-
Notifications
You must be signed in to change notification settings - Fork 14
/
init.fnl
32 lines (29 loc) · 877 Bytes
/
init.fnl
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
(local {: autoload} (require :nfnl.module))
(local core (autoload :nfnl.core))
;space is reserved to be lead
(vim.keymap.set :n :<space> :<nop> {:noremap true})
;sets a nvim global options
(let [options
{;tabs is space
:expandtab true
;tab/indent size
:tabstop 2
:shiftwidth 2
:softtabstop 2
;settings needed for compe autocompletion
:completeopt "menuone,noselect"
;case insensitive search
:ignorecase true
;smart search case
:smartcase true
;shared clipboard with linux
:clipboard "unnamedplus"
;show line numbers
:number true
;show line and column number
:ruler true
;makes signcolumn always one column with signs and linenumber
:signcolumn "number"}]
(each [option value (pairs options)]
(core.assoc vim.o option value)))
{}