nvim: remove bad aucmds

This commit is contained in:
PowerUser64 2022-08-14 15:54:51 -07:00
parent 952eec8051
commit 826e9ce523

View file

@ -58,13 +58,8 @@ command! QA qa
command! Wqa wqa command! Wqa wqa
command! WQa wqa command! WQa wqa
command! WQA wqa command! WQA wqa
command! Set set
]] ]]
-- Quit even if there are more files to edit (files passed from the command line)
vim.cmd 'au QuitPre * args %'
-- Go to previous file, but faster -- Go to previous file, but faster
vim.cmd 'command! P previous' vim.cmd 'command! P previous'
@ -115,7 +110,7 @@ vim.cmd 'let g:markdown_fenced_languages = [ "bash=sh", "javascript", "cpp=cpp",
--- autocmd's --- --- autocmd's ---
-- Set comment strings -- Set comment strings
vim.cmd 'autocmd FileType crontab set commentstring=#%s' vim.cmd 'autocmd FileType crontab setlocal commentstring=#%s'
-- vim.cmd 'autocmd FileType rmd set commentstring=<!--\\ %s\\ -->' -- vim.cmd 'autocmd FileType rmd set commentstring=<!--\\ %s\\ -->'
-- Enable linewrap in markdown files -- Enable linewrap in markdown files