Add keymap for closing terminal

This commit is contained in:
rajvatsal 2023-12-12 21:19:29 +05:30
parent 35d7773232
commit f57f5c8632
2 changed files with 4 additions and 1 deletions

View File

@ -6,3 +6,6 @@ vim.opt.relativenumber = true
-- Set custom colorscheme [[ NOTE: Never set it to "onedark" cuz it breaks the editor ]]
vim.cmd.colorscheme 'gruvbox'
vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]], { noremap = true })
-- vim.keymap.set('n', '<>', [[]], {})

View File

@ -430,7 +430,7 @@ vim.defer_fn(function()
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash', 'markdown', 'html', 'css' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,
auto_install = true,
highlight = { enable = true },
indent = { enable = true },