irongit

A readme explaining how to make neovim work fast

able to restart lsp with cz

huncholanehuncholaneauthored
parent d8c350ccommit c55a688c7b902c3b3981cf3070569373047fe6fbBrowse files

5 files changed, +20 -8

+5-5lazy-lock.json
@@ -1,12 +1,11 @@
11 {
2- "CopilotChat.nvim": { "branch": "main", "commit": "f0e9b6cdeabdc7e05c4b9a462ed252cc0b5fb159" },
2+ "CopilotChat.nvim": { "branch": "main", "commit": "75653259442a8eb895abfc70d7064e07aeb7134c" },
33 "LazyVim": { "branch": "main", "commit": "3f034d0a7f58031123300309f2efd3bb0356ee21" },
44 "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" },
55 "SchemaStore.nvim": { "branch": "main", "commit": "ad028f85ec81d58fc5e128c705b8d0f1365898a4" },
66 "Toggleterm": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
77 "alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
8- "auto-session": { "branch": "main", "commit": "9725cdd4dc96746ff1e1a8e59c7244852ca886df" },
9- "blink-cmp-copilot": { "branch": "main", "commit": "439cff78780c033aa23cf061d7315314b347e3c1" },
8+ "auto-session": { "branch": "main", "commit": "7a61d31770bffcf0e31a40781314699b6e66c7ab" },
109 "blink.cmp": { "branch": "main", "commit": "cb5e346d9e0efa7a3eee7fd4da0b690c48d2a98e" },
1110 "bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
1211 "catppuccin": { "branch": "main", "commit": "5b5e3aef9ad7af84f463d17b5479f06b87d5c429" },
@@ -32,16 +31,17 @@
3231 "multicursors.nvim": { "branch": "main", "commit": "72225ea9e4443c3f4b9df91d0193e07c4ee8d382" },
3332 "neo-tree.nvim": { "branch": "main", "commit": "1ef260eb4f54515fe121a2267b477efb054d108a" },
3433 "noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
35- "nui.nvim": { "branch": "main", "commit": "8d3bce9764e627b62b07424e0df77f680d47ffdb" },
34+ "nui.nvim": { "branch": "main", "commit": "8d5b0b568517935d3c84f257f272ef004d9f5a59" },
3635 "nvim-lint": { "branch": "master", "commit": "d698d3b6fd7b1b85657d05a2a31d843ddb682c63" },
3736 "nvim-lspconfig": { "branch": "master", "commit": "5af60bbb835d5b6efdc64cdff2a5b27cde4120de" },
37+ "nvim-tree.lua": { "branch": "master", "commit": "be5b788f2dc1522c73fb7afad9092331c8aebe80" },
3838 "nvim-treesitter": { "branch": "master", "commit": "684eeac91ed8e297685a97ef70031d19ac1de25a" },
3939 "nvim-treesitter-textobjects": { "branch": "master", "commit": "205e3369bc83d8cb83f7409c36120e24611f8c5c" },
4040 "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
4141 "persistence.nvim": { "branch": "main", "commit": "166a79a55bfa7a4db3e26fc031b4d92af71d0b51" },
4242 "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
4343 "project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
44- "render-markdown.nvim": { "branch": "main", "commit": "2d2b30f9fd487e8754a87563f7e8d6485a12493a" },
44+ "render-markdown.nvim": { "branch": "main", "commit": "642222acbab66d56727ac0f38d9432649a479ed4" },
4545 "snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
4646 "telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
4747 "telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" },
+6-3lua/config/keymaps/init.lua
@@ -15,7 +15,7 @@ vim.keymap.set("n", "<leader>ch", function()
1515 end, { desc = "Toggle Markdown Conceal" })
1616
1717 -- Toggle inlay hints
18-vim.keymap.set({ "n", "i", "v", "x", "t" }, "<M-i>", function()
18+vim.keymap.set({ "n" }, "<leader>ci", function()
1919 vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
2020 if vim.lsp.inlay_hint.is_enabled() then
2121 vim.notify("Enabled inlay hint")
@@ -29,5 +29,8 @@ vim.keymap.set("n", "<leader>cu", function()
2929 vim.cmd(":%s/\r//g")
3030 end, { desc = "Remove carriage return" })
3131
32--- Go to normal mode
33-vim.keymap.set("i", ";;", "<Esc>", { desc = "Go to normal`" })
32+-- restart lsp
33+vim.keymap.set("n", "<leader>cz", function()
34+ vim.notify("Running LspRestart")
35+ vim.cmd("LspRestart")
36+end)
+1-0lua/plugins/neotree.lua
@@ -2,6 +2,7 @@ return {
22 {
33 -- https://github.com/nvim-neo-tree/neo-tree.nvim/wiki/Recipes#open-with-system-viewer
44 "nvim-neo-tree/neo-tree.nvim",
5+ -- enabled = false,
56 opts = {
67 filesystem = {
78 hijack_netrw_behavior = "disabled",
+7-0lua/plugins/nvim-tree.lua
@@ -0,0 +1,7 @@
1+return {
2+ "nvim-tree/nvim-tree.lua",
3+ enabled = false,
4+ config = function()
5+ require("nvim-tree").setup()
6+ end,
7+}
+1-0tmux.conf
@@ -62,6 +62,7 @@ set -g @plugin 'sainnhe/tmux-fzf'
6262 set -g @plugin 'imomaliev/tmux-keyboard-layout'
6363 set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
6464 set -g @plugin 'huncholane/tmux-fzf-keys'
65+set -g @plugin 'huncholane/tmux-env-menu'
6566
6667
6768 # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)