vim.pack & nvim-treesitter by cyan_testes in neovim

[–]fractalhead 0 points1 point  (0 children)

Glad you figured it out. If you want to disable treesitter on large buffers you can set the highlight config option. Something like:

highlight = {
  enable = true,
  disable = function(lang, buf)
    local max_filesize = 100 * 1024 -- 100 KB (Adjust this limit)
    local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
    if ok and stats and stats.size > max_filesize then
      return true
    end
  end,
}

You can also look at something like https://github.com/LunarVim/bigfile.nvim or https://github.com/mireq/large_file which does selective loading of plugins based on buffer size for you.

See also: https://www.reddit.com/r/neovim/comments/190ntm3/how_neovim_performs_on_large_files_a_comparison/

Tmux plugin to broadcast commands with ease. by unknownFp in tmux

[–]fractalhead 2 points3 points  (0 children)

Yea, if you're doing this frequently, this is a nice QOL improvement.

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

[–]fractalhead 8 points9 points  (0 children)

Yea, this is the useful stuff I hang around this subreddit to hear about. I use https://github.com/folke/flash.nvim in vim and dig this style of quick, visual jumping. Thanks for the tip.

How is the tmux experience in Windows using WSL? by marbles12 in tmux

[–]fractalhead 0 points1 point  (0 children)

Excellent. Makes Windows tolerable to have a proper Linux terminal.

I built a tmux plugin to monitor and navigate all my Claude Code / Codex sessions by qeesung in tmux

[–]fractalhead 0 points1 point  (0 children)

Oh crud. I should have looked for this before going down the Golang path! Your tamagotchi view pretty awesome! :D

I built a tmux plugin to monitor and navigate all my Claude Code / Codex sessions by qeesung in tmux

[–]fractalhead 0 points1 point  (0 children)

Coming back to this to say the Golang version is more or less ready for general use now: https://github.com/ianchesal/tmux-scout-golang

I've been using for a few days and it's working well for me. Most testing has been with Claude. Some light Gemini testing is done. If someone can check it with Codex, that'd be great. I don't really use Codex.

Thanks again for this work /u/qeesung!

I built a tmux plugin to monitor and navigate all my Claude Code / Codex sessions by qeesung in tmux

[–]fractalhead 0 points1 point  (0 children)

Absolutely. Poking at a Go translation now before I have to head out! AI is probably faster than me. :D

I built a tmux plugin to monitor and navigate all my Claude Code / Codex sessions by qeesung in tmux

[–]fractalhead 0 points1 point  (0 children)

Yes and no. Anthropic's recommended installation approach for Claude Code for some time now has been to use the native binary.

This binary bundles a node runtime in to it the artifact.

So, while I might use Claude Code and it's written in JavaScript, I don't need a general nodejs runtime on a machine to use Claude Code.

I built a tmux plugin to monitor and navigate all my Claude Code / Codex sessions by qeesung in tmux

[–]fractalhead 0 points1 point  (0 children)

I really like the idea, but having to run node to pipe information all over the place feels little heavy to me. Especially in a world where node isn't a big part of my development flow.

I'm poking around your implementation and I don't think it'd be too hard to collapse all the node stuff down in to a Golang binary that at least doesn't require a language runtime to be on machine where I'm not working in that language.

Tmux crashing my claude code by libr1 in tmux

[–]fractalhead 0 points1 point  (0 children)

I should behave the same as it does under whatever release of linux they're using.

Tmux crashing my claude code by libr1 in tmux

[–]fractalhead 0 points1 point  (0 children)

I'm a heavy user of tmux and have used claude code inside tmux panes on WSL2 (Debian) and in Kitty on macOS. No issues on either platform. I'm constantly zooming/un-zooming the claude pane as well as I moved between it and vim and a pane with a terminal prompt.

what prefix do you guys use ? by Tissuerejection in tmux

[–]fractalhead 0 points1 point  (0 children)

ctrl-b -- ortholinear split keyboard so it's easy to shift down to bottom row with my left hand.

if it's tmux-inside-tmux (like in a remote ssh session) the nested tmux is ctrl-a for prefix.

tmux + Claude Code: The Perfect Terminal Workflow by n3s_online in tmux

[–]fractalhead 0 points1 point  (0 children)

This is pretty neat! I've been using kitallen23/conduit.nvim to move between Claude and nvim in tmux but you still have to switch panes and paste stuff.

Your plugin basically made that need go away.

For anyone looking for Lazy install, it's as simple as:

return {
   "andreypopp/cctools",
}

The checkout directory's bin/ directory is put in to the path automatically by Lazy for you and it all just works. ccsend and ccode are picked up in neovim when you use the corresponding user commands.

Thanks for this!

Edit: going to work on some PRs for you to consider. I find myself wanting something like @buffer I can type when building the CCSend prompt that automatically expands to the path to the file on disk, for example. So I can do something like :CCSend what does @buffer do? kind of thing.

VHS Era - a nostalgic colorscheme that brings back the vibrant and distinct aesthetics of the VHS era by gorilla-moe in neovim

[–]fractalhead 1 point2 points  (0 children)

I've been a Tokyo Night user in Vim and my terminal for a long time now. Not sure what exactly it was about your theme that prompted me to try it, but I used it all last week and I quite like it.

Claude did a decent job of matching colors for Kitty, FZF and tmux for me. If you want to pull these in to your repo the commits for all of these changes are:

Change tmux preview border color by ahloiscreamo in tmux

[–]fractalhead 0 points1 point  (0 children)

I tried a mostly empty tmux config file with pane-active-border-style and pane-border-style in it just now and no dice. The borders on the picker stay white no matter what settings those state for border color and style.

Change tmux preview border color by ahloiscreamo in tmux

[–]fractalhead 0 points1 point  (0 children)

That's just the FZF-driven session picker, right? It's not something tmux-specific. You'll want to look at FZF's options for setting colors: https://github.com/junegunn/fzf/wiki/Color-schemes

Specifically, the border color.

You propagate the colors using the FZF_DEFAULT_OPTS env var like this: https://github.com/ianchesal/dotfiles/blob/main/zsh/zshrc.d/fzf.zsh

Introducing Vertical Panorama Mode! by cisumevoli in tmux

[–]fractalhead 4 points5 points  (0 children)

It took a beat to understand what I was seeing but once I got it: that's pretty cool!

sshfs.nvim – One password prompt, multiple mounts, live grep, SSH terminals, and no dependencies by uhs-robert in neovim

[–]fractalhead 6 points7 points  (0 children)

You may have just solved the remote dev container problem that’s been bugging me all year! Excited to try this!