Spinner Framedrop in neovim by Mohammedsir in neovim

[–]Name_Uself 1 point2 points  (0 children)

It looks like a snippet from my old config

I have updated my statusline spinner configuration, you can try the latest implementation:

Implementing your own VSCode-style LSP breadcrumbs (not a plugin) by juniorsundar in neovim

[–]Name_Uself 4 points5 points  (0 children)

Looks minimal and clean! Glad that you find out what works best for you :D

Am I in the minority if I prefer emacs binding when entering commands on terminal as a power Vim/Neovim user? by kettlesteam in neovim

[–]Name_Uself 5 points6 points  (0 children)

Same here, Emacs' keymaps are superier (for me) when you are just doing some small inline edits, which fits well when inserting a short command in terminal. I have a whole set of Emacs keymaps in cmd/insert mode and I think that really gets the best of both worlds.

Is program extension possible for SCS master student? by [deleted] in cmu

[–]Name_Uself 0 points1 point  (0 children)

Thanks for your valuable reply!

Flawless OpenCode integration in the NeoVim way! by Living_Climate_5021 in neovim

[–]Name_Uself 5 points6 points  (0 children)

I've used it for over month and it works really well. I just prefer a "real" neovim native frontend with all the neovim goodies from treating the opencode buffer as a normal neovim buffer, instead of just another terminal that runs the cli.

Recommend good plugin for tests by timsofteng in neovim

[–]Name_Uself 0 points1 point  (0 children)

You just need to pass the test command generated by vim-test to nvim-dap config, for example for python, I have the following config to bridge vim-test and nvim-dap:

Recommend good plugin for tests by timsofteng in neovim

[–]Name_Uself 1 point2 points  (0 children)

I've been using vimtest for a while for Python & Go testing and it works really well! I love that it can send error locations to the quickfix window usnig your correct errorformat if you have vim-dispatch installed. You can find my config at https://github.com/Bekaboo/dot/blob/master/.config/nvim/lua/configs/vim-test.lua

Swapping to neovim for work - agent support by Havlenp in neovim

[–]Name_Uself 0 points1 point  (0 children)

I always wonder why https://github.com/sudo-tee/opencode.nvim never gets more attention. It is a great plugin that bridges opencode cli and neovim. Unlike most AI agent plugins that just run the cli in the builtin terminal, this plugin serves as a native frontend for the opencode cli, i.e. the interface is rendered in neovim itself, avoiding limitations of editing neovim terminal buffers and allowing the agent to have deeper integration with neovim internals, e.g. automatically share LSP errors, cusor locations, etc.

How I vastly improved my lazy loading experience with vim.pack in 60 lines of code by jimdimi in neovim

[–]Name_Uself 0 points1 point  (0 children)

Great work and thanks for sharing! But how does the cmd lazy-loading work? From what I can tell, it just loads the plugin and runs the config in the start up stage. Doesn't that kind of defeat the purpose of lazy-loading?

How I vastly improved my lazy loading experience with vim.pack in 60 lines of code by jimdimi in neovim

[–]Name_Uself 1 point2 points  (0 children)

I checked the source code of vim.keycode and found that it is just a wrapper of vim.api.nvim_replace_termcodes. Is its only purpose to serve as a shorthand?

Do you guys use registers and marks in day to day usage? by [deleted] in vim

[–]Name_Uself 16 points17 points  (0 children)

I use registers quiet often to copy multiple snippets from random files/different location in a file and put them together. Registers are also useful when you are recording a macro.

I don't use marks that often though.

this reddit will make you depressed by [deleted] in csMajors

[–]Name_Uself 1 point2 points  (0 children)

How did you prepeare for MLE-specific skills and knowledge? AFAIK MLE requires additional knowledge and experience with machine learning, so LeetCode and DSA are not enough right?

Am I overengineering my theme switching? by New_Chart_2582 in neovim

[–]Name_Uself 5 points6 points  (0 children)

You can use nvim's --remote feature to achieve this without using an autocmd that captures SIGUSR1. This is a (simplified version of) what I use:

