Skip to content

How to fuzzy find git hunk content? #1598

Discussion options

You must be logged in to vote

@ibhagwan Thank you for your guidance <3, I managed to implement this feature. However, when I press ctrl-g, the whole screen will become flickering. By the way, would you be interested in making this a built-in feature of fzf-lua?

      {
        'gh',
        function()
          local M = {}

          M.toggle_regex = function(_, opts)
            opts.__ACT_TO {
              resume = true,
            }
          end

          local fzf_lua = require('fzf-lua')
          local common_opts = {
            winopts = { title = ' Git Hunks ', title_pos = 'center' },
            actions = fzf_lua.defaults.actions.files,
            file_icons = true,
            color_icons = true,
    …

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@ibhagwan
Comment options

@MrConnorKenway
Comment options

@MrConnorKenway
Comment options

Comment options

You must be logged in to vote
5 replies
@ibhagwan
Comment options

@MrConnorKenway
Comment options

@ibhagwan
Comment options

@ibhagwan
Comment options

@MrConnorKenway
Comment options

Answer selected by MrConnorKenway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants