From: Jean Privat Date: Tue, 15 Sep 2015 19:18:41 +0000 (-0400) Subject: Merge: vim plugin: intro NitExecute to interpret the current file with `nit` X-Git-Tag: v0.7.8~20 X-Git-Url: http://nitlanguage.org Merge: vim plugin: intro NitExecute to interpret the current file with `nit` Adds the `:NitExecute` command (or `:NitE` as shortcut) to interpret the current file with `nit`. This is very similar to the manual `:!nit %` but it saves modified buffers to a temp file to execute the content of the current buffer and not the last saved content. This is completely up to you but I recommend mapping this to `ctrl-f` to fit between `ctrl-d -> Nitdoc` and `ctrl-g -> NitGitGrep`. Here are the required lines for `.vimrc`: ~~~ " Map the Nitdoc command to Ctrl-D map :Nitdoc " Map the NitGitGrep function to Ctrl-G map :call NitGitGrep() " Map the NitExecute function to Ctrl-F <------- The new one map :NitExecute ~~~ Pull-Request: #1717 Reviewed-by: Jean Privat --- 19b8d731a129e7e2295760d04d12ce0b79d818eb