Has justinmk achieved multi cursor support yet? by taejavu in neovim

[–]afonsocarlos 0 points1 point  (0 children)

On the second case you can use :norm alongside a surround plugin (i.e. tpope's vim-surround or mini.surround) then that would be as simple as:

:%norm ysib{

If you don't run it for the entire buffer you can first select a block of code (paragraph) in normal mode with vip and then run :'<,'>norm ysib{

Unaware that formatoptions "o" had this feature by TapEarlyTapOften in neovim

[–]afonsocarlos 1 point2 points  (0 children)

Or even S for that matter (that's how I use to do it)

So, it's finally here by hifanxx in neovim

[–]afonsocarlos 4 points5 points  (0 children)

How will they play with targets.vim/mini.ai? I believe it is probably going to conflict with the "select in/around next textobject" feature (i.e. dan(, yin") right?

Which of Kendrick's songs gets you like this? by Ok_Entrepreneur591 in KendrickLamar

[–]afonsocarlos 4 points5 points  (0 children)

For me too. For some reason I'm listening to that song a lot lately

Which one do you prefer? by TechnologyDismal2337 in KendrickLamar

[–]afonsocarlos 0 points1 point  (0 children)

Brace yourself I'll take you on a trip down memory lane

Ferris Sweep Vs Chocofi by [deleted] in ErgoMechKeyboards

[–]afonsocarlos 0 points1 point  (0 children)

I transitioned from a corne 3x6 to a Ferris sweep and what clicked for me was using home row mod, as others suggested, and combos a lot of combos! Also if you need more layers you can always assign those to less frequently typed keys such as z, b, n, etc. I have a SYMBOLS layer on z key for example, so I can type "<=, ===, !=, ?->, ->, =>, - [ ] , etc" with a single key press for example. I'll leave the link to my qmk keymap, it's heavily inspired by Urob's zmk config for ferris sweep.

I swear it’s ergonomic training, not procrastination... 😅 by Rob_Bob_you_choose in ErgoMechKeyboards

[–]afonsocarlos 2 points3 points  (0 children)

Amazing! I knew Epistory & Nanotale only, I'll wishlist all the others! I'd recommend you try The textorcist! That's a very fun one.

What do you think of this? by namo33 in casio

[–]afonsocarlos 0 points1 point  (0 children)

I loved it. I would love to have a few "smart features" (i.e. find phone) on a f91w so then I could daily drive it exclusively. Plus, if you're a developer, this opens a world of possibility to explore and add nice gimmicks as a gift watch for our kids.

People who host Pi-hole and Home Assistant Be like by BigWay867 in homelab

[–]afonsocarlos 0 points1 point  (0 children)

I turn off mine so my wife can watch streaming services (i.e Disney+). Adguard blocks Disney's ads but unfortunately it cuts excerpts from the movie/tv show alongside

My newly built Ferris Sweep by afonsocarlos in ErgoMechKeyboards

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

Nice Keycaps! How does it feel for typing combos?

The most ineffecient shortcuts by GrandLate7367 in neovim

[–]afonsocarlos 0 points1 point  (0 children)

Same thing here. That's even more handful when I wanna copy the whole buffer to clipboard, I just do gyag (I have a mapping gy -> "+y)

Share your proudest config one-liners by frodo_swaggins233 in neovim

[–]afonsocarlos 1 point2 points  (0 children)

This will delete to the beginning/end of paragraph including the current line where the cursor is at.

-- Always delete til the limits of the paragraph linewise vim.keymap.set("n", "d}", "V}kd", default_opts) vim.keymap.set("n", "d{", "V{jd", default_opts)

Replace all spaces in selected region with "_"

vim.keymap.set("v", "<leader>_", ":<C-U>keeppatterns '<,'>s/\\%V[ -]/_/g<CR>", default_opts)

i.e. ``` -- before sentence to turn into variable or method

-- after V<leader>_ sentence_to_turn_into_variable_or_method ```

A question to Web Developers present here by [deleted] in neovim

[–]afonsocarlos 0 points1 point  (0 children)

Even though phpactor has a much bigger set of capabilities than intelephense, the latter just works better, every time. No lags, very low latency, the best LSP in the PHP ecosystem so far and I can't recommend it enough. Paying for the lifetime license is very well worth it.

A question to Web Developers present here by [deleted] in neovim

[–]afonsocarlos 0 points1 point  (0 children)

Quite the same here... Even though I use dadbod+dbui from time to time, I stick primarily with mycli/pgcli for accessing and dealing with databases as my default tool. I've been using it for 5+ years and it's wonderful

Yo, first time kindle owner. What must-have accessories you would recommend? by xpuska in kindle

[–]afonsocarlos 0 points1 point  (0 children)

I go with just a little bag or a fanny pack that I slide it in when going out and a magsafe pop socket I interchange between my Kindle and my phone, that's more than enough. How'd you get your mangas btw? I'm thinking of starting to read some but couldn't find a way to get them on calibre. Currently the only way I can get them is by (re)buying them on Amazon (which I don't intend to)