notes/Areas/optimizing/dev.md

49 lines
1.3 KiB
Markdown
Raw Normal View History

2022-02-22 11:27:27 +01:00
# Roadblocks
2022-04-27 16:24:58 +02:00
## ~~Nested tmux sessions~~
2022-02-22 11:27:27 +01:00
Adding this:
2022-03-29 00:02:22 +02:00
```yaml
2022-04-27 16:24:58 +02:00
RequestTTY true
RemoteCommand tmux new -A -s ssh
2022-02-22 11:27:27 +01:00
```
to the ssh config if the specific hosts will automatically start tmux when connected
If i ssh into a remote machine with tmux started as well I have some problems:
2022-03-29 00:02:22 +02:00
- ~~Duplicate tmux bar~~
- ~~Shortcuts don't work in remote~~
2022-02-22 11:27:27 +01:00
- This works by hitting the prefix key twice, e.g. ctrl-a-a
2022-04-27 16:24:58 +02:00
## ~~Debian Gnome sometimes comma key doesn't work~~
2022-02-22 11:27:27 +01:00
Has not happened in a while
2022-04-27 16:24:58 +02:00
## ~~Neovim shortcut to comment out~~
2022-02-22 11:27:27 +01:00
Fixed this by installing the NerdCommenter Plugin
2022-04-27 16:24:58 +02:00
Switched to nvim-comment as it seems a bit lighter
2022-02-22 11:27:27 +01:00
2022-06-05 18:53:01 +02:00
## ~~Neovim Auto fix problems shortcut + hover window~~
2022-02-22 11:27:27 +01:00
2022-04-27 16:24:58 +02:00
## ~~Better git merging in Neovim, like in VScode~~
2022-02-22 11:27:27 +01:00
2022-04-27 16:24:58 +02:00
## ~~Copying between neovim, tmux and ssh sessions does not work~~
2022-03-29 00:02:22 +02:00
2022-06-05 18:53:01 +02:00
## Learn how to use splits, buffers and tabs in neovim
2022-03-29 00:02:22 +02:00
2022-02-22 11:27:27 +01:00
## Fix the dictionary for neovim ltex-ls
2022-03-29 00:02:22 +02:00
# Linux
2022-06-05 18:53:01 +02:00
## ~~(Arch) Power Management~~
2022-03-29 00:02:22 +02:00
I want to set the Power Mode e.g. Power/Normal/Energy Saver.
Maybe with a waybar integration, but not that important.
2022-06-05 18:53:01 +02:00
**Solution**
Installed power-profiles-daemon, and added a script to waybar to easily switch, profiles are not configurable tho :/
## (Arch) Auto Mount USB Stuff
## (Pipewire) Auto Change Audio Output
## (Arch) Low Battery Warning