Results 52 comments of Michael Slattery

@chentau I agree with you that its scope is questionable. I looked and couldn't find any plugins that show jumps in the sign column. The reason I wrote this ticket...

This seems to work: ```diff diff --git a/lua/marks/mark.lua b/lua/marks/mark.lua index 8c3607d..0b52f5b 100644 --- a/lua/marks/mark.lua +++ b/lua/marks/mark.lua @@ -321,10 +321,8 @@ function Mark:refresh(bufnr, force) -- first, remove all marks that were...

@chentau Maybe in a week or so as I am quite busy atm. As I said at the bottom of my comment, it needs more testing and has several minor...

Improvements. Untested. ```lua history_max = 5 winnr = a.nvim_get_current_win() jumplist = vim.fn.getjumplist(winnr) jumps = jumplist[1] jump_pointer = jumplist[2] -- ctrl-i ( while i0 ) operation = '\u{00f4}' else index =...

A few months have passed, so I decided to make my own plugin that more thoroughly simulates NeoVim. https://github.com/mikeslattery/nvim-defaults.vim

This works. It requires `bat`. It highlights the line of the jump. ``` function! Jumps() let jumpfile=tempname() let jumpnumfile=tempname() " Get jumps with filename added let jumps = map(reverse(copy(getjumplist()[0])), \...

> @mikeslattery > > Alright this looks fine. It takes the whole screen though and also having a little part of the line be displayed on the left pane would...

@uestueab Improvements! Not perfect, but closer. ```vim function GoTo(jumpline) let values = split(a:jumpline, ":") execute "e ".values[0] call cursor(str2nr(values[1]), str2nr(values[2])) execute "normal zvzz" endfunction function GetLine(bufnr, lnum) let lines =...

FYI, I'm not planning on implementing my TODOs or creating a PR. I've switched to a similar plugin that implements fuzzy find on jumplist. Hopefully, someone will pick up where...

> Can you share the similar plugin you are referring for fuzzy find on jumplist as that may be helpful for others also? [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) for NeoVim. map gj Telescope jumplist