Add keymap for closing terminal
This commit is contained in:
parent
35d7773232
commit
f57f5c8632
@ -6,3 +6,6 @@ vim.opt.relativenumber = true
|
|||||||
|
|
||||||
-- Set custom colorscheme [[ NOTE: Never set it to "onedark" cuz it breaks the editor ]]
|
-- Set custom colorscheme [[ NOTE: Never set it to "onedark" cuz it breaks the editor ]]
|
||||||
vim.cmd.colorscheme 'gruvbox'
|
vim.cmd.colorscheme 'gruvbox'
|
||||||
|
|
||||||
|
vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]], { noremap = true })
|
||||||
|
-- vim.keymap.set('n', '<>', [[]], {})
|
||||||
|
2
init.lua
2
init.lua
@ -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' },
|
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!)
|
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||||
auto_install = false,
|
auto_install = true,
|
||||||
|
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user