.nvim/lua/config/autocmds.lua
Ryan Manseau 567bfcc06e initial commit
added a bunch of config to try and get things closer to my doom emacs
setup. still not perfect.
2023-05-25 10:18:01 -07:00

8 lines
322 B
Lua

-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here
-- autocmd InsertLeave * :normal `^
vim.api.nvim_create_autocmd("InsertLeave", { command = ":normal `^" })