Compare commits
3 Commits
45362b9d05
...
a94ae1df3c
| Author | SHA1 | Date | |
|---|---|---|---|
| a94ae1df3c | |||
| f249000d30 | |||
| 6260584877 |
@@ -29,8 +29,8 @@ Use ./stow.sh --unstow <folder_name> to remove configuration
|
||||
- gamemode configuration:
|
||||
- renice=10
|
||||
- ssh-agent:
|
||||
- agent-location: `cd $HOME/.oh-my-zsh/ && git apply $HOME/.dots/patches/ssh-agent-location.patch`
|
||||
- remove keys on lock: `ln -sSf $HOME/.dots/scripts/remove-ssh.service $HOME/.config/systemd/user/remove-ssh.service && systemctl --user start remove-ssh && systemctl --user enable remove-ssh`
|
||||
- agent-location: `cd $HOME/.oh-my-zsh/ && git apply $HOME/.dots/ssh-agent-location.patch`
|
||||
- remove keys on lock: `ln -sSf $HOME/.dots/remove-ssh.service $HOME/.config/systemd/user/remove-ssh.service && systemctl --user start remove-ssh && systemctl --user enable remove-ssh`
|
||||
|
||||
## Software
|
||||
|
||||
@@ -42,7 +42,7 @@ sudo apt install \
|
||||
```
|
||||
|
||||
```
|
||||
git clone https://github.com/ohmyzsh/ohmyzsh/ $HOME/.oh-my-zsh && cd $HOME/.oh-my-zsh && git apply $HOME/.dots/patches/prompt.patch
|
||||
git clone https://github.com/ohmyzsh/ohmyzsh/ $HOME/.oh-my-zsh && cd $HOME/.oh-my-zsh && git apply $HOME/.dots/prompt.patch
|
||||
```
|
||||
|
||||
### Extended
|
||||
|
||||
@@ -25,12 +25,15 @@ display-inlay-hints = true
|
||||
"_" = ["extend_line_up", "extend_to_line_bounds"]
|
||||
"+" = ["extend_line_down", "extend_to_line_bounds"]
|
||||
|
||||
# Normally `goto`, but `git` works aswell
|
||||
[keys.normal.g]
|
||||
"b" = ":sh git show %sh{git blame -L %{cursor_line},+1 %{buffer_name} | awk '{print $1}'}"
|
||||
|
||||
[keys.normal.space]
|
||||
"t" = ':lsp-workspace-command tinymist.pinMain "%sh{realpath %{buffer_name}}"'
|
||||
# N, like German _Nachricht_ to the lsp
|
||||
[keys.normal.n]
|
||||
"p" = ':lsp-workspace-command tinymist.pinMain "%sh{realpath %{buffer_name}}"'
|
||||
|
||||
# Z is everything with view, so soft-wrap fits well
|
||||
[keys.normal.z]
|
||||
s = ":set soft-wrap.enable true"
|
||||
S = ":set soft-wrap.enable false"
|
||||
|
||||
@@ -4,7 +4,7 @@ Description=Remove SSH keys on lock
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=SSH_AUTH_SOCK=/tmp/agent.sock
|
||||
ExecStart=%h/.dots/scripts/remove-ssh.bash
|
||||
ExecStart=%h/.dots/remove-ssh.bash
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user