Updated vimrc
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
707f5f6f5f
commit
6fe9aa5329
@ -19,6 +19,10 @@ Plug 'lervag/vimtex'
|
|||||||
Plug 'junegunn/goyo.vim'
|
Plug 'junegunn/goyo.vim'
|
||||||
Plug 'prettier/vim-prettier', { 'do': 'npm install --force' }
|
Plug 'prettier/vim-prettier', { 'do': 'npm install --force' }
|
||||||
Plug 'iamcco/markdown-preview.nvim', { 'do': 'npm install --force' }
|
Plug 'iamcco/markdown-preview.nvim', { 'do': 'npm install --force' }
|
||||||
|
" Problem with vim-prettier
|
||||||
|
"
|
||||||
|
" git checkout -b test origin/feature/issue-232-add-support-for-prettier-2.x;
|
||||||
|
" npm install --force
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Status-line
|
" Status-line
|
||||||
@ -114,6 +118,6 @@ autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
|
|||||||
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
|
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
|
||||||
|
|
||||||
" Auto add notes git
|
" Auto add notes git
|
||||||
autocmd BufWritePost *.md :Prettier <CR>
|
autocmd BufWritePost *.md :Prettier
|
||||||
autocmd BufWritePost *.md silent! execute '!git add % && git commit -m "Auto-commit: saved %" && git push' | redraw!
|
autocmd BufWritePost *.md execute '!git add % && git commit -m "Auto-commit: saved %" && git push' | redraw!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user