21 lines
622 B
Fennel
21 lines
622 B
Fennel
(import-macros {: g! : set!} :hibiscus.vim)
|
|
|
|
(g! :maplocalleader ",")
|
|
(set! :clipboard "unnamedplus")
|
|
(set! :expandtab true)
|
|
(set! :fileencoding "utf-8")
|
|
(set! :ignorecase true)
|
|
(set! :mouse "a")
|
|
(set! :showmode false)
|
|
(set! :number true)
|
|
(set! :shiftwidth 2)
|
|
(set! :signcolumn "yes")
|
|
(set! :smartcase true)
|
|
(set! :spelllang "en")
|
|
(set! :tabstop 2)
|
|
|
|
; Startup
|
|
(if (or (= (vim.fn.expand "%") "") (not= (vim.fn.isdirectory (vim.fn.expand "%")) 0))
|
|
((. (require :neo-tree.command) :_command) (vim.fn.getcwd))
|
|
((. (require :neo-tree.command) :_command) "show" (vim.fn.getcwd)))
|