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