notes/Areas/optimizing/dev.md
2022-06-05 18:53:01 +02:00

49 lines
1.3 KiB
Markdown

# Roadblocks
## ~~Nested tmux sessions~~
Adding this:
```yaml
RequestTTY true
RemoteCommand tmux new -A -s ssh
```
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:
- ~~Duplicate tmux bar~~
- ~~Shortcuts don't work in remote~~
- This works by hitting the prefix key twice, e.g. ctrl-a-a
## ~~Debian Gnome sometimes comma key doesn't work~~
Has not happened in a while
## ~~Neovim shortcut to comment out~~
Fixed this by installing the NerdCommenter Plugin
Switched to nvim-comment as it seems a bit lighter
## ~~Neovim Auto fix problems shortcut + hover window~~
## ~~Better git merging in Neovim, like in VScode~~
## ~~Copying between neovim, tmux and ssh sessions does not work~~
## Learn how to use splits, buffers and tabs in neovim
## Fix the dictionary for neovim ltex-ls
# Linux
## ~~(Arch) Power Management~~
I want to set the Power Mode e.g. Power/Normal/Energy Saver.
Maybe with a waybar integration, but not that important.
**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