From ba62cbc7a216da4f38dc294e871f6ca9ecc5645c Mon Sep 17 00:00:00 2001 From: Lucas Burns Date: Mon, 11 Apr 2022 09:54:14 -0500 Subject: [PATCH] fix(plugin): plugin name lfvim -> lf --- README.md | 4 ++-- plugin/lf.vim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e4c4fa2..545601e 100644 --- a/README.md +++ b/README.md @@ -133,8 +133,8 @@ require("lf").start({ mappings = false }) The only configurable environment variable is `g:lf_replace_netrw`, which can be set to `1` to replace `netrw` ### TODO -- `:LfToggle` command -- Find a way for `lf` to hijack keybindings +- [ ] `:LfToggle` command +- [ ] Find a way for `lf` to hijack keybindings - This may have to be done by writing to the user's configuration file - It would involve mapping each `default_actions` key to the `open` command, which closes the file manager - Once the file manager was closed, these would need to be removed diff --git a/plugin/lf.vim b/plugin/lf.vim index 0696566..4cdc903 100644 --- a/plugin/lf.vim +++ b/plugin/lf.vim @@ -1,4 +1,4 @@ -command! -nargs=* -complete=file Lfvim lua require('lf').start() +command! -nargs=* -complete=file Lf lua require('lf').start() " TODO: Finish this command " command! -nargs=* -complete=file LfToggle lua require('lf').setup():toggle()