Update autocmds and keybinds
This commit is contained in:
parent
1ad0a620c9
commit
547daf4000
3 changed files with 15 additions and 12 deletions
|
|
@ -12,7 +12,7 @@ vim.api.nvim_create_autocmd("BufWritePost", {
|
|||
|
||||
local commitMessage = get_file_name(args.file) .. "-" .. os.date("%m_%B_%Y")
|
||||
|
||||
os.execute("git add " .. args.file)
|
||||
os.execute('git add "' .. args.file .. '"')
|
||||
local commitCommand = 'git commit -m "' .. commitMessage .. '" &> /dev/null'
|
||||
local commitResult = os.execute(commitCommand)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue