Skip to content

Commit

Permalink
add todo keybinding
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesChung committed Jul 6, 2024
1 parent 8bf99a8 commit 649a828
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
24 changes: 12 additions & 12 deletions lazy-lock.json
Original file line number Diff line number Diff line change
@@ -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" },
Expand All @@ -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" },
Expand All @@ -24,28 +24,28 @@
"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" },
"nvim-lspconfig": { "branch": "master", "commit": "cf97d2485fc3f6d4df1b79a3ea183e24c272215e" },
"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" }
}
3 changes: 3 additions & 0 deletions lua/config/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ vim.keymap.set('n', '<leader>tg', builtin.live_grep, {})
vim.keymap.set('n', '<leader>tb', builtin.buffers, {})
vim.keymap.set('n', '<leader>th', builtin.help_tags, {})

-- Set folke/todo-comments.nvim toggle keybinding
vim.api.nvim_set_keymap("n", "<leader>td", "<Cmd>TodoTelescope<CR>", { noremap = true, silent = true })

-- Set folke/trouble.nvim toggle keybinding
vim.api.nvim_set_keymap("n", "<leader>tt", "<Cmd>TroubleToggle<CR>", { noremap = true, silent = true })

Expand Down
4 changes: 3 additions & 1 deletion lua/plugins/disabled.lua
Original file line number Diff line number Diff line change
@@ -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 },
}
4 changes: 0 additions & 4 deletions lua/plugins/snippets.lua

This file was deleted.

0 comments on commit 649a828

Please sign in to comment.