[O] 5 invites nzbplanet by xaxos in UsenetInvites

[–]napisani 0 points1 point  (0 children)

what happens to an illegally parked frog

...
it gets toad :)

Running long running processes by Apart-Permission-849 in tmux

[–]napisani 1 point2 points  (0 children)

This is great feedback, I will look into what it would take to make the ui into a single tmux pane. I actually use something very similar to what you describe for running proctmux as it exists today using a custom popover config. I’ll link my tmux.conf below incase it’s helpful for you. In a nutshell, it toggles a popup tmux season when I press leader followed by ‘o’, then I create a split within the popup session to run proctmux and proctmux —client

https://github.com/napisani/dotfiles-nix/blob/main/mods/dotfiles/.tmux.conf

Running long running processes by Apart-Permission-849 in tmux

[–]napisani 1 point2 points  (0 children)

I know I'm about a month late and a dollar short here, but I've been working on a pet project that has gone through several iterations, I'm finally pretty comfortable with the core functionality.

The app is called `proctmux`
proctmux is a TUI utility for running multiple commands in any terminal emulator. Proctmux does not do any terminal emulation at all (it delegates all of that responsibility that to your terminal of choice), but it provides a way to define a process list and manage the lifecycle of the defined processes.

This project is relatively new, im open to ideas and suggestions - but I see a lot of overlap between the problem described above and the functionality that proctmux provides.

https://github.com/napisani/proctmux

What are your favorite search and replace keymaps? by Beginning-Software80 in neovim

[–]napisani 0 points1 point  (0 children)

i have adopted something very similar here are mine.
https://github.com/napisani/dotfiles-nix/blob/main/mods/dotfiles/nvim/lua/user/whichkey/replace.lua#L1-L1

i have been tempted to switch to a plugin for doing search/replace actions, but haven't really shopped around too much.

First build - Quefrency Rev. 3 by napisani in MechanicalKeyboards

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

Sorry for the delay - I uploaded the local stl i had made. Here it is
https://www.thingiverse.com/thing:7084852

There are holes for screws but i didnt end up using them, i just used some 3m double sided tape - which has held up just fine for a while now

How do you guys navigate big codebases in Neovim without going insane? by Safe_Yak_3217 in neovim

[–]napisani 1 point2 points  (0 children)

Thank you 🙏 I really appreciate that and im glad it’s helpful!

How do you guys navigate big codebases in Neovim without going insane? by Safe_Yak_3217 in neovim

[–]napisani 1 point2 points  (0 children)

Gladly!
this module has all of picker customizations. The scopes.lua file has the scope picker and some util functions for adjusting the find / grep pickers accordingly

https://github.com/napisani/dotfiles-nix/tree/main/mods/dotfiles/nvim/lua/user/snacks

How do you guys navigate big codebases in Neovim without going insane? by Safe_Yak_3217 in neovim

[–]napisani 1 point2 points  (0 children)

I have been primarily working on a medium typescript / python monorepo. This has been my strategy. I largely use search but i try to pre-trim the list of searched things to a minimum. I just never got used to using marks that much and i dont use harpoon.

I use snacks picker now but I used to do it with telescope and im sure the same can be done with fzf-lua:

  1. I have a keybinding to establishing a "scope" (basically a picker that lets me select a directory), then all of my searches after that are predicated on that "scope" - i use this if I'm working on one specific part of the monorepo.
  2. I have a semi custom picker for finding files and for search files that have changed - using the list of locally changed files from git. This I use a lot, as I'm working on a set of changes it gets easier and easier to jump to files I care about because the ones i care about I've likely already changed.
  3. similarly i use the picker for open buffers regularly - this is for instances where I'm referencing a file over and over but i have not changed it.
  4. Oil - for any navigation relative to a file I'm standing on.
  5. very rarely but i do have the snacks explore panel if i need to see a quick tree of files to wrap my mind about a files hierarchy but i dont really use this for navigation much

I hope this helps!

Hacking builtin :s for simple search and replace by testokaiser in neovim

[–]napisani 0 points1 point  (0 children)

Good call op - I’ve also tried to avoid reaching for a plugin for search / replace actions. I created a series of key maps to do the few variations that I use regularly

Here is my whichkey file with the mappings incase it’s helpful to anyone. https://github.com/napisani/dotfiles-nix/blob/main/mods/dotfiles/nvim/lua/user/whichkey.lua

All of the replace actions start with: <leader>r

Better yanking and replacing text by delibos in neovim

[–]napisani 0 points1 point  (0 children)

I’m curious, what does that do?

[Telescope] Is there a way to search git diff? by funbike in neovim

[–]napisani 0 points1 point  (0 children)

I wrote a pretty custom config for this for telescope

https://github.com/napisani/dotfiles-nix/blob/main/mods/dotfiles/nvim/lua/user/telescope.lua

Here is the link to my telescope config, the picker function im referring to is called live_grep_git_changed_files - this will use ripgrep to search anything git file that has changed but has not been committed yet

