sponsor Vim development Vim logo Vim Book Ad

auto : Coding automation  for c/c++/ruby/python/shell/perl/...

 script karma  Rating 295/118, Downloaded by 4236  Comments, bugs, improvements  Vim wiki

created by
宇文 高下
 
script type
utility
 
description
Both c, cpp, or python,shell,perl code, F2 key or "mm" to compile and debug
1.Normal mode
    ;;      Exit without saving
    ,,      Save and exit
2.Insert mode
    ;;      return Normal mode
    ,,      return Normal mode
    mm      return Normal mode
    <Alt-j>  Down
    <Alt-k> Up
    <Alt-h> Left
    <Alt-l>  Right
3.When writing c, cpp ,... code, the code is automatically formatted
    For example:   If you input a==3;
    auto.vim                             a  ==  3;

NOTE:auto.vim  only for GNU/Linux;VERSION 1.5 has some errors,Sorry I neglected to mention that before.
 
install details
Simply drop this file into your $HOME/.vim/plugin directory.

 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
auto.vim 2.1 2011-11-22 7.2 宇文 高下 检测Ruby制定为两个字符的缩排
Ruby indented two characters
auto.vim 2.0 2011-04-12 7.2 宇文 高下 更新了shell的调用
Updated shell call
auto.vim 1.9 2011-03-29 7.2 宇文 高下 修复了在桌面终端下调试perl的bug
Fixed a bug when debugging perl on desktop terminal
auto.vim 1.8 2011-03-14 7.2 宇文 高下 添加了HTML支持,方面调试javascript
Added support for HTML,Easy to  debug javascript
auto.vim 1.7 2011-01-28 7.0 宇文 高下 简洁,适当的取舍是unix的思想之一
Simple,appropriate trade-off is a idea of unix
auto.vim 1.6 2011-01-18 7.0 宇文 高下 修复了在文本终端的执行时的bug,加入了ruby支持;脚本很简洁,您可以根据您的习惯,重新映射
Fixed a bug when on the text terminal ,Added ruby support;The script is very simple, you can based on your habits, re-mapping
ip used for rating: 3.14.132.214

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github