diff --git a/.config/nvim/init/general.vim b/.config/nvim/init/general.vim index b849942..09305ca 100644 --- a/.config/nvim/init/general.vim +++ b/.config/nvim/init/general.vim @@ -52,7 +52,7 @@ autocmd BufRead $XDG_CONFIG_HOME/yadm/bootstrap setlocal filetype=sh " shebang shortcut - https://www.reddit.com/r/vim/comments/4z7z7s/add_shebang_lines_to_your_vim_files_automatically/d6v7op8 and https://stackoverflow.com/a/52135425 inoreabbrev #!! "#!/usr/bin/env" . (empty(&filetype) ? '' : ' '.&filetype) -autocmd BufNewFile *.sh,$HOME/.local/bin/* execute 'silent! 1s/.*/#!\/bin\/sh\r'| setlocal filetype=sh | :startinsert +autocmd BufNewFile *.sh,$HOME/.local/bin/* execute 'silent! 1s/.*/#!\/bin\/sh\r# '| setlocal filetype=sh | :startinsert "autocmd BufNewFile * if !empty(&filetype) | execute 'silent! 1s/.*/#!\/usr\/bin\/' . &filetype . '\r\r'| :startinsert | endif set spelllang=en_us,de_de diff --git a/.config/nvim/init/plug.vim b/.config/nvim/init/plug.vim index 6e4140d..6aed29a 100644 --- a/.config/nvim/init/plug.vim +++ b/.config/nvim/init/plug.vim @@ -50,7 +50,7 @@ Plug 'mhinz/vim-signify' " VCS info on the left " Integrations "Plug 'airblade/vim-gitgutter' " Git info on the left and hunk bindings -Plug 'mtvee/vim-fossil' +Plug 'xeruf/vim-fossil' Plug 'austintraver/vim-jrnl' Plug 'weinshec/vim-dictcc' Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }