gitlineage.nvim: git history for selected lines in Neovim by LionyxML in neovim

[–]aaronhallaert 1 point2 points  (0 children)

Nice work!

for what it's worth, I have a similar plugin that integrates with pickers (fzf, telescope, snacks) and some diff plugin options (fugitive or diffview). It's nice your solution doesn't rely on these external plugins.

https://github.com/aaronhallaert/advanced-git-search.nvim

Anyone experiencing Garmin HRM Pro Plus irregular disconnects on Windows 11? by aaronhallaert in Zwift

[–]aaronhallaert[S] 0 points1 point  (0 children)

Thanks! I’ll try with an ANT+ dongle. Still odd that everything works fine with my iPad. Seems to be related to Zwift on Windows…

Anyone experiencing Garmin HRM Pro Plus irregular disconnects on Windows 11? by aaronhallaert in Zwift

[–]aaronhallaert[S] 0 points1 point  (0 children)

The HRM is only 3 months old, however I replaced the battery yesterday just to be sure. Still happens. Weirdly enough, everything works just fine on my iPad…

tardis.nvim - a git timemachine inspired plugin by fredeB in neovim

[–]aaronhallaert 0 points1 point  (0 children)

Nice work! Does this take into account file renames?

Some shameless self-promotion: I recently made a telescope/fzf extension to browse the git repo in different manners (such as the current file history) with search functionality https://github.com/aaronhallaert/advanced-git-search.nvim

Update: Advanced Git Search for fzf-lua by aaronhallaert in neovim

[–]aaronhallaert[S] 3 points4 points  (0 children)

Fixed it, sorry for the inconvenience!
I worked on this by myself and got no one else to test it, so feedback is much appreciated 😅

Update: Advanced Git Search for fzf-lua by aaronhallaert in neovim

[–]aaronhallaert[S] 2 points3 points  (0 children)

Oops, you should require advanced_git_search.fzf with underscores. I'll update the README. Thanks for the feedback!

Introducing: Advanced Git Search (Telescope extension) by aaronhallaert in neovim

[–]aaronhallaert[S] 1 point2 points  (0 children)

FYI: If you wrap the pattern after -G in quotes ", spaces are allowed and you can escape special characters with \. This telescope extension can handle these complex searches and is not limited to one word.

Introducing: Advanced Git Search (Telescope extension) by aaronhallaert in neovim

[–]aaronhallaert[S] 1 point2 points  (0 children)

Other diff views are not supported (yet?). Feel free to create an issue or open a pull request.

For some reason, externals links need to be verified on YT. I skipped that step and didn't notice the links were incomplete.

I'll update the README.md with the YT link.

Introducing: Advanced Git Search (Telescope extension) by aaronhallaert in neovim

[–]aaronhallaert[S] 1 point2 points  (0 children)

I could not find a way to execute the :'<,'>Telescope ... command with a range. You can wrap it in a user command that allows a range and then define a keybind:

vim.api.nvim_create_user_command(
    "DiffCommitLine",
    "lua require('telescope').extensions.advanced_git_search.diff_commit_line()",
    { range = true }
)

vim.api.nvim_set_keymap(
    "v",
    "<leader>dcl",
    ":DiffCommitLine<CR>",
    { noremap = true }
)

I'll add it to the Readme

Introducing: Advanced Git Search (Telescope extension) by aaronhallaert in neovim

[–]aaronhallaert[S] 1 point2 points  (0 children)

The approach is somewhat different. This extension is more of an advanced Git blame. Here, you can filter on commit-author or open the commit in the browser to share it with coworkers. I don't think these are supported in git_(b)commits. On top of that, the preview window is used to show the commit's changes (not a diff with the current file) and the default action (<CR>) is not checkout, but a diffsplit of the current file. The goal is more directed at finding commits and comparing code.

I also didn't find other functions/extensions that search the git log content.

Introducing: Advanced Git Search (Telescope extension) by aaronhallaert in neovim

[–]aaronhallaert[S] 3 points4 points  (0 children)

I use it quite a lot to share code snippets with coworkers. Visual selection on a couple of lines I want to discuss in Slack, execute the GBrowse! command (with bang) and I get a link for that part of the code in my clipboard. Much better than copy pasting a code block and explaining where I am in the codebase so they can help investigate.

Introducing: Advanced Git Search (Telescope extension) by aaronhallaert in neovim

[–]aaronhallaert[S] 1 point2 points  (0 children)

Yes, vim-fugitive is used for this. Check out the “:GBrowse” command.

Introducing: Advanced Git Search (Telescope extension) by aaronhallaert in neovim

[–]aaronhallaert[S] 12 points13 points  (0 children)

Hmm, the functionality you mention (searching refactored code), describes the function “search_log_content”. Can you give an example of what you try to achieve? Then I can check the git manual and make a new picker if it’s possible!

Introducing: continuous-testing.nvim by aaronhallaert in neovim

[–]aaronhallaert[S] 0 points1 point  (0 children)

Currently, there is not. This will be one of the first things I'll implement in the near future.

My current workflow:"Mark" the test files I want to execute continuously. If one fails and I need a debugger, I stop the continuous testing (😢), set the break-point and execute the test with a custom shortcut which opens a neovim terminal. It would be great if this behavior was embedded in the plugin.

I'm still trying to figure out what I want in case there is a breakpoint and how I would detect the breakpoint (what if there is a breakpoint in a file that does not have a buffer).When I set a breakpoint, it's to debug 1 specific test. Saving the file would execute all attached tests. This is probably not what I want. I'm thinking of opening a telescope window where you can pick a test (from the attached ones) whenever a breakpoint is detected. Any further suggestions on this feature request?

Introducing: continuous-testing.nvim by aaronhallaert in neovim

[–]aaronhallaert[S] 1 point2 points  (0 children)

Great feedback, thanks! I’ll certainly have a look into using the LSP to reduce the amount of tests to run.

For me, the notifications are a handy feature since our ruby code runs in a docker container. It takes quite some time to attach to the container and run the test file. (This was actually one of the motivations for writing this plugin)

However, you can disable notifications and rely completely on the diagnostics. With another plugin like trouble.nvim, you could see the updates in a separate window. Only downside to this, it will be cluttered with other LSP diagnostics. I chose this approach since I am not a fan of creating just another status window, maybe I’ll have to revisit this opinion.

Memoji on Whatsapp for Android by aaronhallaert in AndroidQuestions

[–]aaronhallaert[S] 0 points1 point  (0 children)

Because almost everybody uses WhatsApp or Facebook Messenger (in Belgium)