How to Install and Uninstall vim-plugin-gitdiff Package on openSUSE Leap

Last updated: June 26,2024

1. Install "vim-plugin-gitdiff" package

Please follow the step by step instructions below to install vim-plugin-gitdiff on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install vim-plugin-gitdiff

2. Uninstall "vim-plugin-gitdiff" package

This guide covers the steps necessary to uninstall vim-plugin-gitdiff on openSUSE Leap:

$ sudo zypper remove vim-plugin-gitdiff

3. Information about the vim-plugin-gitdiff package on openSUSE Leap

Information for package vim-plugin-gitdiff:
-------------------------------------------
Repository : Main Repository
Name : vim-plugin-gitdiff
Version : 2-bp155.6.5
Arch : noarch
Vendor : openSUSE
Installed Size : 3.6 KiB
Installed : No
Status : not installed
Source package : vim-plugins-7.3.0-bp155.6.5.src
Upstream URL : http://www.vim.org/
Summary : Show git diff in a split window
Description :
This script provides two functions to display git diffs in vim.
:GITDiff [commitish]
Split the vim window vertically, display the HEAD, or some other changeset, version of the file in the split, then diff them.
:GITChanges [commitish]
Highlight lines that were changed since the HEAD or some other changeset.

5. The same packages on other Linux Distributions