diff --git a/.config/nvim/lua/blake/settings.lua b/.config/nvim/lua/blake/settings.lua index 1de538d..2193af5 100644 --- a/.config/nvim/lua/blake/settings.lua +++ b/.config/nvim/lua/blake/settings.lua @@ -58,13 +58,8 @@ command! QA qa 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 vim.cmd 'command! P previous' @@ -115,7 +110,7 @@ vim.cmd 'let g:markdown_fenced_languages = [ "bash=sh", "javascript", "cpp=cpp", --- autocmd's --- -- 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=' -- Enable linewrap in markdown files