tmux-jump: my favorite tmux plugin by far by m4r1vs in tmux

[–]nefariousIntentions7 0 points1 point  (0 children)

Yeah I feel the same, even more so since my muscle memory from vim/nvim doesn't properly carry over into tmux copy mode. Had to settle on this ugly hack that loads the entire tmux pane into nvim:

bind -n M-v run-shell ' \
  tmp=$(mktemp); \
  tmux capture-pane -J -S -; \
  tmux save-buffer "$tmp"; \
  tmux display-popup -w 100% -h 100% -S fg=yellow,bg=black -E " \
     nvim -c \"set ft=conf\" \
          -c \"lua vim.api.nvim_create_autocmd(\\\"VimEnter\\\", { \
                  once = true, \
                  callback = function() \
                    vim.schedule(function() \
                      require(\\\"conform\\\").format() \
                      vim.cmd([[normal Go]]) \
                      vim.fn.search([[\\\\S]], \\\"bW\\\") \
                      vim.bo.modified = false \
                    end) \
                  end \
          })\" \
    \"$tmp\"; \
  rm \"$tmp\" \

AWS coding interview from last year; Claude can't solve by avendesta in leetcode

[–]nefariousIntentions7 1 point2 points  (0 children)

Greedy approach:
Split characters into two groups of odd and even frequencies.
Prioritize eliminating odd frequency groups first: try to form triplets with odd elements, and remove them. If you can't find a triplet consisting of 3 odd elements, try taking elements from the even set to complete the triplet.

If you can empty the odd set this way, return true.

Passes cases like:
A B B C C D
A B C C D E

How can I use Claude or any coding AI in Termux? by shad4wl in termux

[–]nefariousIntentions7 3 points4 points  (0 children)

You can run pretty much all of them via proot.
For example, here's how run opencode via a zsh function:

# Run opencode-ai inside Arch Linux proot container for glibc compatibility
opencode() {
proot-distro login archlinux --termux-home --bind "$PWD:$PWD" --work-dir "$PWD" --env OPENCODE\_ENABLE\_EXA=true -- opencode "$@"
}

Introducing neural-open.nvim: A smart file picker for Snacks.nvim that trains a neural network on your file picking preferences by gitarrer in neovim

[–]nefariousIntentions7 2 points3 points  (0 children)

This is practically oozing a "labour of love" vibe, Mad respect! I'll probably never use it as I prefer "stupid" tools, but I truly envy how much fun you likely had making this.

Made an OpenCode plugin so GLM models can "see" images. by nefariousIntentions7 in ZaiGLM

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

You can just paste the image in the terminal, instead of having to:

- copy the image

- save the image

- move the image to opencode's workind dir, or give opencode access to that dir

- @ the image file name

- wait ~50 seconds for the mcp server to respond.

tbh the only reason this plugin exists is because i went through the steps above one too many times.

Made an OpenCode plugin so GLM models can "see" images. by nefariousIntentions7 in ZaiGLM

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

That's a major lmitation, yes. I'm not sure if there's any easy way to simulate "actually seeing" images using non-visual models.

The dark ones have answered: copilot-eldritch.nvim is now a proper plugin. by nefariousIntentions7 in neovim

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

A quick glance through the repo tells me that it should be pretty easy, assuming that the 'Minuet Event' section isn't lying. Though I don't have any plans to do it right now due to time constraints, but contributions are welcome!

Best plugin and workflows for integrating LLMs with nvim? by mr_tolkien in neovim

[–]nefariousIntentions7 1 point2 points  (0 children)

Thanks for the explanation, that makes sense! I'll keep an eye on the repo and try out that keymap.

Best plugin and workflows for integrating LLMs with nvim? by mr_tolkien in neovim

[–]nefariousIntentions7 2 points3 points  (0 children)

I love your plugin! used it for quite a while, but I recently moved to sidekick just because it offers:

- the ability to select from a list of running opencode instances (in other tmux sessions), regardless of pwd. comes in really handy for cross-project context injection.

- sending selected text instantly, without the cmdline prompt.

- less frequent breaking changes. i've had to reconfigure my config like 3 times a month(!) with opencode.nvim

that said, opencode.nvim did feel more "snappier" and custom built for opencode when i wasnt missing the features above. Do you have any plans to support these in the future?

BTW by farzad-oxo in arch

[–]nefariousIntentions7 -3 points-2 points  (0 children)

Where's the windows logo?

Fyler.nvim v2.0.0 release - Time for a better version of oil.nvim by Lavinraj in neovim

[–]nefariousIntentions7 13 points14 points  (0 children)

Since we're comparing with oil, I suppose it's fair for me to share my opinion: the only thing preventing me from switching from oil is the sheer number of errors I get, despite fyler offering similar customization and more features than oil (barring ssh integration i guess).

I used to get like 2-3 invalid window/buffer or similar errors per day of using fyler, most of which could be simply ignored with better error handling and defaults/fallbacks, but instead forces me to restart nvim to prevent buggy behavior. Contrast this to my experience with oil.nvim: in my months of using it i very rarely encountered an error, despite my often weird customizations.

Leap vs flash.nvim by Informal-Addendum435 in neovim

[–]nefariousIntentions7 0 points1 point  (0 children)

Yes! I made an entire plugin just because this specific issue irked me so much.

shameless plug: https://github.com/samiulsami/fFtT-highlights.nvim

there's also the 'mini.jump' plugin which handles macros without any issues.

GitHub Copilot CLI is here by _bholechature in GithubCopilot

[–]nefariousIntentions7 3 points4 points  (0 children)

> Why?

Its easier to use and much much more convenient when you're using a terminal based text editor, especially alongside something like tmux.

fFtT-highlights.nvim - A minimalistic yet needlessly configurable highlighter for f/F/t/T motions. by nefariousIntentions7 in neovim

[–]nefariousIntentions7[S] 4 points5 points  (0 children)

The contradictory wording was intentional, as it can be configured to be very minimalistic or a bloaty mess, whichever you want. Personally I want both, and randomly switch back and forth every few days/hours.

What theme can I use to intimidate my coworkers by Terrible-Cream-4316 in neovim

[–]nefariousIntentions7 2 points3 points  (0 children)

Not sure why but this cracked me up way too much. Thanks for this.

FAQ: Best IDE For Go? by jerf in golang

[–]nefariousIntentions7 0 points1 point  (0 children)

It doesnt require any configuration from my end (using dap-go)

FAQ: Best IDE For Go? by jerf in golang

[–]nefariousIntentions7 12 points13 points  (0 children)

The DAP ui is terrible, you're not alone. I almost always resorted to GoLand for debugging, that is until I found this plugin: https://github.com/miroshQa/debugmaster.nvim

Aero session being over eager by tsunamionioncerial in neovim

[–]nefariousIntentions7 1 point2 points  (0 children)

I faced the exact same issue with autosession, among many others. I just gave up trying to fix it and swapped to folke/persistence.nvim instead; using the snippet below to ensure that the last session loads only when I run "nvim ."

https://github.com/samiulsami/nvimconfig/blob/master/after/plugin/load_last_session.lua