<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Vifm Q&amp;A - Recent questions without answers</title>
<link>https://q2a.vifm.info/unanswered</link>
<description>Powered by Question2Answer</description>
<item>
<title>Open vifm with multiple tabs</title>
<link>https://q2a.vifm.info/2284/open-vifm-with-multiple-tabs</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In case anyone wants to open a specified set of tabs when opening vifm but doesn't want to duplicate them when reloading&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&quot; Open vifm with three tabs per pane. The first tab of each pane is in current
&quot; directory. Remaining are home directory.
&quot;-------------------------------------------------------------------------------
if tabpagenr(&quot;$&quot;) == 1
    windo tabnew
    cd ~ ~
    windo tabnew
    cd ~ ~
    tabnext 1
    winc w
    tabnext 1
    winc w
endif
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/2284/open-vifm-with-multiple-tabs</guid>
<pubDate>Tue, 28 Oct 2025 14:59:51 +0000</pubDate>
</item>
<item>
<title>Sync tabs (like :sync for panes)</title>
<link>https://q2a.vifm.info/2283/sync-tabs-like-sync-for-panes</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I added commands to my &lt;code&gt;$MYVIFMRC&lt;/code&gt; that can synchronize the view of the next tab to the current pane's directory or directory under the current cursor. Just posting it here in case it's useful for anyone else and in case anyone wants to suggest another alternative.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&quot; Sync next tab to current directory
command! TabSync : let $DIR_CUR = &quot;%d&quot;
                \| tabnext
                \| cd &quot;$DIR_CUR&quot;
                \| tabprev
nnoremap &amp;lt;a-u&amp;gt; :TabSync&amp;lt;cr&amp;gt;
&quot; Sync next tab to directory under cursor
command! TabSyncCursor : let $DIR_CUR = &quot;%c&quot;
                      \| tabnext
                      \| cd &quot;$DIR_CUR&quot;
                      \| tabprev
