This is probably an incredibly simple question, but I did not find any answer so far (I must lack the right sources, and I don't know where to search in vim's help).
I have a condition and I would like it to include 'AND', like
if (condition1 .AND. condition2)
"do what I want you to do
endif
but I couldn't find the syntax. Same thing for 'OR'.
.AND.
and.OR.
is Fortran syntax, I haven't seen that used outside Fortran code in a long, long while. :) Vim uses C-like syntax instead,&&
for AND and||
for OR. See:h expression-syntax
for more. – lcd047 Jun 15 '16 at 10:30