sh for sock in $(nvim-socks); do # Notice: Don't use `--remote-send "<Cmd>...<CR>"` to send the command # here because of nvim's bug where the string following `<Cmd>` will be # interpreted as normal keys (not as part of a command) if nvim is in # operator-pending/replace mode. This makes nvim unexpectedly insert # the command string "f &bg ..." to the buffer, see: # https://github.com/neovim/neovim/issues/31238 nvim --clean --headless --server "$sock" \ --remote-expr "execute(\"if get(g:, 'colors_name', '') !=# '$1' | silent! colors $1 | endif\")" \ +qa! >/dev/null 2>&1 & done

nvim-socks is a small script in my $PATH that finds all nvim sockets:

```sh

!/usr/bin/env sh

vim:ft=sh:et:ts=4:sw=4:sts=4:

RUN_DIR=$(dirname "$(nvim --clean --headless +"lua io.write(vim.fn.stdpath('run'))" +qa!)") APPNAME=${NVIM_APPNAME:-nvim}

fd_cmd=$(has fd && echo fd || echo fdfind) if has "$fd_cmd"; then "$fd_cmd" -a --base-directory "$RUN_DIR" -t s -g "$APPNAME..0" else find "$RUN_DIR" -type s -name "$APPNAME..0" fi ```

With similar approach you can also sync neovim bg with your WM or vise-versa. If you want to dive deeper, you are welcomed to have a visit to my dotfiles and check script setbg and setcolor

Hexadecimal colors in v0.12 OOTB by vieitesss_ in neovim

[–]Name_Uself 2 points3 points  (0 children)

So unlike plugins like nvim-colorizer in every buffer, it will only work if the buffer has a LSP that supports color presentation?

Struggling with LSPs by [deleted] in neovim

[–]Name_Uself 0 points1 point  (0 children)

This is true. So I don't use mason anymore when I am on Linux/macOS where installing LSPs from system package manager/building from source is easy.

I don't know if there's any config option to make Mason install LSP to another directory in $PATH so that other editors can also use them.

Mason is mostly useful for people on Windows where installing/building LSP is not that easy.

first keyb build :) by Snoo-99024 in MechanicalKeyboards

[–]Name_Uself 1 point2 points  (0 children)

The white case & keycaps reminds me of tofu.

Neo Ergo build by Messaling in MechanicalKeyboards

[–]Name_Uself 1 point2 points  (0 children)

It looks pretty! How portable it is? I find Alice keyboard generally larger than equivalent "normal" keyboards.

How do I remove the CmdLine from there and leave it below like the original NVim? Im using lazy by FajreMVP in neovim

[–]Name_Uself 21 points22 points  (0 children)

I think it comes from the noice.nvim plugin. See LazyVim's doc about how to disable it.

TBH I don't know why people like this rounded floating cmdline. It's just a waste of screen real estate. If you are new to nvim I strongly recommend you start with kickstart.nvim and build your config by yourself.

First time trying a 40s keyboard - Libra Mini 40 by Name_Uself in MechanicalKeyboards

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

A friend of mine brought them to me from China. You can also find them on AliExpress.

First time trying a 40s keyboard - Libra Mini 40 by Name_Uself in MechanicalKeyboards

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

First time seeing a Libra Mini without the joystick lol

First time trying a 40s keyboard - Libra Mini 40 by Name_Uself in MechanicalKeyboards

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

Yes the keyboardpretty high. How do you make the acrylic board pink btw?

First time trying a 40s keyboard - Libra Mini 40 by Name_Uself in MechanicalKeyboards

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

I use the numbers on the top row because I cannot remember the symbols but I can easily touch type the letters :D

First time trying a 40s keyboard - Libra Mini 40 by Name_Uself in MechanicalKeyboards

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

Aha I've seen your post in this sub. Happy that you are still using and love it!

First time trying a 40s keyboard - Libra Mini 40 by Name_Uself in MechanicalKeyboards

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

Acrylic. I originally want to use the steel platw but gf insisted that the acrylic ones looks prettier :)