[misc] add git tags to git checkout list

This commit is contained in:
Klesh Wong 2020-11-05 12:24:22 +08:00
parent 195001e359
commit 07201bfcf5

View File

@ -178,7 +178,7 @@ nnoremap <leader>gsc :exec "!git switch -c " . input("Enter new branch name:")<C
" ==== fzf configuration ==== " ==== fzf configuration ====
nnoremap <C-p> :FZF<CR> nnoremap <C-p> :FZF<CR>
nnoremap <leader>gco :call fzf#run({'source': 'git branch \| cut -c 3-', 'sink': '!git checkout'})<CR> nnoremap <leader>gco :call fzf#run({'source': 'git branch \| cut -c 3-; git tag -l', 'sink': '!git checkout'})<CR>
" ==== gruvbox configuration ==== " ==== gruvbox configuration ====