1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-10 19:41:15 +02:00

added config files (mimeapps + easyeffects)

This commit is contained in:
2023-07-25 23:23:16 +02:00
parent 3becff4222
commit b37c4d1c61
21 changed files with 5688 additions and 17 deletions

View File

@@ -24,12 +24,12 @@ command = 'setlocal shiftwidth=2 softtabstop=2',
-- cleanup certain files after leaving the editor
vim.api.nvim_create_autocmd({'VimLeave'},
{pattern = {'*.c'},
{pattern = {'c'},
command = '!cclear'
})
vim.api.nvim_create_autocmd({'VimLeave'},
{pattern = {'*.tex'},
{pattern = {'tex'},
command = '!texclear %'
})

View File

@@ -0,0 +1,12 @@
-- read files correctly
vim.filetype.add({
extension = {
h = 'c',
html = 'html',
java = 'java',
js = 'javascript',
md = 'markdown',
nim = 'nim',
py = 'python',
tex = 'tex',
}})