cherrycode

joined 8 months ago
[–] cherrycode@lemmy.ml 1 points 2 weeks ago

https://pastebin.com/YhzDpVzP
I don't think it's a config issue as I haven't changed it for months now

16
submitted 2 weeks ago* (last edited 2 weeks ago) by cherrycode@lemmy.ml to c/linux@lemmy.ml
 

I use neovim in tmux for development and have set up as a keymap for cmp completion. It was working well until just a while ago and I don't know what happened.

seems to register as a simple when I'm under tmux and so doesn't cmp complete in neovim. It's not a problem with cmp as is also bound to that and it does work. It also isn't a problem with neovim or the terminal emulator itself, as I tried this on foot, alacritty, kitty and gnome-terminal. In all cases, works when not in tmux, but when tmux it doesn't work. It was working fine just yesterday, and I don't know why it isn't now or how to fix it.

Has anyone had this kind of issue or knows how to fix it?

EDIT: Found a fix, though I don't know why it was working earlier and stopped working suddenly
https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys
In tmux.conf, add

set -s extended-keys on
set -as terminal-features 'xterm*:extkeys'
[–] cherrycode@lemmy.ml 1 points 2 weeks ago (1 children)

I don't really understand a lot of things in the repo
I'll have a look at it sometime later thanks

For now I have made a container image with node installed in it after following some guides
I enter the project directory and then run this
podman run -it --rm -p 8080:8080 -v $(pwd):/app/$(basename "$PWD"):z my-node-image:latest

[–] cherrycode@lemmy.ml 3 points 2 months ago (3 children)

Can you provide a guide for how to use containers for that? I'm not familiar with them so I have no idea how to do that.

 

I'm following the odin project to learn web development. I had read about malicious packages in npm multiple times, so I avoided it until now. I'm on the webpack lesson now, and to use webpack, I need to install it using npm. I also see that it has many dependencies, and those dependencies will have other depenedencies and so on.

Why is it like this? Is there any other tool like webpack that doesn't require npm? Or rather, can someone clarify how to properly use npm or link a guide that explains it? I have this kind of fear and reluctance about using npm after all the things I read.

 

I want to start learning android dev and I understand that I’ll need the android sdk and cli tools. I want to try it in a kvm because even though it is open source, I would like to keep it separate from my main system. Which distro and vm settings do you suggest I use? Any other tips or your experience with android development on linux would be helpful as well.

 

I want to start learning android dev and I understand that I'll need the android sdk and cli tools. I want to try it in a kvm because even though it is open source, I would like to keep it separate from my main system. Which distro and vm settings do you suggest I use? Any other tips or your experience with android development on linux would be helpful as well.