diff options
Diffstat (limited to 'fnl/nvrc')
-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)) |