Lukas Mertens
12/17/2024, 3:33 PMEdoardo Foco
12/19/2024, 10:12 AMLuke Tan
01/20/2025, 1:37 AMszaman
01/21/2025, 7:52 AMBen Wilen
01/23/2025, 9:27 PMJD Russo
01/28/2025, 6:54 PMWenjun Wang
02/18/2025, 8:19 PMJustin Clapperton
02/28/2025, 11:29 AMChris Messina
03/19/2025, 9:00 PMTyler Nieman
04/04/2025, 3:29 PM-- Telescope picker for files in most recent git commit
local pickers = require 'telescope.pickers'
local finders = require 'telescope.finders'
local conf = require('telescope.config').values
local Job = require 'plenary.job'
local function git_last_commit_files()
---false alarm warning
---@diagnostic disable-next-line: missing-fields
Job:new({
command = 'git',
args = { 'diff-tree', '--no-commit-id', '--name-only', '-r', 'HEAD' },
on_exit = function(j)
local results = j:result()
vim.schedule(function()
pickers
.new({}, {
prompt_title = 'Files in Last Commit',
finder = finders.new_table { results = results },
sorter = conf.generic_sorter {},
previewer = conf.file_previewer {},
})
:find()
end)
end,
}):start()
end
vim.keymap.set('n', '<leader>sc', git_last_commit_files, { desc = '[S]earch [c]hanged files in last commit' })
Neovim telescope picker for only choosing from your most recent commit's files.
Handy for working in a Graphite stack.Nick Quidas
04/11/2025, 9:52 PMOliver Shaw
04/17/2025, 3:31 AMEric Simon
05/01/2025, 1:37 PMTyler Nieman
05/02/2025, 1:37 PMSPAM — Someone is advertising their product via DMs in this SlackGuilherme Mendel
05/21/2025, 1:46 PMAlon Frydberg
05/28/2025, 9:11 AM((10+1) choose 2) = 11*10/2 = 55 CI runs for a fully ready stack of 10 PRs.
Is this something that can be done?John Colvin
05/30/2025, 4:05 PMgt split operations after like 5 mins of careful work by accidentally pressing escape (vim habits) 😢Alex Pien
05/30/2025, 8:04 PMTyler Nieman
06/12/2025, 8:17 PM배재완
07/02/2025, 1:36 AMVlad Ivanov
07/16/2025, 8:51 AMShota
07/22/2025, 8:30 PMBrendan Mulholland
08/13/2025, 10:26 AMMateo Paredes Sepulveda
08/15/2025, 1:48 PMTim Boucher
08/22/2025, 10:48 PMAnna Tindall
09/26/2025, 4:39 PMBenjamin Riley Zimmerman
09/26/2025, 10:22 PMYasith Vidanaarachchi
09/28/2025, 7:57 PMNick Good
11/06/2025, 6:25 PMGeorge Guimarães
12/02/2025, 7:42 PM