From b38c230ddeb4d304e56cb3e4a1d3d8081f45d550 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sun, 23 Nov 2025 11:23:07 +0000 Subject: Removed Neovim --- .config/nvim/lua/config/autocmd.lua | 43 ------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .config/nvim/lua/config/autocmd.lua (limited to '.config/nvim/lua/config/autocmd.lua') diff --git a/.config/nvim/lua/config/autocmd.lua b/.config/nvim/lua/config/autocmd.lua deleted file mode 100644 index 6f90977..0000000 --- a/.config/nvim/lua/config/autocmd.lua +++ /dev/null @@ -1,43 +0,0 @@ -local autocmd = vim.api.nvim_create_autocmd -- Create autocommand - --- Remove end of buffer ~ on buffer enter -autocmd('BufEnter', { - pattern = '*', - command = "let &fcs='eob: '" -}) - --- Turn off line numbers and signcolumn on entering terminal -autocmd("TermOpen", { - callback = function() - vim.opt_local.number = false - vim.opt_local.relativenumber = false - vim.opt_local.signcolumn = 'no' - end, - desc = "Disable line numbers and signcolumnn in terminal", -}) - --- Insert mode on entering terminal -autocmd('TermOpen', { - pattern = '*', - command = 'startinsert' -}) - --- Insert mode off on Terminal exit -autocmd('BufLeave', { - pattern = 'term://*', - command = 'stopinsert' -}) - --- Close terminal buffer on process exit -autocmd('TermClose', { - pattern = 'term://*', - command = 'call nvim_input("")' -}) - --- Replacement for vim-highlightedyank -autocmd("TextYankPost", { - desc = "Highlight selection on yanked text", - callback = function() - vim.highlight.on_yank({ higroup = 'IncSearch', timeout = 500 }) - end, -}) -- cgit v1.2.3