applied my custom settings without breaking anything

This commit is contained in:
topper3418 2024-07-21 22:46:30 -05:00
parent 452854b26d
commit 6aa224ecad
24 changed files with 3034 additions and 768 deletions

View file

@ -0,0 +1,5 @@
return {
'tpope/vim-dadbod',
'kristijanhusak/vim-dadbod-completion',
'kristijanhusak/vim-dadbod-ui'
}

View file

@ -0,0 +1,19 @@
return {
'kdheepak/lazygit.nvim',
cmd = {
'LazyGit',
'LazyGitConfig',
'LazyGitCurrentFile',
'LazyGitFilter',
'LazyGitFilterCurrentFile',
},
-- optional for floating window border decoration
dependencies = {
'nvim-lua/plenary.nvim',
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ '<leader>lg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
},
}

View file

@ -0,0 +1,39 @@
return {
'stevearc/oil.nvim',
opts = {
columns = {
'icon',
-- "permissions",
'size',
'mtime',
},
},
keymaps = {
['g?'] = 'actions.show_help',
['<CR>'] = 'actions.select',
['<C-s>'] = { 'actions.select', opts = { vertical = true }, desc = 'Open the entry in a vertical split' },
['<C-t>'] = { 'actions.select', opts = { tab = true }, desc = 'Open the entry in new tab' },
['<C-p>'] = 'actions.preview',
['<C-c>'] = 'actions.close',
['-'] = 'actions.parent',
['_'] = 'actions.open_cwd',
['`'] = 'actions.cd',
['~'] = { 'actions.cd', opts = { scope = 'tab' }, desc = ':tcd to the current oil directory' },
['gs'] = 'actions.change_sort',
['gx'] = 'actions.open_external',
['g.'] = 'actions.toggle_hidden',
['g\\'] = 'actions.toggle_trash',
},
keys = {
{
'-',
'<CMD>Oil<CR>',
desc = 'Open parent directory',
mode = { 'n' }
}
},
use_default_keymaps = false,
-- Optional dependencies
-- dependencies = { 'echasnovski/mini.icons' },
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- use if prefer nvim-web-devicons
}

View file

@ -0,0 +1,32 @@
return {
'nomnivore/ollama.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
},
-- All the user commands added by the plugin
cmd = { 'Ollama', 'OllamaModel', 'OllamaServe', 'OllamaServeStop' },
keys = {
-- Sample keybind for prompt menu. Note that the <c-u> is important for selections to work properly.
{
'<leader>oo',
":<c-u>lua require('ollama').prompt()<cr>",
desc = 'ollama prompt',
mode = { 'n', 'v' },
},
-- Sample keybind for direct prompting. Note that the <c-u> is important for selections to work properly.
{
'<leader>oG',
":<c-u>lua require('ollama').prompt('Generate_Code')<cr>",
desc = 'ollama Generate Code',
mode = { 'n', 'v' },
},
},
---@type Ollama.Config
opts = {
-- your configuration overrides
},
}