mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-07-09 21:44:26 +02:00
Testing snacks pluggin
This commit is contained in:
parent
d02762b7c9
commit
9ce05d9a75
5 changed files with 560 additions and 47 deletions
|
@ -3,7 +3,6 @@
|
|||
|
||||
-- Set highlight on search, but clear on pressing <Esc> in normal mode
|
||||
|
||||
vim.keymap.set('n', '<leader>mt', '<cmd>NvimTreeFocus<CR>')
|
||||
vim.keymap.set('n', '<C-o>', '<cmd>ClangdSwitchSourceHeader<CR>', { desc = 'Swith to source/header file' })
|
||||
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' })
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
-- You can add your own plugins here or in other files in this directory!
|
||||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {}
|
17
lua/custom/plugins/tabby.lua
Normal file
17
lua/custom/plugins/tabby.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
-- You can add your own plugins here or in other files in this directory!
|
||||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {
|
||||
{
|
||||
'TabbyML/vim-tabby',
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
'neovim/nvim-lspconfig',
|
||||
},
|
||||
init = function()
|
||||
vim.g.tabby_agent_start_command = { 'npx', 'tabby-agent', '--stdio' }
|
||||
vim.g.tabby_inline_completion_trigger = 'auto'
|
||||
end,
|
||||
},
|
||||
}
|
|
@ -9,16 +9,6 @@ vim.opt.encoding = 'UTF-8'
|
|||
vim.opt.wrap = false
|
||||
vim.opt.termguicolors = true
|
||||
vim.opt.autoindent = true
|
||||
vim.api.nvim_create_augroup('neotree', {})
|
||||
vim.api.nvim_create_autocmd('UiEnter', {
|
||||
desc = 'Open Neotree automatically',
|
||||
group = 'neotree',
|
||||
callback = function()
|
||||
if vim.fn.argc() == 0 then
|
||||
vim.cmd 'NvimTreeToggle'
|
||||
end
|
||||
end,
|
||||
})
|
||||
vim.opt.number = true
|
||||
vim.opt.mouse = 'a'
|
||||
vim.opt.showmode = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue