1
0
Fork 0
dotfiles/nvim/lua/config/bindings.lua
2024-10-26 04:36:03 -04:00

13 lines
630 B
Lua

vim.g.mapleader = " "
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
vim.keymap.set("n", "<leader>sy", vim.cmd.PackerSync)
vim.keymap.set("n", "<leader>ty", vim.cmd.TSUpdate)
vim.keymap.set("n", "<leader>o", "<Cmd>Neotree<CR>")
vim.keymap.set("n", "<leader>t", "<Cmd>Neotree toggle<CR>")
vim.keymap.set("n", "<leader>p", "<Cmd>bp<CR>")
vim.keymap.set("n", "<leader>q", "<Cmd>bd<CR>")
vim.keymap.set("n", "<leader>l", "<Cmd>bl<CR>")
vim.keymap.set("n", "<leader>lb", "<Cmd>VGit toggle_live_blame<CR>")
vim.keymap.set("n", "<leader>bp", "<Cmd>VGit buffer_blame_preview<CR>")