From e1c5a423a6e8abec507d89863903be869762a55e Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 6 Apr 2022 23:47:53 +0200 Subject: chore(lua): nuke lua files --- lua/config/autocommands.lua | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 lua/config/autocommands.lua (limited to 'lua/config/autocommands.lua') diff --git a/lua/config/autocommands.lua b/lua/config/autocommands.lua deleted file mode 100644 index ef144d9..0000000 --- a/lua/config/autocommands.lua +++ /dev/null @@ -1,33 +0,0 @@ --- autocmd! remove all autocommands, if entered under a group it will clear that group - -vim.cmd [[ - augroup _general_settings - autocmd! - autocmd FileType qf,help,man,lspinfo nnoremap q :close - autocmd TextYankPost * silent!lua require('vim.highlight').on_yank({higroup = 'Search', timeout = 200}) - autocmd BufWinEnter * :set formatoptions-=cro - autocmd FileType qf set nobuflisted - augroup end - - augroup _git - autocmd! - autocmd FileType gitcommit setlocal wrap - autocmd FileType gitcommit setlocal spell - augroup end - - augroup _markdown - autocmd! - autocmd FileType markdown setlocal wrap - autocmd FileType markdown setlocal spell - augroup end - - augroup _auto_resize - autocmd! - autocmd VimResized * tabdo wincmd = - augroup end - - augroup _alpha - autocmd! - autocmd User AlphaReady set showtabline=0 | autocmd BufUnload set showtabline=2 - augroup end -]] -- cgit v1.2.3-70-g09d2