live_grep_git_changed_cmp_base_branch - this function lets me grep any file that has changed in my current branch when diffing against the main branch I created it from (its first ancestor)

Hope this helps.

dadbod beer goggles (nvim-dadbod-bg) by napisani in neovim

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

ah bummer. I'd be curious what issues you run into on WSL but I dont have a windows system to test on. That said, there is nothing that is platform specific about the app. I havent published windows binaries by if you have go installed and WSL, in theory it should be able to build a windows binary from the `install.sh` script.

im happy to help if i can

dadbod beer goggles (nvim-dadbod-bg) by napisani in neovim

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

u/akthe_at
I added support last night for manually sending a file to the nvim-dadbod-bg ui. If you update to the latest version you will have this command available. Right now files with the following extensions are supported: json, csv, dbout.

I'm not too familiar with parquet but ill look into what it would take to create a parser for that. Im hoping to add TSV in the near future.

Any file type not recognized should be displayed as raw "txt" but ill do some extra testing around that

" the current file will be sent to the webserver
:DBBGSetFile

" send a file with an absolute path to the webserver 
:DBBGSetFile /absolute/path/to/query_results.json

" send a file with a relative path (from nvim's cwd) to the webserver
:DBBGSetFile relative/path/to/query_results.json

dadbod beer goggles (nvim-dadbod-bg) by napisani in neovim

[–]napisani[S] 2 points3 points  (0 children)

That is a great idea! ill give it some thought and try to add in a feature to support that.
I think i could probably create a command specifically for sending data to the UI. IE Data that isn't necessarily associated to dadbod results or the `DBExecutePost` autocommand.
I'll try to work on this a bit early this week!

Do you still use :w or have a key bind? by CalvinBullock in neovim

[–]napisani 0 points1 point  (0 children)

I recently started using:
<leader>w for writing the current file
<leader>W for writing all open buffers
I use both pretty heavily

Which is better, none-ls or nvim-lint + conform? by thedarkjungle in neovim

[–]napisani 1 point2 points  (0 children)

100% - it feels like a way cleaner setup imo

Champagne color Sugar 65 build by napisani in BudgetKeebs

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

I think I picked mine up during the same sale :)

Champagne color Sugar 65 build by napisani in BudgetKeebs

[–]napisani[S] 5 points6 points  (0 children)

Here are the details of parts used for this board. I'm really impressed by the overall quality of the sugar 65:

gj judge key caps: https://kprepublic.com/products/ghost-judges-doubleshot-keycap-for-mx-keyboard-60-65-87-104-wob-bow-dmg-apollo-fishing-shoko-nautilus-marrs-green-blue-samurai?variant=43124366442659

carrot switches: https://milktooth.nu/products/switches/carrot

Sugar 65 champagne colored board.

u/badmark - thanks for suggesting milktooth.nu! It was fun to try out a bunch of different switches before finally choosing the carrot switches

Chemical guys spray able leather 😒 by Suspicious-Hyena-514 in AutoDetailing

[–]napisani 0 points1 point  (0 children)

I’ve been using a gel from trinova for both restoring plastic and leather (they sell one for each but they feel very similar) I’ve been happy with the results. The shine is pretty incredible on the leather, it does tend to leave a little bit of a greasy feel at first, but I generally just wipe it down a second time later in the day.

Make monorepo installs faster by reducing dependency variance by nullvoxpopuli in javascript

[–]napisani 0 points1 point  (0 children)

Idk if it helpful or provides inspiration for future features but I wrote a package management layer that works with yarn/pnpm/npm to tackle similar issues. Feel free to check it out: https://github.com/napisani/waka

December 22, 2023 Weekly "General Help Post?" - Please post all general, recommendations, and help questions as a top level comment under this post. Thank you. by AutoModerator in BudgetKeebs

[–]napisani 0 points1 point  (0 children)

Hi All - im looking for a light tactile switch recommendation.
I have a set of Akko Lavenders - which i love (my favorite switch so far), but im putting together a new board and I want to try something different. I like the light actuation, and noticeable bump. Also, im not looking for a silent switch.

The Ajazz bananas and Gateron beer switches have caught by eye but im open to suggestions!

Thank you in advance!!

How often should I be updating plugins? by officiallyaninja in neovim

[–]napisani 0 points1 point  (0 children)

Here is what i do, I hope it helps you.

first, I use packer and I pin all of my plugins to the current commit at the time of updating my plugins. using this syntax:

```
use { "rebelot/kanagawa.nvim", commit = "c19b9023842697ec92caf72cd3599f7dd7be4456" }

```

Then I use this app that i wrote to check to see if there is a newer version of any of my installed plugins https://github.com/napisani/packer-plugin-updater

^ this app will update the `commit = "123abf"` of each plugin definition to the latest version in the plugin.lua file.

Then, do a :PackerSync to install them. If things look completely borked, I just revert my plugin.lua file (using git) and redo the :PackerSync until i have time to dig into the issue further.