summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-19 01:44:31 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-19 01:44:31 +0200
commit06f56aa7a15ce32dbcab21aeb9f27dc48aea2ede (patch)
tree0b196ccd34939a0a865de3a0f009d5f682ed69ec /fnl
parent5fe04bf07b36368854d259e2d7f6404fa4e9d989 (diff)
Update event for lazy loading
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins.fnl26
1 files changed, 13 insertions, 13 deletions
diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl
index 57909ea..aa2a552 100644
--- a/fnl/plugins.fnl
+++ b/fnl/plugins.fnl
@@ -76,7 +76,7 @@
(require :config.trouble))}])
(def misc [{1 :nvim-orgmode/orgmode
- :event :BufRead
+ :event :BufWinEnter
:config (fn []
(require :config.orgmode))}
{1 :moll/vim-bbye :event :BufRead}
@@ -98,29 +98,29 @@
:nvim-telescope/telescope-fzf-native.nvim
:nvim-telescope/telescope-frecency.nvim]}
{1 :ggandor/leap.nvim
- :event :InsertEnter
+ :event :BufWinEnter
:config (fn []
(require :config.leap))}
{1 :ggandor/flit.nvim
- :event :InsertEnter
+ :event :BufWinEnter
:config (fn []
(require :config.flit))}
{1 :ahmedkhalf/project.nvim
- :event :VimEnter
+ :event :BufWinEnter
:requires :nvim-telescope/telescope.nvim
:config (fn []
(require :config.project))}
{1 :windwp/nvim-spectre
;; :cmd [:Replace :ReplaceWord :ReplaceInBuf]
- :event :InsertEnter
+ :event :BufWinEnter
:config (fn []
(require :config.spectre))}
{1 :junegunn/vim-slash
- :event :InsertEnter
+ :event :BufWinEnter
:config (fn []
(require :config.vim-slash))}
{1 :ThePrimeagen/harpoon
- :event :InsertEnter
+ :event :BufWinEnter
;; :cmd [:HapoonAdd :HapoonNext :HapoonPrev :HarpoonUI]
:requires :nvim-telescope/telescope.nvim
:config (fn []
@@ -136,7 +136,7 @@
(def snippets [:rafamadriz/friendly-snippets])
(def text [{1 :numToStr/Comment.nvim
- :event :InsertEnter
+ :event :BufWinEnter
;; :cmd [:CommentNormal :CommentVisual]
:config (fn []
(require :config.comment))}
@@ -154,7 +154,7 @@
:config (fn []
(require :config.trim))}
{1 :max397574/better-escape.nvim
- :event :InsertEnter
+ :event :BufWinEnter
:config (fn []
(require :config.better-escape))}
{1 :windwp/nvim-autopairs
@@ -177,19 +177,19 @@
:config (fn []
(require :config.zen))}
{1 :kevinhwang91/nvim-bqf
- :event :InsertEnter
+ :event :BufWinEnter
:config (fn []
(require :config.bqf))}
{1 :s1n7ax/nvim-window-picker
- :event :InsertEnter
+ :event :WinNew
:config (fn []
(require :config.window-picker))}
{1 :luukvbaal/stabilize.nvim
- :event :InsertEnter
+ :event :BufWinEnter
:config (fn []
(require :config.stabilize))}
{1 :folke/which-key.nvim
- :event :BufReadPre
+ :event :BufWinEnter
:config (fn []
(require :config.which-key))}])