Newline on <CR>

This commit is contained in:
Olli Vuolteenaho 2023-06-23 16:21:10 +03:00
parent d024edc2bd
commit 96f393672a
1 changed files with 3 additions and 0 deletions

View File

@ -491,6 +491,9 @@ vim.defer_fn(function()
}
end, 0)
-- Newline on <CR>
vim.keymap.set('n', '<CR>', 'o<Esc>')
-- [[ Configure LSP ]]
-- This function gets run when an LSP connects to a particular buffer.
local on_attach = function(_, bufnr)