Panel Row Focus Changes when Editing with VIM

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
therube
Posts: 674
Joined: 14 Dec 2006, 06:22

Panel Row Focus Changes when Editing with VIM

Post by therube »

Panel Row Focus Changes when Editing the First File with VIM

... running out of time, so i'll ramble & come back to clean it up later ...

set focus to the FIRST filename in a panel
(make sure there is more the one file displaying in the panel)
panel sorted by time, most recent first
invoke Vim (gvim.exe) on that file
(by default?) Vim creates a new file in the directory, filename.swp (hidden attribute)
since *.swp is newly created, it then becomes the "first" filename
at that point, *.swp has focus in the panel
(make a change &) save & exit Vim (change & saving is important)
Vim closes
focus is now on the second filename in the panel rather then the original

... this may be a result of Vim re-creating the file (like a process that exits & recreates itself under the same name, but the PID is now different), & so may not be a Salamander issue per say?
WinXP Pro SP3 or Win7 x86 | SS 2.54