How can I configure Vim/bash to open all files in separate tab when I run vim *
(with no other parameters)?
Moreover, can I configure Vim to do a filter of the files given, i.e. I would like to store file extensions that Vim should consider? For example, suppose I have a directory with following files:
program1.h
program1.cc
program1.o
program2.cpp
I would like Vim open only .h
, .cc
and .cpp
files.