# vim-flog **Repository Path**: joey-fudan/vim-flog ## Basic Information - **Project Name**: vim-flog - **Description**: master - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://github.com/rbong/vim-flog - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-30 - **Last Updated**: 2024-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: Vim ## README # Flog [![test status](https://github.com/rbong/vim-flog/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/rbong/vim-flog/actions) Flog is a blazingly fast, stunningly beautiful, exceptionally powerful Git branch viewer for Vim/Neovim. ![flog in action](img/screen-graph.png) ## Features - Custom log format support - Multiline commit message support - Ability to view history of selected visual range - Contextual command completion - Many navigation mappings - Commit-based marks and jump history - Ability to expand/collapse commit body - Intelligently restore cursor position between updates - [Fugitive](https://github.com/tpope/vim-fugitive) integration - Functions for integrating with your Git workflow and plugins - Extended graph symbol support (currently only in [Kitty](https://github.com/kovidgoyal/kitty)) - Dynamic branch highlighting (Neovim only) - Automatic updates (Neovim only) - And more! ## Installation If you use [Plug](https://github.com/junegunn/vim-plug), add the following to your `.vimrc`: ```vim Plug 'tpope/vim-fugitive' Plug 'rbong/vim-flog' ``` For lazy.nvim users: ```lua { "rbong/vim-flog", lazy = true, cmd = { "Flog", "Flogsplit", "Floggit" }, dependencies = { "tpope/vim-fugitive", }, }, ``` In Vim, [LuaJIT 2.1](https://luajit.org/download.html) must be installed. [Lua](https://www.lua.org/) 5.1 is also supported but less performant than LuaJIT. ## Getting Started - You can open the commit graph with `:Flog` or `:Flogsplit`. - Use `` completion or `:help :Flog` to see available arguments. - Open commits with [Fugitive](https://github.com/tpope/vim-fugitive) using ``. - Jump between commits with `` and ``. - Toggle viewing all branches with `a`. - See more mappings with `g?`. - Quit with `gq`. Many familiar mappings from the Fugitive `:Git` status window will work in Flog. You can also run any git command using `:Floggit`. This command will contextually complete arguments based on your cursor position. See `:help :Floggit` for more. Flog can be heavily customized. See [examples](EXAMPLES.md) for details. ## More Help - [FAQ](FAQ.md) - [Examples](EXAMPLES.md) - [Issue tracker](https://github.com/rbong/vim-flog/issues) - [Discussions board](https://github.com/rbong/vim-flog/discussions) - [Fugitive repo](https://github.com/tpope/vim-fugitive) - Run `git log --help` in a terminal for help with `git log`. - Run `:help flog` in Vim to see the full documentation.