derekwyatt / vim-fswitch

Vim plug for switching between companion source files (e.g. ".h" and ".cpp")
179 stars 57 forks source link

Restore buffer if matched file is already open #7

Closed sebi2k1 closed 6 years ago

sebi2k1 commented 12 years ago

Hi Derek,

this change will first lookup the matched file in the buffer list and uses either "buffer" or "edit".

Cheers, Sebastian