diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2025-11-23 11:23:07 +0000 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2025-11-23 11:23:07 +0000 |
| commit | b38c230ddeb4d304e56cb3e4a1d3d8081f45d550 (patch) | |
| tree | cefc147012923f76b5151a7982cfe45e008a95ed /.config/nvim/lua/config/autocmd.lua | |
| parent | 3259b10a11cdb6b967457715cec2ff8d7a9aaecf (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, -}) |
