1
0
Fork 0

update lazygit, lf config

This commit is contained in:
Luca Bilke 2024-04-05 20:47:36 +02:00
parent 2aaf3fc490
commit 0ba7e22fc3
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
2 changed files with 10 additions and 10 deletions

View File

@ -19,11 +19,11 @@ customCommands:
context: "localBranches"
loadingText: "Pruning..."
description: "prune local branches that have been merged to main/master"
- key: "<c-t>"
context: "global"
command: " tag=$(date +%Y).$(date +%m | sed 's/^0//').$(($(git tag --sort=-v:refname | grep ^$MAJOR.$MINOR | head -n 1 | cut -d . -f 3) + 1)); git tag $tag; git push {{ .SelectedRemote.Name }} $tag; "
description: "Create and push a tag based off the date"
loadingText: "Tagging/Pushing..."
# - key: "<c-t>"
# context: "global"
# command: " tag=$(date +%Y).$(date +%m | sed 's/^0//').$(($(git tag --sort=-v:refname | grep ^$MAJOR.$MINOR | head -n 1 | cut -d . -f 3) + 1)); git tag $tag; git push {{ .SelectedRemote.Name }} $tag; "
# description: "Create and push a tag based off the date"
# loadingText: "Tagging/Pushing..."
- key: "<c-v>"
context: "global"
description: "Create new conventional commit"

View File

@ -243,11 +243,11 @@ map <esc> quit
map <space> :toggle; down
map <enter> shell
map <a-enter> shell-wait
map <tab> fzf 'Shortcuts' 'cat $XDG_DATA_HOME/lf/shortcuts 2>/dev/null' ':' '1' '2' '85%' '^'
map <backtab>t fzf 'Tags' 'cat $XDG_DATA_HOME/lf/tags 2>/dev/null' ':' '1' '1' '50%'
map <backtab>m fzf 'Marks' 'cat $XDG_DATA_HOME/lf/marks 2>/dev/null' ':' '1' '2' '85%' '^'
map <backtab>f fzf 'Files' 'find -L $PWD' ':' '1' '1' '50%'
map <backtab>g find_word
map <tab><space> fzf 'Shortcuts' 'cat $XDG_DATA_HOME/lf/shortcuts 2>/dev/null' ':' '1' '2' '85%' '^'
map <tab>t fzf 'Tags' 'cat $XDG_DATA_HOME/lf/tags 2>/dev/null' ':' '1' '1' '50%'
map <tab>m fzf 'Marks' 'cat $XDG_DATA_HOME/lf/marks 2>/dev/null' ':' '1' '2' '85%' '^'
map <tab>f fzf 'Files' 'find -L $PWD' ':' '1' '1' '50%'
map <tab>g find_word
map "'" mark-load
map '"' mark-remove
map "$" shell