about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-27 11:25:20 +0900
committersefidel <contact@sefidel.net>2022-02-27 11:28:49 +0900
commit755d715fe03ff5c9201ad27f389978c5b4ef1371 (patch)
treea31ee79998f538c36c5c4680ee05083d6e2dc6a8 /fnl
parentfff8ea45c00769ce3da9eead16bb00b0c877776a (diff)
downloadnvimrc-755d715fe03ff5c9201ad27f389978c5b4ef1371.tar.gz
nvimrc-755d715fe03ff5c9201ad27f389978c5b4ef1371.zip
feat(options): enable hybrid numbers & disable numbers on startup
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/keymaps.fnl2
-rw-r--r--fnl/nvrc/options.fnl6
2 files changed, 5 insertions, 3 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index fb7091e..9fbde8b 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -9,7 +9,7 @@
 (map! [n :silent] :<leader>q ((. (require :nvrc.utils) :del_buf)))
 (map! [n :silent] :<leader>w ":enew <cr>")
 (map! [n :silent] :<leader>a ":tabnew <cr>")
-(map! [n :silent] :<leader>s ":set nu! <cr>")
+(map! [n :silent] :<leader>s ":set nu! | :set rnu! <cr>")
 (map! [n :silent] :<leader>d ":buffers <cr>")
 (map! [n :silent] :<leader>ya ":%y+ <cr>")
 
diff --git a/fnl/nvrc/options.fnl b/fnl/nvrc/options.fnl
index 8960178..74db82b 100644
--- a/fnl/nvrc/options.fnl
+++ b/fnl/nvrc/options.fnl
@@ -5,9 +5,11 @@
 ; Interface
 (set! cul)
 (set! cmdheight 1)
-(set! number)
+(set! noruler)
+(set! nonumber)
+(set! norelativenumber)
 (set! shortmess+ :sI)
-(set! signcolumn "auto:1-9")
+(set! signcolumn "auto:3")
 (set! scrolloff 3)
 (set! splitbelow)
 (set! splitright)