update vim config
This commit is contained in:
parent
3a76bbf0c6
commit
c37bf09c81
9 changed files with 267 additions and 40 deletions
17
lua/plugins/dadbod.lua
Normal file
17
lua/plugins/dadbod.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
'kristijanhusak/vim-dadbod-ui',
|
||||
dependencies = {
|
||||
{ 'tpope/vim-dadbod', lazy = true },
|
||||
{ 'kristijanhusak/vim-dadbod-completion', ft = { 'sql', 'mysql', 'plsql' }, lazy = true },
|
||||
},
|
||||
cmd = {
|
||||
'DBUI',
|
||||
'DBUIToggle',
|
||||
'DBUIAddConnection',
|
||||
'DBUIFindBuffer',
|
||||
},
|
||||
init = function()
|
||||
-- Your DBUI configuration
|
||||
vim.g.db_ui_use_nerd_fonts = 1
|
||||
end,
|
||||
}
|
||||
7
lua/plugins/gopher.lua
Normal file
7
lua/plugins/gopher.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
'olexsmir/gopher.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
}
|
||||
|
|
@ -5,10 +5,10 @@ vim.opt.splitright = true
|
|||
vim.keymap.set('n', '||', '<cmd>vsplit<cr>', { desc = 'Vertical Split' })
|
||||
vim.keymap.set('n', '--', '<cmd>split<cr>', { desc = 'Horinzontal Split' })
|
||||
|
||||
vim.keymap.set('n', '<C-h>', '<C-w>h', { desc = 'Navigate to the left' })
|
||||
vim.keymap.set('n', '<C-j>', '<C-w>', { desc = 'Navigate below' })
|
||||
vim.keymap.set('n', '<C-k>', '<C-w>k', { desc = 'Navigate up' })
|
||||
vim.keymap.set('n', '<C-l>', '<C-w>l', { desc = 'Navigate right' })
|
||||
-- vim.keymap.set('n', '<C-h>', '<C-w>h', { desc = 'Navigate to the left' })
|
||||
-- vim.keymap.set('n', '<C-j>', '<C-w>', { desc = 'Navigate below' })
|
||||
-- vim.keymap.set('n', '<C-k>', '<C-w>k', { desc = 'Navigate up' })
|
||||
-- vim.keymap.set('n', '<C-l>', '<C-w>l', { desc = 'Navigate right' })
|
||||
|
||||
vim.keymap.set('n', '<leader>sh', '<C-w>h', { desc = 'Navigate to the left' })
|
||||
vim.keymap.set('n', '<leader>sw', '<C-w>', { desc = 'Navigate below' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue