mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-08 12:57:46 +00:00
config(lazygit): add lazygit config files
This commit is contained in:
commit
18ea03d041
13 files changed
+2529
No files matched your search
@@ -0,0 +1,24 @@
|
||||
[opener]
|
||||
play = [
|
||||
{ run = "mpv %s", orphan = true, for = "unix" },
|
||||
]
|
||||
edit = [
|
||||
{ run = "nvim %s", block = true, for = "unix" },
|
||||
]
|
||||
open = [
|
||||
{ run = "xdg-open %s1", desc = "Open" },
|
||||
]
|
||||
|
||||
[open]
|
||||
prepend_rules = [
|
||||
{ url = "*.{md,markdown}", use = [ "fry", "edit", "open" ] },
|
||||
]
|
||||
|
||||
# Preview pane: bat for text-like files (md included, since mdfried is TTY-only)
|
||||
[[plugin.prepend_previewers]]
|
||||
mime = "text/*"
|
||||
run = 'piper -- bat -p --color=always --terminal-width=$w "$1"'
|
||||
|
||||
[[plugin.prepend_previewers]]
|
||||
mime = "application/{mbox,javascript,wine-extension-ini}"
|
||||
run = 'piper -- bat -p --color=always --terminal-width=$w "$1"'
|
||||
Reference in new issue
Block a user