I'm using elvis to edit files etc. in a context where limiting the keystrokes makes a difference1. I don't know all the implications of its differences from vim and I'm actually inexperienced with both. I know elvis was the pioneering vi clone, widely admired in the 1990s for its conciseness, and many features. A feature I really find useful in both editors is the compiling options with the make command. But there is no such feature for scripts that I know of. Arguably scripts are smaller files and don't usually involve the same type of toolchain as compiling. Nevertheless, I ended up setting an alias (ck)in my .elvisrc file:source $HOME/.exrc:display syntax:set numberalias ck {! rm tempi! (bash % >/dev/null) 2>&1 | sed -n 's/.*line \([[:digit:]]*\).*/\1/p' >tempi! elvis % +$(cat tempi | head -n 1)}This removes a tempi named file; executes the loaded script in bash;  searches for lines in the stderr output containing the word line followed by a space and some digits, and prints the number only; writes the number(s) to file; then we finally load our script again in another instance of elvis and go(+) to the first line # we pick up from the tempi file. It is not very elegant and requires the following workflow:Open the script and run :ckAnother instance of elvis opens with the cursor on the line from the first error2Edit and save/quit :wq, then press enter to go back to first instance of elvisRepeat until there are no more errors, then don't save the top file, exit elvis :q!, then reload our - now corrected - file using command history.Is there a better way to do something like this with elvis i.e. but without the many instances etc.?  1. A tablet with no external keyboard.  2. If there is no error the cursor goes to end of the file. 
How do you set up a compiling parser-like function to help with editing plain scripts in elvis?
vi;elvis