2024-09-22 18:36:31 +02:00
|
|
|
local cmd = vim.cmd
|
2024-09-23 20:36:20 +02:00
|
|
|
local map = vim.keymap.set
|
2024-09-22 18:36:31 +02:00
|
|
|
|
|
|
|
cmd([[
|
|
|
|
source ~/.vim/init/base.vim
|
|
|
|
source ~/.vim/init/mappings.vim
|
|
|
|
]])
|
|
|
|
|
|
|
|
require("keymaps")
|
|
|
|
|
2024-09-23 20:36:20 +02:00
|
|
|
map({ "n", "v" }, "<leader>p", '<cmd>call VSCodeNotify("workbench.action.quickOpen")<cr>')
|
|
|
|
map({ "n", "v" }, "<leader>f", '<cmd>call VSCodeNotify("workbench.action.findInFiles")<cr>')
|
|
|
|
map({ "n", "v" }, "<leader>b", '<cmd>call VSCodeNotify("workbench.action.toggleSidebarVisibility")<cr>')
|
|
|
|
map({ "n", "v" }, "<leader>t", '<cmd>call VSCodeNotify("workbench.action.togglePanel")<cr>')
|
|
|
|
map({ "n", "v" }, "<leader>ca", "<cmd>call VSCodeNotify('editor.action.quickFix')<cr>")
|