Dup Goto 📝

Sourcing-files

PT2/editor/vim/vimrc 07-31 13:46:46
To Pop
11 lines, 30 words, 304 chars Monday 2023-07-31 13:46:46

See this stackoverflow question

Autocmd

Consider

:autocmd FileType python     :iabbrev <buffer> iff if:<left>

we want to source a file, so

:autocmd FileType html     :source ~/.vim/html.vim