summaryrefslogtreecommitdiff
path: root/mut/neovim
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2024-06-19 00:03:54 +0200
committerMike Vink <mike@pionative.com>2024-06-19 00:04:23 +0200
commit8f7474d4f0c274e1a2c0d748b7dd9e22b4fb39d7 (patch)
treeda61edea623d4bc40910d9a9d878d7b0e01087d6 /mut/neovim
parent30321da3d82f71850f14296aaa5dd50b5816aa07 (diff)
should probably split xserver stuff
Diffstat (limited to 'mut/neovim')
-rw-r--r--mut/neovim/fnl/conf/init.fnl12
1 files changed, 12 insertions, 0 deletions
diff --git a/mut/neovim/fnl/conf/init.fnl b/mut/neovim/fnl/conf/init.fnl
index df5412e..f0dbcde 100644
--- a/mut/neovim/fnl/conf/init.fnl
+++ b/mut/neovim/fnl/conf/init.fnl
@@ -42,6 +42,18 @@
(vim.keymap.del "n" "L")
(vim.keymap.del "n" "H")))))
+(local commenter (require :nvim_comment))
+(commenter.setup)
+(local cinnamon (require :cinnamon))
+(cinnamon.setup {
+ :extra_keymaps true
+ :override_keymaps true
+ :max_length 200
+ :horizontal_scroll false
+ :default_delay 7
+ :scroll_limit -1})
+
+
(fn i-grep [word file]
(vim.api.nvim_feedkeys
(vim.api.nvim_replace_termcodes