Fixed path for templates
This commit is contained in:
@@ -198,7 +198,7 @@ map <leader>v "+p
|
||||
nnoremap ,html :-1read $HOME/eg/webdev/index.html<CR>:11<CR>
|
||||
if has("autocmd")
|
||||
augroup templates
|
||||
autocmd BufNewFile index.html 0r ~/eg/webdev/index.html
|
||||
autocmd BufNewFile index.html 0r ~/eg/web_dev/index.html
|
||||
autocmd BufReadPost index.html normal! 10j
|
||||
augroup END
|
||||
endif
|
||||
@@ -207,7 +207,7 @@ endif
|
||||
nnoremap ,css :-1read $HOME/eg/webdev/style.css<CR>
|
||||
if has("autocmd")
|
||||
augroup templates
|
||||
autocmd BufNewFile style.css 0r ~/eg/webdev/style.css
|
||||
autocmd BufNewFile style.css 0r ~/eg/web_dev/style.css
|
||||
augroup END
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user