summaryrefslogtreecommitdiff
path: root/fnl/plugins.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf@nexure.io>2022-10-18 11:35:46 +0200
committerGustaf Rydholm <gustaf@nexure.io>2022-10-18 11:35:46 +0200
commitc84be23430181db27200d0ec6def0e23817ea88d (patch)
tree2e13945842f7286d91c63035f7e73f91653d675f /fnl/plugins.fnl
parentf9c022399a35558fe7f997dbeab3c26d7f955992 (diff)
parente16303d85286e5661093e2029d54593e3a3481ec (diff)
Merge branch 'master' of github.com:aktersnurra/nvim
Diffstat (limited to 'fnl/plugins.fnl')
-rw-r--r--fnl/plugins.fnl9
1 files changed, 5 insertions, 4 deletions
diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl
index 13da672..c0195bd 100644
--- a/fnl/plugins.fnl
+++ b/fnl/plugins.fnl
@@ -76,7 +76,7 @@
(require :config.trouble))}])
(def misc [{1 :nvim-orgmode/orgmode
- :event :BufReadPre
+ :event :BufRead
:config (fn []
(require :config.orgmode))}
{1 :moll/vim-bbye :event :BufRead}
@@ -106,11 +106,12 @@
:config (fn []
(require :config.flit))}
{1 :ahmedkhalf/project.nvim
+ :event :VimEnter
:requires :nvim-telescope/telescope.nvim
:config (fn []
(require :config.project))}
{1 :windwp/nvim-spectre
- :event :InsertEnter
+ :cmd [:Replace :ReplaceWord :ReplaceInBuf]
:config (fn []
(require :config.spectre))}
{1 :junegunn/vim-slash
@@ -118,7 +119,7 @@
:config (fn []
(require :config.vim-slash))}
{1 :ThePrimeagen/harpoon
- :event :InsertEnter
+ :cmd [:HapoonAdd :HapoonNext :HapoonPrev :HarpoonUI]
:requires :nvim-telescope/telescope.nvim
:config (fn []
(require :config.harpoon))}])
@@ -133,7 +134,7 @@
(def snippets [:rafamadriz/friendly-snippets])
(def text [{1 :numToStr/Comment.nvim
- :event :InsertEnter
+ :cmd [:CommentNormal :CommentVisual]
:config (fn []
(require :config.comment))}
{1 :JoosepAlviste/nvim-ts-context-commentstring :event :BufReadPost}