Linked Questions

829 votes
70 answers
136k views

There are a plethora of questions where people talk about common tricks, notably "Vim+ctags tips and tricks". However, I don't refer to commonly used shortcuts that someone new to Vim would find cool....
20 votes
3 answers
17k views

I have a project with a bunch of C++ header files that follow the standard C++ header naming convention; that is, a class called Foo would be declared in a file called Foo, not Foo.h or Foo.hh. Is ...
Jason R's user avatar
  • 11.9k
15 votes
1 answer
10k views

I'm trying to patch up a new vim syntax file for some custom format I'm using. Most of it I can understand, but the keyword "contains" is giving me trouble. Is there anyone here who could give me an ...
Rook's user avatar
  • 63.1k
7 votes
1 answer
4k views

Is there any way to add syntax coloring to new types defined with typedef statements in C? typedef struct { int a,b; } MyStruct; MyStruct *InitMyStruct(MyStruct *struct, int a, int b); ^ ...
sidyll's user avatar
  • 59.5k
0 votes
4 answers
5k views

I have XYZ highlighted in the header file where I have defined XYZ. However at the point of where it is used, XYZ is not highlighted. How would I fix this ? I have attached two screen shots (see ...
user183442's user avatar
1 vote
2 answers
4k views

I would like to highlight identifiers and functions for java while editing in vim. For some reason when I try to set a hi for Function or Identifier in the vimrc nothing changes. Any ideas? Thanks.
MPlak's user avatar
  • 21
4 votes
2 answers
1k views

I am trying to highlight my own class name and function name in C++ via GVim. I read and followed the link from stackoverflow. Please also check out the result link I copied the following settting ...
CCC's user avatar
  • 2,242
0 votes
2 answers
1k views

Is there a way to display all functions in a C source file using vim. This feature is available with the brief editor. And this would help me a lot. Note: This is not a programming question.
Alphaneo's user avatar
  • 12.7k
2 votes
3 answers
532 views

I did enable the vim syntax highlight in vimrc,I can see void and int keyword is different color than other code,but the problem is I cannot see the function syntax highlight, function like memcpy ...
user1051003's user avatar
  • 1,251
0 votes
0 answers
265 views

I have a file with some subroutines. The syntax is like subroutine sub_name_1 ... endsub /* or optionally */ subroutine sub_name_2 { ... } There are called like call sub_name_1. I can't ...
Andy A.'s user avatar
  • 1,452