improve terminal buffers

This commit is contained in:
2025-10-13 18:56:05 +03:00
parent 78239cafb8
commit 47823a0c50
15 changed files with 461 additions and 219 deletions

View File

@@ -1,5 +1,3 @@
vim.keymap.set('n', '<leader>e', '<cmd>NvimTreeToggle<CR>')
local function my_on_attach(bufnr)
local api = require('nvim-tree.api')
local opts = { buffer = bufnr }
@@ -95,7 +93,6 @@ return {
},
hijack_cursor = true,
hijack_unnamed_buffer_when_opening = true,
prefer_startup_root = true,
update_focused_file = {
enable = true,

View File

@@ -1,15 +1,15 @@
return {
{
'windwp/nvim-ts-autotag',
opts = {
autotag = {
enable = true,
enable_close = true,
enable_rename = true,
enable_close_on_slash = true,
},
},
},
-- {
-- 'windwp/nvim-ts-autotag',
-- opts = {
-- autotag = {
-- enable = true,
-- enable_close = true,
-- enable_rename = true,
-- enable_close_on_slash = true,
-- },
-- },
-- },
{
'windwp/nvim-autopairs',
event = 'InsertEnter',