From 934051de0282db29f41ee4af473622b1cfbb1beb Mon Sep 17 00:00:00 2001 From: jpe Date: Mon, 30 Aug 2021 12:53:21 -0400 Subject: [PATCH] Update README to reference new default git actions --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd35584..f4bcc1e 100644 --- a/README.md +++ b/README.md @@ -312,7 +312,7 @@ require'fzf-lua'.setup { cmd = "git log --pretty=oneline --abbrev-commit --color", preview = "git show --pretty='%Cred%H%n%Cblue%an%n%Cgreen%s' --color {1}", actions = { - ["default"] = nil, + ["default"] = actions.git_checkout, }, }, bcommits = { @@ -320,7 +320,10 @@ require'fzf-lua'.setup { cmd = "git log --pretty=oneline --abbrev-commit --color --", preview = "git show --pretty='%Cred%H%n%Cblue%an%n%Cgreen%s' --color {1}", actions = { - ["default"] = nil, + ["default"] = actions.git_buf_edit, + ["ctrl-s"] = actions.git_buf_split, + ["ctrl-v"] = actions.git_buf_vsplit, + ["ctrl-t"] = actions.git_buf_tabedit, }, }, branches = {