diff options
author | terminaldweller <thabogre@gmail.com> | 2022-06-23 15:04:54 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-06-23 15:04:54 +0000 |
commit | 05c365a54dd074872a6c46f7bd0c6680f7588f71 (patch) | |
tree | d896ea101de423427be13cad55418e793c9d03ee /.vimrc | |
parent | cointop (diff) | |
download | scripts-05c365a54dd074872a6c46f7bd0c6680f7588f71.tar.gz scripts-05c365a54dd074872a6c46f7bd0c6680f7588f71.zip |
updates
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1491,6 +1491,21 @@ augroup ALECSS autocmd FileType css let b:ale_fixers = {'css': ['prettier']} augroup END +" we can edit gzip files because of this +augroup gzip + autocmd! + autocmd BufReadPre,FileReadPre *.gz set bin + autocmd BufReadPost,FileReadPost *.gz '[,']!gunzip + autocmd BufReadPost,FileReadPost *.gz set nobin + autocmd BufReadPost,FileReadPost *.gz execute ":doautocmd BufReadPost " . expand("%:r") + autocmd BufWritePost,FileWritePost *.gz !mv <afile> <afile>:r + autocmd BufWritePost,FileWritePost *.gz !gzip <afile>:r + autocmd FileAppendPre *.gz !gunzip <afile> + autocmd FileAppendPre *.gz !mv <afile>:r <afile> + autocmd FileAppendPost *.gz !mv <afile> <afile>:r + autocmd FileAppendPost *.gz !gzip <afile>:r +augroup END + "latex let g:tex_flavor = 'latex' let g:vimtex_matchparen_enabled = 0 |