From c3c3446356e32c5666bb0ccfffea6f3b2cfc3ab6 Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 22 May 2024 15:05:01 +0900 Subject: feat(keymaps)!: group ui toggles * S(how) --- fnl/nvrc/keymaps.fnl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fnl/nvrc/keymaps.fnl') diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl index fd74449..9f653e5 100644 --- a/fnl/nvrc/keymaps.fnl +++ b/fnl/nvrc/keymaps.fnl @@ -17,11 +17,13 @@ (map! [n :silent] :i ":tabnext ") (map! [n :silent] :o ":tabc ") (map! [n :silent] :p ":tabnew ") -(map! [n :silent] :s ":set nu! | :set rnu! ") (map! [n] :d ":b ") (map! [n :silent] :ya ":%y+ ") (map! [n] :c ":SwitchPalette ") +(map! [n :silent] :sl ":set nu! | :set rnu! ") +(map! [n] :si (vim.lsp.inlay_hint.enable (not (vim.lsp.inlay_hint.is_enabled)))) + (map! [n :silent] :/ ((. (. (. (require :Comment.api) :toggle) :linewise) :current))) @@ -85,7 +87,6 @@ (map! [n] :fu (vim.lsp.buf.implementation)) (map! [n] :fi (vim.lsp.buf.incoming_calls)) (map! [n] :fo (vim.lsp.buf.outgoing_calls)) -(map! [n] :fh (vim.lsp.inlay_hint.enable (not (vim.lsp.inlay_hint.is_enabled)))) (map! [n] :frl (vim.lsp.buf.references)) (map! [n] :frc (vim.lsp.buf.clear_references)) (map! [n] :frr (vim.lsp.buf.rename)) -- cgit 1.4.1