From 9946ffecad32bf7bd0e4fc8b8973780021e6a1ae Mon Sep 17 00:00:00 2001 From: Laurence Chen Date: Sat, 17 Feb 2018 12:22:46 +0000 Subject: [PATCH] issue #209: add usage from vim to README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index a517a5f..7fba6ab 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,22 @@ through the suggestions made by Kibit: (global-set-key (kbd "C-x C-`") 'kibit-accept-proposed-change) ``` +## Usage from inside vim (through Leiningen plugin) + +[kibit-vim](https://github.com/fbeline/kibit-vim) allows you to analyze the current opened file by running: + +`:Kibit` + +kibit-vim invokes Kibit through command `lein kibit filename` + +## Usage from inside vim (with vim-fireplace) + +If you have [vim-fireplace](https://github.com/tpope/vim-fireplace/) installed, you can use [vim-kibit](https://github.com/humorless/vim-kibit) to run Kibit on your current buffer through the running REPL session. + +vim-kibit is invoked by running: + +`:Kibit` + ## Known limitations Kibit