Gitk
Gitk Sublime Text integration.
Details
Installs
- Total 322
- Win 127
- Mac 75
- Linux 120
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Linux | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Gitk
Enhance your Sublime Text experience with seamless gitk
integration.
Provides commands to launch gitk
from within Sublime Text.
Installation
Step 1: Install gitk
Before you get started, make sure you have gitk
installed on your system. To install, you'll need to follow the instructions specific to your operating system:
On Windows:
Download the Git for Windows installer from the official website: Git for Windows.
Run the installer and follow the installation steps. During installation, you can choose the components to install. Ensure that the “Git Bash Here,” “Git GUI Here,” and “Gitk” options are selected.
Complete the installation, and Gitk will be installed along with Git on your Windows system.
On macOS:
You can install Gitk on macOS using a package manager like Homebrew. If you don't have Homebrew installed, you can install it by following the instructions on the Homebrew website: Homebrew.
Once Homebrew is installed, open your terminal and run the following command to install Gitk:
brew install gitk
- Homebrew will download and install Gitk and its dependencies.
On Linux (Ubuntu/Debian):
Open a terminal.
Use the package manager to install Gitk. For Ubuntu and Debian-based systems, you can use
apt-get
:
sudo apt-get update
sudo apt-get install gitk
On Linux (Fedora/RHEL/CentOS):
Open a terminal.
Use the package manager to install Gitk. For Fedora, RHEL, or CentOS-based systems, you can use
dnf
oryum
:
For Fedora:
sudo dnf install gitk
For RHEL/CentOS:
sudo yum install gitk
After following these steps, Gitk should be successfully installed on your system. You can verify the installation by opening a terminal and running the following command:
gitk --version
This command should display the version information of Gitk, confirming that it's installed and ready to use.
Step 2: Install the Gitk Package
Method 1: Using Package Control
- Open Sublime Text.
- Access the Command Palette by pressing
Ctrl+Shift+P
(Windows/Linux) orCmd+Shift+P
(macOS). - Type “Package Control: Install Package” and press
Enter
. - In the input field, type “Gitk” and select it from the list of available packages.
Method 2: Manual Installation
- Visit the Gitk GitHub repository.
- Click on the “Code” button and choose “Download ZIP.”
- Unzip the downloaded file.
- In Sublime Text, navigate to
Preferences -> Browse Packages...
to access the Packages folder. - Copy the “Gitk” folder from the unzipped archive and paste it into the Packages folder.
Method 3: Manual Git Repository Installation
- Open a terminal or command prompt.
- Go to the Sublime Text Packages directory based on your operating system:
- Windows:
%APPDATA%\Sublime Text\Packages
- macOS:
~/Library/Application Support/Sublime Text/Packages
- Linux:
~/.config/sublime-text/Packages
- Windows:
- Clone the Gitk plugin repository directly into the Packages directory using Git:
git clone https://github.com/gerardroche/sublime-gitk.git Gitk
Commands
Use these commands to launch gitk
.
Command | Description |
---|---|
Gitk | Launch gitk for the current repository. |
Gitk –all | Open gitk --all for the current repository. |
NeoVintageous mappings
NeoVintageous is a Vim emulator for Sublime Text.
Open the Command Palette:
Command Palette → NeoVintageous: Open neovintageous file
.Add your preferred mappings.
Example
nnoremap <leader>oa :Gitk all=true<CR>
nnoremap <leader>ok :Gitk max-count=200 all=true date-order=true<CR>
- To apply the changes, reload the neovintageousrc from the Command Palette:
Command Palette → NeoVintageous: Reload neovintageous file
.
Changelog
See CHANGELOG.md.
License
Released under the GPL-3.0-or-later License.