neovim-config/lua/config/autocmds.lua

10 lines
394 B
Lua
Raw Normal View History

-- 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
2023-12-01 20:28:11 +00:00
-- Turn off cursorline in terminal windows
vim.api.nvim_create_autocmd("TermOpen", {
pattern = "*",
command = "setlocal listchars= | set nocursorline | set nocursorcolumn",
})