Merge branch 'master' of gogs.tforgione.fr:tforgione/dotfiles

This commit is contained in:
Thomas FORGIONE 2016-08-30 12:23:33 +02:00
commit 3ab39b3dd7
1 changed files with 6 additions and 12 deletions

View File

@ -30,20 +30,10 @@ Plug 'Shougo/deoplete.nvim'
Plug 'Shougo/neosnippet.vim' | Plug 'Shougo/neosnippet-snippets' Plug 'Shougo/neosnippet.vim' | Plug 'Shougo/neosnippet-snippets'
" Python highlight " Python highlight
Plug 'hdima/python-syntax' Plug 'hdima/python-syntax'
" Search files
" Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | Plug 'junegunn/fzf.vim'
" Real-time collaborative editing
" Plug 'Floobits/floobits-neovim'
" An asynchronous markdown preview plugin for Neovim (requires Rust and Cargo)
" function! BuildComposer(info)
" if a:info.status != 'unchanged' || a:info.force
" !cargo build --release
" UpdateRemotePlugins
" endif
" endfunction
" Plug 'euclio/vim-markdown-composer', {'do': function('BuildComposer')}
" Git stuff " Git stuff
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
" Typescript-doc
Plug 'https://gogs.tforgione.fr/tforgione/typescript-doc.git'
" Add plugins to &runtimepath " Add plugins to &runtimepath
call plug#end() call plug#end()
" }}} " }}}
@ -204,6 +194,10 @@ endif
" Markdown : do not open browser if i'm not telling you " Markdown : do not open browser if i'm not telling you
let g:instant_markdown_autostart = 0 let g:instant_markdown_autostart = 0
nnoremap <silent><F4> :call InsertTypeScriptDoc()<CR>
inoremap <silent><F4> :call InsertTypeScriptDoc()<CR>
vnoremap <silent><F4> :call InsertTypeScriptDoc()<CR>
autocmd BufWritePost * :silent execute ':w! ' ."$HOME/.vim/backups/" . escape(substitute(expand('%:p'), "/", "%", "g"), "%") autocmd BufWritePost * :silent execute ':w! ' ."$HOME/.vim/backups/" . escape(substitute(expand('%:p'), "/", "%", "g"), "%")
autocmd BufEnter,BufNew *.pgsql set filetype=pgsql. autocmd BufEnter,BufNew *.pgsql set filetype=pgsql.