You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to yank a few lines for the search count (I hate it being a separate wasted line), I got to your config.
I do also like your lsp progress and gitsigns solution, though I think I need to install something for this to work.
it just works (for me).
add_cmd('Frel', function() vim.fn.setreg('+', plenary.path:new(vim.api.nvim_buf_get_name(0)):make_relative()) end, {}) -- copy relative path
plenary.path handles gracefully uris, so oil:// etc path just work and dont need extra handling..
if you prefer checking against cwd (relative path resolving does this automatically and falls back to absolute one if not within cwd) you could use uv.cwd() like you use it elsewhere.
If you use alot harpoon, you might find a few handy things in my dotfiles.
This also makes several of your vim.fs.dirname superfluous. See also :h vim.fs
The text was updated successfully, but these errors were encountered:
Trying to yank a few lines for the search count (I hate it being a separate wasted line), I got to your config.
I do also like your lsp progress and gitsigns solution,
though I think I need to install something for this to work.it just works (for me).
add_cmd('Frel', function() vim.fn.setreg('+', plenary.path:new(vim.api.nvim_buf_get_name(0)):make_relative()) end, {}) -- copy relative path
plenary.path handles gracefully uris, so
oil://
etc path just work and dont need extra handling..if you prefer checking against cwd (relative path resolving does this automatically and falls back to absolute one if not within cwd) you could use uv.cwd() like you use it elsewhere.
If you use alot harpoon, you might find a few handy things in my dotfiles.
This also makes several of yourvim.fs.dirname
superfluous. See also:h vim.fs
The text was updated successfully, but these errors were encountered: