Next Previous Contents

5. VIM Usage

You can use Vim in two modes - one with GUI and other without GUI. To use GUI use command -


        gvim foo.cpp

To use non-gui mode give -
        vim foo.cpp
OR plain vanilla mode
        vi foo.cpp

It is very strongly recommended that you always use gvim instead of vim, since GUI mode with colors will definitely improve your productivity.

GUI mode gvim provides the following -


Next Previous Contents