mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#nvim

0 Beiträge0 Beteiligte0 Beiträge heute

It's also time for me to jump on the bandwagon of AI coding. In the past, I was using Copilot, and it was rather bad experience, but not always.

If you'd have to choose one, what would you choose? Copilot, Cursor, Claude Code, something else?

I'm #nvim user, so using Cursor would require from me to change my editor, and I'm not sure if I'm ready for it.

Is there anything else I could use with nvim on flat subscription except for GH Copilot?

#ai#coding#aicoding

It's that time of year when you upgrade #neovim and everything breaks. 😭

I barely understood lsp + mason + lsp-config + mason-lsp-config + all the config per-lsp but it worked and now it's just crumbled! Every README seems to assume absolute knowledge of ... everything.

I'm using both Standardrb and Rubocop, depending on the project. With #nvim, switching between the two was a huge pain.

I think I found a decent solution, though. Based on which files are present in the project root, we use either one as a formatter/linter 🤷

I am not a software developer. I like to tinker. More so recently as I've been really digging in to Python.

Although VSCode is fine (really) and probably the right choice for almost everyone - I have to say that fighting through the (often frustrating) hump of getting nvim up and running as an IDE has been immensely satisfying. Especially when paired with tmux.

It doesn't hurt that working that way offers the major bonus of making you feel like a serious l337 haxx0r once you start getting into the rhythm and fully commit to vim motions.

#NeoVim #nvim #python #IDE #1337 #Nerdgasm #tmux #vim #LazyVim

По умолчанию nvim игнорирует группу `Cursor` из цветовой схемы. Чтобы он её учитывал, необходимо изменить `guicursor`, добавить `-Cursor` (смотри вложение). Однако это действует только на цвет фона курсора, но не на передний план. То есть, на светлых цветовых схемах получаем под курсором тёмный символ на тёмном фоне.

По-видимому, работоспособность зависит от эмулятора терминала. Без каких-либо дополнительных изменений оно корректно работает в alacritty и neovide. В foot, kitty, wezterm и rio не пашет.

Если покопаться в `:Man foot-ctlseqs(7)`, можно найти OSC-12 для изменения *фона* курсора, но передний план изменить во время работы нельзя (или я не понял, как). Можно лишь установить оба цвета в конфиге. Но мне-то надо менять их при изменении цветовой схемы в редакторе!

Есть ли люди, использующие светлые цветовые схемы и решившие проблему с курсором? Или вы просто выбираете эмулятор терминала, в котором оно само работает?

Make your escape key easier to reach by swapping your escape and caps lock keys! This is especially useful for Vim and Neovim editing!

If you use Linux with the X window system, just run this command on startup:

``` sh
setxkbmap -option caps:swapescape
```

#keyboard#linux#programming

Hello #fediverse

I am happy to report I have managed to migrate to #LazyVim from my custom #nvim config.

The major pain point for me was that Konsole was screwing up my keybindings:
1. It translated `Ctrl+/` to `Ctrl+_` (this took me so long to figure out, thank you r/neovim)
2. I never got to register "Ctrl+`" keybinding for toggling terminal. (This is originally done by (1) but this is something I use in VSCode so I needed it)

Alas, I gave in and installed #Alacritty and all my problems have vanished. I also managed to customize it a little.

Now, I need to figure out how to manage the dotfiles!! Any ideas? What do you use?

#diary#vim#linux

I think I found an easter egg in neovim :neovim: just by chance, I typed ":smile" as a command and it gave me an ASCII art as the output. 🤩
Video below shows the output, I had to record the output because if I took only a screenshot more then half of the output would had been cut off. I know a screen cast is a bit too much just to show an ASCII art, but this is the only way that I can show the whole output. 😅

#neovim#nvim#easteregg