From f329806d00c249025adf7b3c86b5cc9aad34e9ab Mon Sep 17 00:00:00 2001 From: andreyorst Date: Thu, 22 Nov 2018 20:29:46 +0300 Subject: [PATCH] use instead of V to keep with kakoune stylefor nonsmart keys --- README.md | 2 +- rc/fzf-modules/fzf-vcs.kak | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e75992a..0b8b165 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Available mappings: - c - Switch servers working directory - f - Search for file and open it - v - Edit file in version control system tree -- V - Explicitly select which vcs command to run +- - Explicitly select which vcs command to run - s - Search over buffer contents and jump to result line - t - Browse ctags tags fzf.kak supports filtering tags on per language basis. For each filetype diff --git a/rc/fzf-modules/fzf-vcs.kak b/rc/fzf-modules/fzf-vcs.kak index 8dc4eac..bcc5eee 100644 --- a/rc/fzf-modules/fzf-vcs.kak +++ b/rc/fzf-modules/fzf-vcs.kak @@ -11,22 +11,22 @@ try %{ declare-user-mode fzf-vcs } catch %{echo -markup "{Error}Can't declare mode 'fzf-vcs' - already exists"} -map global fzf -docstring "edit file from vcs repo" 'v' ': fzf-vcs' -map global fzf -docstring "svitch to vcs selection mode" 'V' ': fzf-vcs-mode' +map global fzf -docstring "edit file from vcs repo" 'v' ': fzf-vcs' +map global fzf -docstring "svitch to vcs selection mode" '' ': fzf-vcs-mode' define-command -docstring "Enter fzf-vcs-mode. This mode allows selecting specific vcs command." \ fzf-vcs-mode %{ try %{ evaluate-commands 'enter-user-mode fzf-vcs' } } -define-command -hidden -docstring "Wrapper command for fzf vcs to automatically decect +define-command -hidden -docstring 'Wrapper command for fzf vcs to automatically decect used version control system. Supported vcs: - Git: ""git"" - Subversion: ""svn"" - Mercurial SCM: ""hg"" - GNU Bazaar: ""bzr"" -" \ + Git: "git" + Subversion: "svn" + Mercurial SCM: "hg" + GNU Bazaar: "bzr" +' \ fzf-vcs %{ evaluate-commands %sh{ commands="git rev-parse --is-inside-work-tree svn info