Skip to content

Commit

Permalink
Update .config/nvim/lua/core/keymaps.lua
Browse files Browse the repository at this point in the history
Update .config/nvim/lua/plugins/nvim-lspconfig.lua
Update .config/nvim/lua/plugins/nvim-tree.lua
  • Loading branch information
Hyuga-Tsukui committed Oct 30, 2024
1 parent c2ae053 commit d825a26
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions dot_config/nvim/lua/core/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")
-- vim.keymap.set("x", "i<space>", "iW", { noremap = true, silent = true })

if not vim.g.vscode then
-- vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
vim.keymap.set("n", "<C-p>", ":FzfLua files<CR>", { noremap = true })
vim.keymap.set("n", "<leader>dq", ":lua vim.diagnostic.setloclist()<CR>")
vim.keymap.set("n", "<leader>e", ":NvimTreeToggle<CR>")
end
2 changes: 1 addition & 1 deletion dot_config/nvim/lua/plugins/nvim-lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ return {

-- Lsp Keymaps.
-- global.
vim.keymap.set("n", "<space>e", vim.diagnostic.open_float)
-- vim.keymap.set("n", "<space>e", vim.diagnostic.open_float)
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
vim.keymap.set("n", "]d", vim.diagnostic.goto_next)
vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist)
Expand Down
1 change: 0 additions & 1 deletion dot_config/nvim/lua/plugins/nvim-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ return {
event = "VeryLazy",
config = function()
require("nvim-tree").setup({})
vim.g.mapleader = " "
vim.keymap.set("n", "<leader>e", ":NvimTreeToggle<CR>")
end,
}

0 comments on commit d825a26

Please sign in to comment.