nnoremap &amp;lt;a-p&amp;gt; :TabSyncCursor&amp;lt;cr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I use it in combination with other &lt;code&gt;sync&lt;/code&gt; keymaps like below:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&quot; Sync other pane to current directory
nnoremap &amp;lt;a-i&amp;gt; :sync&amp;lt;cr&amp;gt;
&quot; Sync other pane to directory under cursor
nnoremap &amp;lt;a-o&amp;gt; :sync %c&amp;lt;cr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/2283/sync-tabs-like-sync-for-panes</guid>
<pubDate>Tue, 28 Oct 2025 14:45:38 +0000</pubDate>
</item>
<item>
<title>Show a status bar message when opening specific file extension</title>
<link>https://q2a.vifm.info/1875/show-status-bar-message-when-opening-specific-file-extension</link>
<description>&lt;p&gt;I'm trying to setup a &lt;code&gt;filetype&lt;/code&gt; option but I'm missing something on this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;filetype {*.gif},&amp;lt;image/*&amp;gt; echo &quot;text to display&quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;because it's printed on the shell and not on the vifm status bar, already tried with :echo to no avail&lt;/p&gt;
&lt;p&gt;edit:  	&lt;br&gt;
I'm trying to make this work&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;%S          Show command output in the status bar.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;edit2: solved&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;filetype {*.gif},&amp;lt;image/*&amp;gt; echo &quot;text to display&quot; %S
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/1875/show-status-bar-message-when-opening-specific-file-extension</guid>
<pubDate>Thu, 19 Sep 2024 16:33:07 +0000</pubDate>
</item>
<item>
<title>Problem with fzf directory sorting in vifm</title>
<link>https://q2a.vifm.info/1299/problem-with-fzf-directory-sorting-in-vifm</link>
<description>&lt;p&gt;Hi, i asked the following question:&lt;/p&gt;
&lt;p&gt;Fzf cd &amp;amp; goto in one command?&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://q2a.vifm.info/784/fzf-cd-goto-in-one-command?show=784#q784&quot;&gt;https://q2a.vifm.info/784/fzf-cd-goto-in-one-command?show=784#q784&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and everything was working great, thanks again !!&lt;/p&gt;
&lt;p&gt;My issue is that if i want to change into my Downloads directory, fzf will first list all the files with downloads in their filename&lt;/p&gt;
&lt;p&gt;This was not the case before. There might have been an update to fzf, that has changed the behavior of the commands.&lt;/p&gt;
&lt;p&gt;I thought i would ask the question here, as maybe someone else has had the same issue?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/1299/problem-with-fzf-directory-sorting-in-vifm</guid>
<pubDate>Tue, 20 Sep 2022 19:38:16 +0000</pubDate>
</item>
<item>
<title>Extract archive with key</title>
<link>https://q2a.vifm.info/1233/extract-archive-with-key</link>
<description>&lt;p&gt;Hello, I just wanted to share this easy way to extract archives from within vifm. Maybe there's a better way but it works quite well. It requires &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/dtrx-py/dtrx/&quot;&gt;dtrx&lt;/a&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&quot; Extract an archive
command! extract dtrx -n %c %i
nnoremap x :extract&amp;lt;cr&amp;gt;:echo expand('%&quot;c') &quot;: archive extracted&quot;&amp;lt;cr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And thank you for this amazing programme!&lt;/p&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/1233/extract-archive-with-key</guid>
<pubDate>Thu, 31 Mar 2022 09:26:47 +0000</pubDate>
</item>
<item>
<title>:grep to not ignore links ?</title>
<link>https://q2a.vifm.info/748/grep-to-not-ignore-links</link>
<description>&lt;p&gt;Just realized that &lt;code&gt;:grep&lt;/code&gt; command excludes files that are actually  &lt;strong&gt;links&lt;/strong&gt; from search.&lt;br&gt;
(How)  is it possible to make it go in these too??&lt;/p&gt;
&lt;p&gt;Looking through the docs found 2 &lt;em&gt;seemingly&lt;/em&gt; relevant settings, at least those have something to do with links :)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;chaselinks
followlinks
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;tried both with no success, please advise&lt;/p&gt;
&lt;p&gt;vifm Version: 0.10.1&lt;/p&gt;
&lt;p&gt;My second thought: that may be defined with &lt;strong&gt;grepprg&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;UPD:&lt;br&gt;
... and yes, indeed mine was set to ripgrep which ignores symlinks by default&lt;/p&gt;
&lt;p&gt;Please feel free to  ignore my question&lt;/p&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/748/grep-to-not-ignore-links</guid>
<pubDate>Tue, 27 Oct 2020 18:00:06 +0000</pubDate>
</item>
<item>
<title>Vifm + Ueberzug</title>
<link>https://q2a.vifm.info/472/vifm-ueberzug</link>
<description>&lt;p&gt;Hi all, i recently found that its possible to make vifm show preview of currently pointed file with &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/seebye/ueberzug&quot;&gt;Ueberzug&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;So i installed it, tried &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/cirala/vifmimg&quot;&gt;this&lt;/a&gt; approach and it didn't work in a way that vifm does now show any images. Firstly i created &lt;code&gt;.scripts/&lt;/code&gt; folder in home directory, added it to &lt;code&gt;$PATH&lt;/code&gt;, then throwed &lt;code&gt;vifmimg&lt;/code&gt; and &lt;code&gt;vifmrun&lt;/code&gt; in it. No luck&lt;/p&gt;
&lt;p&gt;Then i downloaded scripts from DistroTube &lt;a rel=&quot;nofollow&quot; href=&quot;https://gitlab.com/dwt1/dotfiles/tree/master/.config/vifm/scripts&quot;&gt;repository&lt;/a&gt; (after watching &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=qgxsduCO1pE&quot;&gt;this&lt;/a&gt; video) and again -- no success in making previews work.&lt;/p&gt;
&lt;p&gt;P.S I tried moving &lt;code&gt;vifmimg&lt;/code&gt; and &lt;code&gt;vifmrun&lt;/code&gt; to &lt;code&gt;.config/vifm/scripts/&lt;/code&gt; both together and separately&lt;/p&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/472/vifm-ueberzug</guid>
<pubDate>Wed, 29 May 2019 18:08:57 +0000</pubDate>
</item>
<item>
<title>Permission for Autofs'd usb drives and sd cards</title>
<link>https://q2a.vifm.info/456/permission-for-autofsd-usb-drives-and-sd-cards</link>
<description>&lt;p&gt;I'm using autofs to mount USB drives and SD cards when entering their specified directories (they're FAT formatted, in case that's relevant). When I copy files to the drives, vifm complains: &quot;Error while putting. [path to file]: Failed to setup file permissions&quot;. I can choose [i] to ignore this, and the file will be copied just fine.&lt;/p&gt;
&lt;p&gt;The reason I think this is a vifm issue is because copying files onto the drive in the command line produces no errors and works ok.&lt;/p&gt;
&lt;p&gt;So the nag is irritating but can be [i]gnored, and when copying a number files inside the same directory it's not a real problem. However, when trying to copy a directory with subdirectories, only one subdirectory inside the directory will be copied. This means that much/most of any directory structure you want to copy onto a removable drive has to be done one directory at a time, all the while manually [i]gnoring the nag messages every time.&lt;/p&gt;
&lt;p&gt;Is there a way around this?&lt;/p&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/456/permission-for-autofsd-usb-drives-and-sd-cards</guid>
<pubDate>Sat, 06 Apr 2019 14:38:34 +0000</pubDate>
</item>
<item>
<title>Bash shows the last command as the first line in the editor</title>
<link>https://q2a.vifm.info/412/bash-shows-the-last-command-as-the-first-line-in-the-editor</link>
<description>&lt;p&gt;Vifm Version: 0.10&lt;br&gt;
Git info: built out of repository&lt;/p&gt;
&lt;p&gt;Debian testing.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In Vifm, open the shell.&lt;/li&gt;
&lt;li&gt;Press Ctrl-X, Ctrl-E to edit the command in Vim.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Earlier, the first line in the editor was blank; the last command executed was the second line.&lt;br&gt;
After a change in Bash (Debian testing), the last command executed is the first line.&lt;/p&gt;
&lt;p&gt;How do I revert the change?&lt;/p&gt;
</description>
<category>vifm</category>
<guid isPermaLink="true">https://q2a.vifm.info/412/bash-shows-the-last-command-as-the-first-line-in-the-editor</guid>
<pubDate>Thu, 14 Feb 2019 13:48:20 +0000</pubDate>
</item>
</channel>
</rss>