From a2cb99d00549fa90be66c98843a2f9d225c153cc Mon Sep 17 00:00:00 2001 From: Phillip Nguyen Date: Sat, 30 Mar 2024 00:22:14 +0700 Subject: [PATCH] update config --- init.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/init.lua b/init.lua index cdd9b9a5..f2747a95 100644 --- a/init.lua +++ b/init.lua @@ -956,7 +956,11 @@ require('lazy').setup({ -- ... and there is more! -- Check out: https://github.com/echasnovski/mini.nvim + require('mini.files').setup() end, + keys = { + { 'ff', 'lua MiniFiles.open()', desc = 'Toggle file navigator' }, + }, }, { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter', @@ -986,6 +990,16 @@ require('lazy').setup({ { 'christoomey/vim-tmux-navigator', }, + { + 'backdround/global-note.nvim', + config = function() + local global_note = require 'global-note' + + vim.keymap.set('n', 'n', global_note.toggle_note, { + desc = 'Toggle global note', + }) + end, + }, { 'cbochs/grapple.nvim', dependencies = { @@ -1007,6 +1021,7 @@ require('lazy').setup({ { '2', 'Grapple select index=2', desc = 'Grapple select 2' }, { '3', 'Grapple select index=3', desc = 'Grapple select 3' }, { '4', 'Grapple select index=4', desc = 'Grapple select 4' }, + { '5', 'Grapple select index=5', desc = 'Grapple select 5' }, }, },