File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ old=$( echo " $2 " | sed ' s|\\|/|g' )
4+ new=$( echo " $5 " | sed ' s|\\|/|g' )
5+ path=" $1 "
6+ git diff --no-index --no-ext-diff " $old " " $new " |
7+ sed -e " s|$old |$path |g" -e " s|$new |$path |g" |
8+ delta --width=" ${LAZYGIT_COLUMNS} " --no-gitconfig --line-numbers --tabs=4 --dark --paging=never --hyperlinks --hyperlinks-file-link-format=" lazygit-edit://{path}:{line}"
Original file line number Diff line number Diff line change @@ -50,9 +50,14 @@ $ideavimrc = @{
5050}
5151$lazygit = @ {
5252 name = " lazygit config.yml"
53- remote = " $DIR \.config \lazygit\config.yml"
53+ remote = " $DIR \windows \lazygit\config.yml"
5454 local = " $HOME \AppData\Roaming\lazygit\config.yml"
5555}
56+ $lazygit_pager_sh = @ {
57+ name = " lazygit pager.sh"
58+ remote = " $DIR \.config\lazygit\pager.sh"
59+ local = " $HOME \AppData\Roaming\lazygit\pager.sh"
60+ }
5661$git_config = @ {
5762 name = " Globle git config"
5863 remote = " $DIR \dot_files\.gitconfig"
@@ -125,6 +130,7 @@ $extra_file_list = @(
125130 $ptpython
126131 $ideavimrc
127132 $lazygit
133+ $lazygit_pager_sh
128134 $git_config
129135 $vifmrc
130136 $clangd
Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://raw.githubusercontent.com/jesseduffield/lazygit/master/schema/config.json
2+
3+ gui :
4+ # language: "en"
5+ nerdFontsVersion : " 3"
6+ git :
7+ pagers :
8+ - externalDiffCommand : " ~/AppData/Roaming/lazygit/pager.sh"
9+ os :
10+ editPreset : nvim
11+ promptToReturnFromSubprocess : false
You can’t perform that action at this time.
0 commit comments