mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-28 05:57:45 +01:00
nvim: changed file structure more intuitively
This commit is contained in:
parent
c28479a090
commit
9e5da42a0e
@ -110,7 +110,7 @@
|
|||||||
"clipping-range": 6.0,
|
"clipping-range": 6.0,
|
||||||
"fft": "4096",
|
"fft": "4096",
|
||||||
"input-gain": 0.0,
|
"input-gain": 0.0,
|
||||||
"output-gain": -20.0,
|
"output-gain": 15.0,
|
||||||
"std": "ISO226-2003",
|
"std": "ISO226-2003",
|
||||||
"volume": -6.499999999999993
|
"volume": -6.499999999999993
|
||||||
},
|
},
|
||||||
@ -119,7 +119,7 @@
|
|||||||
"deesser#0",
|
"deesser#0",
|
||||||
"filter#0",
|
"filter#0",
|
||||||
"gate#0",
|
"gate#0",
|
||||||
"rnnoise",
|
"rnnoise#0",
|
||||||
"limiter#0",
|
"limiter#0",
|
||||||
"loudness#0"
|
"loudness#0"
|
||||||
],
|
],
|
||||||
|
@ -51,24 +51,31 @@ vim.o.signcolumn = "yes"
|
|||||||
vim.o.undofile = true
|
vim.o.undofile = true
|
||||||
vim.o.undodir = vim.env.XDG_CACHE_HOME .. "/vim/undo"
|
vim.o.undodir = vim.env.XDG_CACHE_HOME .. "/vim/undo"
|
||||||
|
|
||||||
-- delete trailing whitespaces on save
|
|
||||||
vim.api.nvim_create_autocmd({'BufWritePre'},
|
|
||||||
{pattern = {'*'},
|
|
||||||
command = [[%s/\s\+$//e]],
|
|
||||||
})
|
|
||||||
|
|
||||||
-- python programs to use
|
-- python programs to use
|
||||||
vim.g.python_host_prog = '/usr/bin/python2'
|
vim.g.python_host_prog = '/usr/bin/python2'
|
||||||
vim.g.python3_host_prog = '/usr/bin/python3'
|
vim.g.python3_host_prog = '/usr/bin/python3'
|
||||||
|
|
||||||
|
-- read files correctly
|
||||||
|
vim.filetype.add({
|
||||||
|
extension = {
|
||||||
|
h = 'c',
|
||||||
|
html = 'html',
|
||||||
|
java = 'java',
|
||||||
|
md = 'markdown',
|
||||||
|
nim = 'nim',
|
||||||
|
py = 'python',
|
||||||
|
tex = 'tex',
|
||||||
|
}})
|
||||||
|
|
||||||
-- load plugins (autoload all files in plugin folder)
|
-- load plugins (autoload all files in plugin folder)
|
||||||
require('loadplugins')
|
require('loadplugins')
|
||||||
|
|
||||||
-- load filetype specific mappings and commands
|
-- load filetype specific mappings and commands
|
||||||
require('filetype')
|
require('autocmd')
|
||||||
|
|
||||||
-- load general mapped keys
|
-- load general mapped keys
|
||||||
require('keymap')
|
require('keymap')
|
||||||
|
|
||||||
-- load general colorscheme
|
-- load general colorscheme
|
||||||
require('colorscheme')
|
require('colorscheme')
|
||||||
|
|
||||||
|
@ -1,16 +1,10 @@
|
|||||||
-- filetype
|
-- autocmd
|
||||||
|
|
||||||
-- read files correctly
|
-- delete trailing whitespaces on save
|
||||||
vim.filetype.add({
|
vim.api.nvim_create_autocmd({'BufWritePre'},
|
||||||
extension = {
|
{pattern = {'*'},
|
||||||
h = 'c',
|
command = [[%s/\s\+$//e]],
|
||||||
html = 'html',
|
})
|
||||||
java = 'java',
|
|
||||||
md = 'markdown',
|
|
||||||
nim = 'nim',
|
|
||||||
py = 'python',
|
|
||||||
tex = 'tex',
|
|
||||||
}})
|
|
||||||
|
|
||||||
-- formatting options
|
-- formatting options
|
||||||
vim.api.nvim_create_autocmd({'FileType'},
|
vim.api.nvim_create_autocmd({'FileType'},
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
window=$(xdotool getwindowfocus)
|
window=$(xdotool getwindowfocus)
|
||||||
fps=30
|
fps=60
|
||||||
audio="$(pactl get-default-sink).monitor"
|
audio="$(pactl get-default-sink).monitor"
|
||||||
format="mp4"
|
format="mp4"
|
||||||
lenght=20
|
lenght=20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user