summaryrefslogtreecommitdiff
path: root/lua/config/autocommands.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 21:15:44 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 21:15:44 +0200
commit82779fc7fbb42f5f97bf5840d3248ad84a63c095 (patch)
tree7d8327aa0f7eeea7fed99b69c554eb19c671ef29 /lua/config/autocommands.lua
parent4ec6fb5118f95f00dbacdcf0470e0f9fffd86abc (diff)
parentc561be2e3e71c226985640320559e3bf5e1c7034 (diff)
feat(fennel): migration
Diffstat (limited to 'lua/config/autocommands.lua')
-rw-r--r--lua/config/autocommands.lua33
1 files changed, 0 insertions, 33 deletions
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 <silent> <buffer> q :close<CR>
- 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 <buffer> set showtabline=2
- augroup end
-]]