Turn off cursorline in terminal

This commit is contained in:
2023-12-01 15:28:11 -05:00
parent c822930602
commit 2e781ef1db
2 changed files with 15 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
-- 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
-- Turn off cursorline in terminal windows
vim.api.nvim_create_autocmd("TermOpen", {
pattern = "*",
command = "setlocal listchars= | set nocursorline | set nocursorcolumn",
})