nvim: after/plugin/fzf-lua: Update actions for commits

This commit is contained in:
Sanchayan Maity 2022-02-26 13:25:22 +05:30
parent 7b84c0eb20
commit b10ba79940

View file

@ -154,7 +154,10 @@ require'fzf-lua'.setup {
cmd = "git log --decorate --pretty=oneline --abbrev-commit --color",
preview = "git show --color=always {1}",
actions = {
["default"] = actions.git_checkout,
["default"] = actions.git_buf_split,
["ctrl-s"] = actions.git_buf_split,
["ctrl-v"] = actions.git_buf_vsplit,
["ctrl-t"] = actions.git_buf_tabedit,
},
},
bcommits = {
@ -162,7 +165,7 @@ require'fzf-lua'.setup {
cmd = "git log --decorate --pretty=oneline --abbrev-commit --color",
preview = "git show --color=always {1}",
actions = {
["default"] = actions.git_buf_edit,
["default"] = actions.git_buf_split,
["ctrl-s"] = actions.git_buf_split,
["ctrl-v"] = actions.git_buf_vsplit,
["ctrl-t"] = actions.git_buf_tabedit,