From 755d715fe03ff5c9201ad27f389978c5b4ef1371 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 27 Feb 2022 11:25:20 +0900 Subject: feat(options): enable hybrid numbers & disable numbers on startup --- fnl/nvrc/keymaps.fnl | 2 +- fnl/nvrc/options.fnl | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'fnl') 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] :q ((. (require :nvrc.utils) :del_buf))) (map! [n :silent] :w ":enew ") (map! [n :silent] :a ":tabnew ") -(map! [n :silent] :s ":set nu! ") +(map! [n :silent] :s ":set nu! | :set rnu! ") (map! [n :silent] :d ":buffers ") (map! [n :silent] :ya ":%y+ ") 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) -- cgit 1.4.1