aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2023-09-29 19:20:55 +0100
committerJustine Smithies <justine@smithies.me.uk>2023-09-29 19:20:55 +0100
commitf4b859f9d4f1dcdd26d5d68a558c999347dcbc90 (patch)
treeb5016b6bd5ec88a4495f1395fa8d6991f28cf15b /.config/nvim
parent921dc6defe6509b107618b58a4a3ec676ef36e5f (diff)
Updated Indent-blankline mapping as moved to V3
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/mapping.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/nvim/lua/mapping.lua b/.config/nvim/lua/mapping.lua
index d454eec..c0ffe3f 100644
--- a/.config/nvim/lua/mapping.lua
+++ b/.config/nvim/lua/mapping.lua
@@ -9,15 +9,13 @@ end
-- Toggle line numbers
map("n", "<F4>", "<cmd>:set number!<cr>", { silent = true })
-- Toggle IndentBlankline
-map("n", "<F5>", "<cmd>:IndentBlanklineToggle<cr>", { silent = true })
+map("n", "<F5>", "<cmd>:IBLToggle<cr>", { silent = true })
-- Toggle Undotree
map("n", "<F6>", "<cmd>:lua require('undotree').toggle()<cr>", { silent = true })
-- Toggle Nvim Tree
map("n", "<F7>", "<cmd>NvimTreeToggle<cr> <cmd>NvimTreeRefresh<cr>", { silent = true })
-- Toggle Tagbar
map("n", "<F8>", "<cmd>:TagbarToggle<cr>", { silent = true })
--- Toggle Tagbar
-map("n", "<F8>", "<cmd>:TagbarToggle<cr>", { silent = true })
-- Toggle lsp_lines
vim.keymap.set("", "<F12>", require("lsp_lines").toggle, { desc = "Toggle lsp_lines" })