diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-02-24 19:41:37 +0000 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-02-24 19:41:37 +0000 |
| commit | da863a8344e960fa6a896ffe24bfdc71aa88e288 (patch) | |
| tree | 35ddd755ff46e05c89a541e997d4baebf261bf95 /.config/nvim/lua/config/autocmd.lua | |
| parent | fc43df4ded3dfef70b21daad37893dad7b03c560 (diff) | |
Removed Neovim
Diffstat (limited to '.config/nvim/lua/config/autocmd.lua')
| -rw-r--r-- | .config/nvim/lua/config/autocmd.lua | 43 |
1 files changed, 0 insertions, 43 deletions
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("<CR>")' -}) - --- Replacement for vim-highlightedyank -autocmd("TextYankPost", { - desc = "Highlight selection on yanked text", - callback = function() - vim.highlight.on_yank({ higroup = 'IncSearch', timeout = 500 }) - end, -}) |
