aboutsummaryrefslogtreecommitdiff
path: root/files/.config
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2024-01-24 22:22:28 +0500
committerAnton Bobov <anton@bobov.name>2024-01-24 22:22:28 +0500
commitae54fa12ce8c4eb8a70fb80da58709ea8bec1f7b (patch)
tree797a2bf8963cdc6cfe272055478f578d921eac83 /files/.config
parent68345bba734317cb08f6741b7db404f80bf57d35 (diff)
Updates
Diffstat (limited to 'files/.config')
-rw-r--r--files/.config/lazygit/config.yml24
-rw-r--r--files/.config/youtube-dl/config3
2 files changed, 24 insertions, 3 deletions
diff --git a/files/.config/lazygit/config.yml b/files/.config/lazygit/config.yml
index 48f6314..9c4b494 100644
--- a/files/.config/lazygit/config.yml
+++ b/files/.config/lazygit/config.yml
@@ -10,14 +10,36 @@ git:
paging:
colorArg: always
pager: diff-so-fancy
+ externalDiffCommand: difft --color=always --background=light
commitPrefixes:
gazprom:
pattern: "^(\\d+)-.*"
replace: "feat: #$1 "
- branchLogCmd: "git lg --color=always --no-merges --graph {{branchName}} --"
+ # branchLogCmd: "git lg --color=always --no-merges --graph {{branchName}} --"
services:
'git.technocom.tech': 'gitea:git.technocom.tech'
keybinding:
commits:
moveDownCommit: '<c-n>'
moveUpCommit: '<c-p>'
+customCommands:
+ - key: '<c-d>'
+ description: 'Show Difftastic for current commit'
+ context: 'subCommits'
+ command: 'git dshow "{{.SelectedLocalCommit.Sha}}"'
+ subprocess: true
+ - key: '<c-d>'
+ description: 'Show difft of current commit'
+ context: 'files'
+ command: 'git dft -- {{.SelectedFile.Name | quote}}'
+ subprocess: true
+ - key: '<c-d>'
+ description: 'Show difft of current commit'
+ context: 'commitFiles'
+ command: 'git dshow "{{.SelectedLocalCommit.Sha}}" -- {{.SelectedCommitFile.Name | quote}}'
+ subprocess: true
+ - key: '<c-d>'
+ description: 'Show difft of current commit'
+ context: 'commits'
+ command: 'git dshow "{{.SelectedLocalCommit.Sha}}"'
+ subprocess: true
diff --git a/files/.config/youtube-dl/config b/files/.config/youtube-dl/config
index c309026..3a8d1e8 100644
--- a/files/.config/youtube-dl/config
+++ b/files/.config/youtube-dl/config
@@ -1,10 +1,9 @@
---format bestvideo[width<=1920]+bestaudio/best[width<=1920]/bestvideo+bestaudio/best
+--format bestvideo[width<=3840]+bestaudio/best[width<=3840]/bestvideo+bestaudio/best
--live-from-start
--sponsorblock-mark all
--xff default
--no-check-certificate
---force-ipv4
--geo-bypass
# python3-secretstorage required