|
@ -35,6 +35,8 @@ Plug 'luochen1990/rainbow' |
|
|
|
|
|
|
|
|
" git |
|
|
" git |
|
|
Plug 'tpope/vim-fugitive' |
|
|
Plug 'tpope/vim-fugitive' |
|
|
|
|
|
" gitlink |
|
|
|
|
|
Plug 'mazubieta/gitlink-vim' |
|
|
|
|
|
|
|
|
" go |
|
|
" go |
|
|
Plug 'fatih/vim-go' " Amazing combination of features. |
|
|
Plug 'fatih/vim-go' " Amazing combination of features. |
|
@ -227,6 +229,15 @@ syntax enable |
|
|
" viewer method: |
|
|
" viewer method: |
|
|
let g:vimtex_view_method = 'zathura' |
|
|
let g:vimtex_view_method = 'zathura' |
|
|
|
|
|
|
|
|
|
|
|
"" gitlink |
|
|
|
|
|
function! CopyGitLink(...) range |
|
|
|
|
|
redir @+ |
|
|
|
|
|
silent echo gitlink#GitLink(get(a:, 1, 0)) |
|
|
|
|
|
redir END |
|
|
|
|
|
endfunction |
|
|
|
|
|
nmap <leader>gl :call CopyGitLink()<CR> |
|
|
|
|
|
vmap <leader>gl :call CopyGitLink(1)<CR> |
|
|
|
|
|
|
|
|
"" sage syntax |
|
|
"" sage syntax |
|
|
augroup filetypedetect |
|
|
augroup filetypedetect |
|
|
au! BufRead,BufNewFile *.sage,*.spyx,*.pyx setfiletype python |
|
|
au! BufRead,BufNewFile *.sage,*.spyx,*.pyx setfiletype python |
|
|