update lazygit, lf config
This commit is contained in:
parent
2aaf3fc490
commit
0ba7e22fc3
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue