Update NeoVim VSCode mappings
parent
ea4bb90bab
commit
78fafd18ee
|
@ -1,5 +1,5 @@
|
|||
local cmd = vim.cmd
|
||||
local bind = vim.keymap.set
|
||||
local map = vim.keymap.set
|
||||
|
||||
cmd([[
|
||||
source ~/.vim/init/base.vim
|
||||
|
@ -8,7 +8,8 @@ source ~/.vim/init/mappings.vim
|
|||
|
||||
require("keymaps")
|
||||
|
||||
bind('n', '<leader>p', '<cmd>call VSCodeNotify("workbench.action.quickOpen")<cr>')
|
||||
bind('n', '<leader>f', '<cmd>call VSCodeNotify("workbench.action.findInFiles")<cr>')
|
||||
bind('n', '<leader>b', '<cmd>call VSCodeNotify("workbench.action.toggleSidebarVisibility")<cr>')
|
||||
bind('n', '<leader>t', '<cmd>call VSCodeNotify("workbench.action.togglePanel")<cr>')
|
||||
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>")
|
||||
|
|
Loading…
Reference in New Issue