aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2025-02-05 18:43:29 +0000
committerJustine Smithies <justine@smithies.me.uk>2025-02-05 18:43:29 +0000
commitfa3966b3803c529a703e7f96151ccfeb60e994ca (patch)
treef3c8a5deb797d9f61d14907de62bb03989791cab
parent164933efe04e7f8ec78292f49067aee3777ed94b (diff)
Changed comment for - Insert mode off when terminal exit
-rw-r--r--.config/nvim/lua/config/autocmd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/config/autocmd.lua b/.config/nvim/lua/config/autocmd.lua
index ad7493f..ae75c6d 100644
--- a/.config/nvim/lua/config/autocmd.lua
+++ b/.config/nvim/lua/config/autocmd.lua
@@ -23,7 +23,7 @@ autocmd('TermOpen', {
command = 'startinsert'
})
--- Close terminal buffer on process exit
+-- Insert mode off on Terminal exit
autocmd('BufLeave', {
pattern = 'term://*',
command = 'stopinsert'