Removed uneeded configs
This commit is contained in:
+8
-14
@@ -49,20 +49,6 @@ map("n", "<C-e>", ":Lex<CR>")
|
||||
map("n", "<C-backspace>", ":bd<CR>")
|
||||
map("i", "<C-h>", vim.lsp.buf.signature_help)
|
||||
-- -----------------------------
|
||||
-- @PLUGINS
|
||||
-- -----------------------------
|
||||
vim.pack.add({
|
||||
{ src = 'https://github.com/ibhagwan/fzf-lua' },
|
||||
{ src = "https://github.com/saghen/blink.lib" },
|
||||
{ src = "https://github.com/Saghen/blink.cmp" },
|
||||
{ src = 'https://github.com/neovim/nvim-lspconfig' },
|
||||
{ src = 'https://github.com/romus204/tree-sitter-manager.nvim' },
|
||||
{ src = 'https://github.com/lukas-reineke/indent-blankline.nvim' },
|
||||
{ src = 'https://github.com/xiyaowong/transparent.nvim' },
|
||||
{ src = "https://github.com/nvim-tree/nvim-tree.lua" },
|
||||
})
|
||||
require("plugins")()
|
||||
-- -----------------------------
|
||||
-- @AUTOCMDS
|
||||
-- -----------------------------
|
||||
-- Terminals should open with insert mode
|
||||
@@ -93,3 +79,11 @@ vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
vim.fn.setpos(".", save_cursor)
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_augroup('AutoResizeWindows', { clear = true })
|
||||
vim.api.nvim_create_autocmd('VimResized', {
|
||||
group = 'AutoResizeWindows',
|
||||
callback = function()
|
||||
vim.cmd('wincmd =')
|
||||
end,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user