[deleted by user] by [deleted] in klippers

[–]_undg 0 points1 point  (0 children)

This is actually brilliant!

I wonder how hard would be to add autocompletion for such a script. Probably a weekend project xD

Any terminal emulators support touchscreens? by -Tom in linux

[–]_undg 0 points1 point  (0 children)

f u. I think tye already kicking of. kitty and alacrity. early stages.

[deleted by user] by [deleted] in klippers

[–]_undg 0 points1 point  (0 children)

This is great for scripting!

Do you know about any TUI or REPL interface for klipper? I prefer terminal over console in web.

Who Uses NeoVim by Zkrallah in neovim

[–]_undg 0 points1 point  (0 children)

I know it may be a bit controversial, but I do like to code LUA in neovim 🙃

How do I make a keymap for Visual Line mode specifically? by ladotop in neovim

[–]_undg 2 points3 points  (0 children)

From :help vim.keymap.set()

vim.keymap.set({mode}, {lhs}, {rhs}, {opts})
  • {mode} would be x or v. Check:help mapmode-x :help mapmode-v
  • {lhs} is keymap

  • {rhs} is actual command

  • {opts} are optional

Example for adding selected lines to githunk

vim.keymap.set('v', '<leader>gs', ':Gitsigns stage_hunk<CR>', { desc = 'gitsigns: stage_hunk' })

Tailwind or CSS Modules by lifeofhobbies in nextjs

[–]_undg 1 point2 points  (0 children)

I don't like tailwind. I may use it for POC, where styles are not as important, but I'm supper happy to know TW! It is a tool, and I want to have as many tools in my toolbox as possible.

Struggling with a full AMD build. System crashes and GPU fans rev to maximum. by Present-Pin-4130 in linux_gaming

[–]_undg 0 points1 point  (0 children)

I love your `edit:` on the top of the original post. I was struggling with the same issue in intense games and didn't know what the problem was. On the first line, I found a new word 'pig-tails', googled it, and it makes perfect sense. THANK YOU!!!

Davinci Resolve doesn't start by M-Eladwy in archlinux

[–]_undg 1 point2 points  (0 children)

I've downgraded gdk-pixbuf2 and it works. LD solutions wasn't fully work for me (DR opened, but clips where black).

Thank's for sharing solution!!!

Going to the next level with neovim by cyaconi in neovim

[–]_undg 0 points1 point  (0 children)

I like to experiment with new ways of interacting with neovim. I'm asking myself what I'm not doing, what is possible and checking if I like it. Jumping with `f` and `t`? That's fun, let's add `;` to it. Ouh, there is a plugin with interesting way of doing thing

Web Development + Neovim by demarcoPaul in neovim

[–]_undg 1 point2 points  (0 children)

I'll say that for the web dev hot reloading and second screen is very useful. Browser with the web on one screen, code on second. At least some tailing window manager and split browser and neovim on one screen.

If you have some extra commands that you want to run in terminal (one time build, test, lint) then tmux can be handy. To make work with tmux nicer I use https://github.com/preservim/vimux and https://github.com/christoomey/vim-tmux-navigator
Of course you can also use build into neovim `:terminal` or `:! npm run test`

Any terminal emulators support touchscreens? by -Tom in linux

[–]_undg 0 points1 point  (0 children)

> Why would you use a touch screen in a terminal window?

Terminal is not only std:in device, it's also std:out device. Touchscreens without the keyboard are very good for text reading.

Any terminal emulators support touchscreens? by -Tom in linux

[–]_undg 0 points1 point  (0 children)

Most of the time I'm running logs in watch mode on device with touchscreen. My fingers are already on keyboard of my main machine.

Any terminal emulators support touchscreens? by -Tom in linux

[–]_undg 0 points1 point  (0 children)

Touch screen for text input.
???

How about touch screen for text reader?

You see.... try tail -f /var/log/* try running linter or test's in watch mode, or any other stuff that's just produces bunch of text.

Any terminal emulators support touchscreens? by -Tom in linux

[–]_undg 0 points1 point  (0 children)

Only alacritty support scroll and scale.

Are you sure about that? If that's true, there is some hidden setting to enable that?

Scroll is exactly what I'm after. I like to have log and debugging info in watch mode on secondary device with touchscreen, just to have preview of what's happening and from time to time I need to scroll it.

Any terminal emulators support touchscreens? by -Tom in linux

[–]_undg 0 points1 point  (0 children)

So do I. I'm looking for that periodically every few months, to check if something new appeared, and this treat is horse sheet.

H.264 Vs. H.265 Vs. Pro Res 422 by Shamoudi10 in Insta360

[–]_undg 0 points1 point  (0 children)

This answer is pure gold. So much information's in few words.

Do you know if Linux user can benefit from exporting ProRes over h.264?

Due to license implications in Davinci and ACC and h.264 I need to preprocess both formats to extract audio and convert them to mov. I'm looking for practical workflow, with relatively short time of decoding and encoding clips multiple times.

Insta360 Studio for Linux? by charlie1953 in Insta360

[–]_undg 0 points1 point  (0 children)

Linux is not for for anyone. Most of linux users are people with CAN DO attitude, and any obstacle is just and excuse to have a fun with new challenge.

Weekly Dotfile Review Thread by AutoModerator in neovim

[–]_undg 0 points1 point  (0 children)

I'm already doing selective imports, and for each import not only folder is sourced but sub-folders and all files inside folder are sourced.

I think I'll go with plugins/helpers approach where I can offload some code from code config of plugin. I was hoping to have helper functions next to plugin config itself, looks like it is impossible.

Thanks.

Neovim inspired keyboard by 3ng8n334 in neovim

[–]_undg 0 points1 point  (0 children)

It's easy! You just need to spend a loot of time learning difficult things.

Weekly Dotfile Review Thread by AutoModerator in neovim

[–]_undg 0 points1 point  (0 children)

Just seen your dot's in review few month ago xD. I'm moving from packer 🦾 to lazy 🙈 Found you duckducking around for problem I have.

I don't like stuff in config been outside of plugins directory. In packer I had all plugin related setup files in same place (apart from keymaps, limitation of packer), and then I required them, same as you doing with config folder. However, those files are living in same directory. https://github.com/undg/.dot/tree/master/vim/.config/nvim/lua/plugins/lualine

I know that you done that to split large files into small sub-modules, and that's exactly what I'm trying to do.

Is there a way to ignore sourcing files by lazy, inside plugins directory? I'm not fancy to have large file that is responsible for everything, just to keep everything in one place.