diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-28 20:31:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-28 20:31:25 -0300 |
commit | b6a77530871c56ffc5d05b510f7eac8774fbc7ec (patch) | |
tree | 97ecc3f1ad94d5da14d172d7d7600161336a5f66 /vim.dot.link/plugin/auto_file.vim | |
parent | 803eff47d7b76dfbd83b845be97d434a17e7d522 (diff) | |
download | vim-b6a77530871c56ffc5d05b510f7eac8774fbc7ec.tar.gz vim-b6a77530871c56ffc5d05b510f7eac8774fbc7ec.tar.bz2 |
Feat: folding markers
Diffstat (limited to 'vim.dot.link/plugin/auto_file.vim')
-rw-r--r-- | vim.dot.link/plugin/auto_file.vim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vim.dot.link/plugin/auto_file.vim b/vim.dot.link/plugin/auto_file.vim index dc19ad3..72e782f 100644 --- a/vim.dot.link/plugin/auto_file.vim +++ b/vim.dot.link/plugin/auto_file.vim @@ -1,18 +1,20 @@ " auto_file.vim - Automatically file reading, saving; directory changer. -" Autoread +" Autoread {{{ " " http://vim.wikia.com/wiki/Have_Vim_check_automatically_if_the_file_has_changed_externally " http://stackoverflow.com/questions/2490227/how-does-vims-autoread-work " http://stackoverflow.com/questions/2490227/how-does-vims-autoread-work "au FocusGained,BufEnter * :silent! ! "au FocusLost,WinLeave * :silent! w +" }}} -" Autosave +" Autosave {{{ " See https://github.com/vim-scripts/vim-auto-save "let g:auto_save = 1 +" }}} -" Auto change dir +" Auto change dir {{{ " " Automatically set the current working directory to the current buffer file's " directory @@ -23,3 +25,4 @@ augroup changedir autocmd! autocmd BufEnter * silent! lcd %:p:h augroup END +" }}} |