From 649a828a627e01ce95ba111ffa6260f3eb007214 Mon Sep 17 00:00:00 2001 From: James Chung Date: Sat, 6 Jul 2024 11:44:46 -0500 Subject: [PATCH] add todo keybinding --- lazy-lock.json | 24 ++++++++++++------------ lua/config/keymaps.lua | 3 +++ lua/plugins/disabled.lua | 4 +++- lua/plugins/snippets.lua | 4 ---- 4 files changed, 18 insertions(+), 17 deletions(-) delete mode 100644 lua/plugins/snippets.lua diff --git a/lazy-lock.json b/lazy-lock.json index 726b2f9..7f64feb 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,5 +1,5 @@ { - "LazyVim": { "branch": "main", "commit": "0471ca14cae4fd249a848a30855e8cfb39be9dbc" }, + "LazyVim": { "branch": "main", "commit": "e9857446ce9b0d31b04683efd120fe7f6a659366" }, "LuaSnip": { "branch": "master", "commit": "ce0a05ab4e2839e1c48d072c5236cce846a387bc" }, "bufferline.nvim": { "branch": "main", "commit": "81820cac7c85e51e4cf179f8a66d13dbf7b032d9" }, "catppuccin": { "branch": "main", "commit": "31fcfb02c47952d5c75aec893b93b2878abe5fbb" }, @@ -9,12 +9,12 @@ "conform.nvim": { "branch": "master", "commit": "cd75be867f2331b22905f47d28c0c270a69466aa" }, "dashboard-nvim": { "branch": "master", "commit": "e6e33b848f0e2fe5c13f6553c568764555c390a3" }, "dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" }, - "flash.nvim": { "branch": "main", "commit": "b3948e75f521878f5bd5a8ae8ee4cf1b1f64b76a" }, + "flash.nvim": { "branch": "main", "commit": "918982a6d95bae9c7d41a7d85d053e77c132bfd4" }, "git-blame.nvim": { "branch": "master", "commit": "408d5487d908dfe5d48e5645d8b27ddcc16b11e0" }, "gitsigns.nvim": { "branch": "main", "commit": "39b5b6f48bde0595ce68007ffce408c5d7ac1f79" }, "indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" }, "lazy.nvim": { "branch": "main", "commit": "6ca23c15f64e88e3ba26be9795343c4c7f2ee851" }, - "lazydev.nvim": { "branch": "main", "commit": "0d859f86b020fbe05990c963b4a45c1ce7dcb43d" }, + "lazydev.nvim": { "branch": "main", "commit": "2d9f9503e1bb9118f6f6b5a893d0258ffe3a403f" }, "lsp-zero.nvim": { "branch": "v3.x", "commit": "87701af045b3032515776abeb47eb8c2ddb5e679" }, "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, "luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" }, @@ -24,7 +24,7 @@ "mini.icons": { "branch": "main", "commit": "22566a0211ed0588f662ff7425094951be0d77e1" }, "mini.pairs": { "branch": "main", "commit": "927d19cbdd0e752ab1c7eed87072e71d2cd6ff51" }, "neo-tree.nvim": { "branch": "main", "commit": "206241e451c12f78969ff5ae53af45616ffc9b72" }, - "noice.nvim": { "branch": "main", "commit": "f278f273e9c9a43bd18ac293b0c36d39b7deec89" }, + "noice.nvim": { "branch": "main", "commit": "7bbd5b4eda99a2738011c1a11775f1c77f19e5f5" }, "nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" }, "nvim-cmp": { "branch": "main", "commit": "a110e12d0b58eefcf5b771f533fc2cf3050680ac" }, "nvim-lint": { "branch": "master", "commit": "efc6fc83f0772283e064c53a8f9fb5645bde0bc0" }, @@ -32,20 +32,20 @@ "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-spectre": { "branch": "master", "commit": "49fae98ef2bfa8342522b337892992e3495065d5" }, "nvim-treesitter": { "branch": "master", "commit": "a8c082b4f5b3b70bde2ffb08cc112dfd7e515fb3" }, - "nvim-treesitter-context": { "branch": "master", "commit": "7f695420543e5f1a1ca55c7f95c73df259491ec0" }, + "nvim-treesitter-context": { "branch": "master", "commit": "f56a1430f21334868a86eb980b12e0af55690e98" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" }, "nvim-ts-autotag": { "branch": "main", "commit": "ddfccbf0df1b9349c2b9e9b17f4afa8f9b6c1ed1" }, "nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" }, - "persistence.nvim": { "branch": "main", "commit": "57953891f8183a49bff2da2cc16995969b8eaed4" }, + "persistence.nvim": { "branch": "main", "commit": "08af8fee779df4804b34a5fbfa74ce360a321bb4" }, "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, "rose-pine": { "branch": "main", "commit": "dded5c15e9d27ac95ad1e803b35a752d80f3f42b" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, "telescope.nvim": { "branch": "master", "commit": "bfcc7d5c6f12209139f175e6123a7b7de6d9c18a" }, - "todo-comments.nvim": { "branch": "main", "commit": "d58b3767f854963996133dce6113fea62377464b" }, + "todo-comments.nvim": { "branch": "main", "commit": "d52da941bf73dad0cb8eba9e73a9a2cf532f07b6" }, "toggleterm.nvim": { "branch": "main", "commit": "066cccf48a43553a80a210eb3be89a15d789d6e6" }, - "tokyonight.nvim": { "branch": "main", "commit": "c2dde8d093b4196a24e8c0fd69ca272f31ba05b9" }, - "trouble.nvim": { "branch": "main", "commit": "e32c194558ebeb433ccfd580a34c66770bc102bd" }, - "ts-comments.nvim": { "branch": "main", "commit": "ea43f37f7c685316c2d30dbae1c6892beb27cd41" }, - "vim-fugitive": { "branch": "master", "commit": "5661dea7be3d176773ed217c424c0d0f5717bd31" }, - "which-key.nvim": { "branch": "main", "commit": "ca2d995c1f7d1ba4ce54a9936a6cdd8cfa594f2d" } + "tokyonight.nvim": { "branch": "main", "commit": "694d2ef4569e92d7397f87cc2bd931ac4ab1f36d" }, + "trouble.nvim": { "branch": "main", "commit": "c787b22446fe41b29ad763a6b671b041d4e805f5" }, + "ts-comments.nvim": { "branch": "main", "commit": "9591d7d3758183a44f9cefc06dccfab89d31212f" }, + "vim-fugitive": { "branch": "master", "commit": "8c8cdf4405cb8bdb70dd9812a33bb52363a87dbc" }, + "which-key.nvim": { "branch": "main", "commit": "df400b7b1af36864dfc69d7254a37ac4bc69d2fd" } } \ No newline at end of file diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index b983e74..105f9e4 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -28,6 +28,9 @@ vim.keymap.set('n', 'tg', builtin.live_grep, {}) vim.keymap.set('n', 'tb', builtin.buffers, {}) vim.keymap.set('n', 'th', builtin.help_tags, {}) +-- Set folke/todo-comments.nvim toggle keybinding +vim.api.nvim_set_keymap("n", "td", "TodoTelescope", { noremap = true, silent = true }) + -- Set folke/trouble.nvim toggle keybinding vim.api.nvim_set_keymap("n", "tt", "TroubleToggle", { noremap = true, silent = true }) diff --git a/lua/plugins/disabled.lua b/lua/plugins/disabled.lua index 4b1d614..13f454b 100644 --- a/lua/plugins/disabled.lua +++ b/lua/plugins/disabled.lua @@ -1,3 +1,5 @@ return { - { "3rd/image.nvim", enabled = false }, + { "3rd/image.nvim", enabled = false }, + { "garymjr/nvim-snippets", enabled = false }, + { "rafamadriz/friendly-snippets", enabled = false }, } diff --git a/lua/plugins/snippets.lua b/lua/plugins/snippets.lua deleted file mode 100644 index f400097..0000000 --- a/lua/plugins/snippets.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - { "garymjr/nvim-snippets", enabled = false }, - { "rafamadriz/friendly-snippets", enabled = false }, -}