Add new vscode bindings

This commit is contained in:
Eric Tiedemann 2023-11-27 15:08:00 -05:00
parent 2ade796257
commit b071a5fea0
2 changed files with 19 additions and 1 deletions

18
lua/vscode-plugins.lua Normal file
View File

@ -0,0 +1,18 @@
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
vim.fn.system {
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable', -- latest stable release
lazypath,
}
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
{
'kylechui/nvim-surround',
opts = { config = {} }
}
})

View File

@ -1,4 +1,4 @@
lua require('plugins') lua require('vscode-plugins')
nnoremap <ESC> :noh<CR> nnoremap <ESC> :noh<CR>
nnoremap <C-U> <PageUp>z. nnoremap <C-U> <PageUp>z.