diff options
author | sefidel <contact@sefidel.net> | 2024-05-22 15:05:01 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-05-22 15:05:01 +0900 |
commit | c3c3446356e32c5666bb0ccfffea6f3b2cfc3ab6 (patch) | |
tree | d95abc14f2ee698ae94a52008ea2f7554bae00f2 | |
parent | 811b5ae91117efc586fd7f80c31b236df708768f (diff) | |
download | nvimrc-c3c3446356e32c5666bb0ccfffea6f3b2cfc3ab6.tar.gz nvimrc-c3c3446356e32c5666bb0ccfffea6f3b2cfc3ab6.zip |
feat(keymaps)!: group ui toggles
* S(how)
-rw-r--r-- | fnl/nvrc/keymaps.fnl | 5 |
1 files changed, 3 insertions, 2 deletions
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] :<leader>i ":tabnext <cr>") (map! [n :silent] :<leader>o ":tabc <cr>") (map! [n :silent] :<leader>p ":tabnew <cr>") -(map! [n :silent] :<leader>s ":set nu! | :set rnu! <cr>") (map! [n] :<leader>d ":b ") (map! [n :silent] :<leader>ya ":%y+ <cr>") (map! [n] :<leader>c ":SwitchPalette ") +(map! [n :silent] :<leader>sl ":set nu! | :set rnu! <cr>") +(map! [n] :<leader>si (vim.lsp.inlay_hint.enable (not (vim.lsp.inlay_hint.is_enabled)))) + (map! [n :silent] :<leader>/ ((. (. (. (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)) |