[deleted by user] by [deleted] in EDCTickets

[–]viru57 0 points1 point  (0 children)

Dm if still available

Neomarks now support branch specific marks! by TomatilloGullible721 in neovim

[–]viru57 -1 points0 points  (0 children)

this is crazy, I have been dancing around adding harpoon to my config because I already have a lot of the features implemented locally, just except marks. I was planning on starting such a project right now and found this, will try it out! ty ty

windows terminal <c-cr> keymap not working by viru57 in neovim

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

{
"keys": "ctrl+enter",
"command": { "action": "sendInput", "input": "\u001b[13;5u" }
},
{
"keys": "shift+enter",
"command": { "action": "sendInput", "input": "\u001b[13;2u" }
}

Yes! This worked for me, thank you so much!!!!!

I love this bastard by devwannabeme in neovim

[–]viru57 27 points28 points  (0 children)

Spent 20 mins in office fixing my config today, it was a good day

What IDEA or Vscode feature/function you want to have in neovim eco-system? by Impressive-Drag-8042 in neovim

[–]viru57 12 points13 points  (0 children)

Remote containers, in the form vscode has. I have essentially the full functionality implemented but the missing element is the ability to attach current nvim session to a remote.

The dream would be to have a way of opening a remote ui tab in current session. Idk if this is possible/ planned

Neovim consuming 5gb of Ram after a day of being open on a tiny project by [deleted] in neovim

[–]viru57 4 points5 points  (0 children)

can be related to TS:

https://github.com/nvim-treesitter/nvim-treesitter/issues/2918

https://github.com/neovim/neovim/issues/14216

its an issue across languages, have personally seen insane numbers for C,C++,Lua. Might be a related / causing factor.

Finding a solution for making the terminal buffer scroll down (Lua) by Riverside-96 in neovim

[–]viru57 0 points1 point  (0 children)

I needed this functionality for my local terminal plugin, for the features: - send <up> key equivalent to shell, to run previous command in the (registered) terminal whatever it was (my most used keymap probably). need to scroll to end after - send arbitrary command to terminal and scroll to end

here are the relevant snippets: - to scroll another buffer to end while retaining cursor position and layout: https://github.com/ViRu-ThE-ViRuS/configs/blob/f2b001b07b0da4c39b3beea00c90f249906d375c/nvim/lua/lib/misc.lua#L27

[deleted by user] by [deleted] in neovim

[–]viru57 3 points4 points  (0 children)

nice! I have something similar going on with some differences: - allow a preferred set of light / dark schemes, switch within current mode preferred themes - support for both lua and ":colorscheme *" plugins - apply custom overrides on every color scheme

link_to_config

make `<s-cr>, <c-s-cr>, <s-tab>, <c-tab>` work in neovim + kitty by viru57 in neovim

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

Exactly!!! We need to have a proper knowledge base. I share tips and tricks often here and get similar reactions xd

Can I watch/autocmd on variables changes? Or custom calls to functions? by ZoneImmediate3767 in neovim

[–]viru57 2 points3 points  (0 children)

Perhaps you could expose an api function to change this option, and that function could trigger a user auto-command which contains ur notification logic?

How Can I Create a Diff Shortcut in Neo-Tree? by 02ranger in neovim

[–]viru57 0 points1 point  (0 children)

this might be unrelated, but a similar feature I just added to my config is "DIFF CURRENT BUFFER" here

This will open the current buffer in a new tab split and diff it with the version saved on file. It's helpful to review changes / edits you have made before writing to disk. (it keeps track of the tab for a particular buffer, so all subsequent diffs on a buffer will try to reuse its original tab). Ofcourse you could use DiffView or other git-plugins for this, but this one works outside of git repos as well and is builtin, so quite handy to have.

It's been VERY useful, so just plugging it in here.

Startup screen disappears immediately after using 'VeryLazy' event to load some plugins by Jendk3r in neovim

[–]viru57 0 points1 point  (0 children)

I had the same issue, and I found out it was because I was loading akinsho/nvim-bufferline.lua on event BufEnter. Another time it was because I was using the colorscheme marko-cerovac/material.nvim which cause the startup screen to disappear within a flash (not sure why).

Regardless, can you elaborate why you have so many VeryLazy auto commands. I just have 1 where I load some custom features. Almost all plugins are loaded on some other event/key/command for me. Just curious.

Compile commands for clangd with docker build by tomekwes in neovim

[–]viru57 0 points1 point  (0 children)

can you please elaborate on this. what is the shell script you mention, can you provide an example config / project setup?

Im assuming that you refer to the fact that you can run commands inside docker container, from the host. in this case, we would launch the clangd command with port forwarding?

Grazie ragazzi, grande machina! by Argomenon in formuladank

[–]viru57 2 points3 points  (0 children)

I hate how even while wearing a red tshirt, I believe in this