Skip to content

fcabjolsky/git-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-push

This plugin is an extension to vim-fugitive

Creates a nui.vim menu with the all the branches, where you can select the branch to push

Usage

local git_push = require('git-push')
-- optional
git_push.setup({
  remote = 'origin',
  use_nui = false
})

-- display the dialog
git_push.show_push_dialog()

use_nui default: true if set to false it will use the native vim.ui.input to get the selection

using a remap

vim.keymap.set("n", "<leader>gp", function()
    require("git-push").show_push_dialog()
end, {desc = "[G]it [P]ush"})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages