You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
197 B
Lua
8 lines
197 B
Lua
3 years ago
|
local cmd = vim.cmd
|
||
|
|
||
|
-- Remap exit terminal mode to esc
|
||
|
cmd('au TermOpen * tnoremap <buffer> <Esc> <c-\\><c-n>')
|
||
|
|
||
|
-- Fix YAML indentation
|
||
|
cmd('au FileType yaml setlocal ts=2 sts=2 sw=2 expandtab')
|