Skip to content

jumogehn/vimrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

On Ubuntu

screen capture in ubuntu

On Windows

screen capture in windows

News

  • Wiki is added 2018.4.5
  • Github Page is added 2013.5.26
  • Install script(install.sh) is added 2013.1.31
  • LLVM vimrc is added 2013.1.30
  • Install Guide is updated 2013.1.30

About

.vimrc

  • Makes vim more useful to work on C/C++ projects (and possibly other projects too)
  • Includes many useful short-cut key mappings
  • Includes many useful vim plugins (via Vundle)

mkcscope.sh

  • Script to generate cscope.out

mkctags.sh

  • Script to generate ctags

rmtags.sh

  • Script to remove ctags, cscope.out

.cncpp.vimrc

  • Settings related with C/C++ programming

.project.vimrc

  • Settings related with a certain project i.e. include directory and paths for tags and cscope.out for libraries related with a certain project

.system.vimrc

  • Settings related with a certain OS system i.e. the paths for C++ standard header files

Testing environment

  • Ubuntu and Windows

Prerequisite

  • on Linux : git-core vim cscope exuberant-ctags
  • on Windows : gvim, 7zip and git

Note

How to install is explained in wiki.

Using scripts

There is a rule to use these scripts.

  • Generate ctags and cscope.out (by running mkcscope.sh and mkctags.sh) in a top directory of your project
$ mkctags.sh
$ mkcscope.sh

To close cscope after cscope finished it's job, press CTRL+D.

  • Open vim from the top directory of your project

References

Jumogehn H