Questions tagged [vifm]

Vifm is a ncurses based file manager with vi like keybindings, which also borrows some useful ideas from mutt.

18 questions
6
votes
2 answers

Vifm: run command on each selected file individually

I want a for loop analog for Vifm. When I don't select any file, I can type :!echo %f and I see the output of echo with the current file name as the argument. When I select several files, :!echo %f yields output of echo with all selected filenames…
petRUShka
  • 1,182
  • 5
  • 17
  • 29
2
votes
1 answer

Copy file name without extension in Vifm

From the the Vifm wiki and using xclip, they show how to copy the filename of a selected file: nnoremap yn :!echo -n %c | xclip -selection clipboard %i:echo expand('%"c') "is yanked to clipboard" But it copies it with the extension, how can…
GhostOrder
  • 157
  • 1
  • 7
2
votes
1 answer

Vifm: Change file type assocation

I've looked at the docs and still cannot figure out how to change a filetype to open with external editor. How can I make it so that pressing in vifm on a *.sql files for example will use sublime3 external app instead of vim? I've already tried…
horatio1701d
  • 193
  • 1
  • 5
2
votes
2 answers

Copying address of active directory in VIFM

Is there a way to yank the address of the active directory within vifm?
George
  • 1,799
  • 2
  • 25
  • 30
2
votes
3 answers

Leaving VIFM in such a way that the terminal directory is the same as the last visited VIFM directory

I'm trying to achieve what was described in the title. I followed these directions (http://sourceforge.net/p/vifm/feature-requests/24/) but they did not work. Here are the instructions I followed: Add special command to vifmrc command Q :execute…
George
  • 1,799
  • 2
  • 25
  • 30
2
votes
2 answers

Viewing PDF's in VIFM with Evince

I am unable to view PDF's in VIFM with Evince (my pdf viewer of choice). How does one do this?
George
  • 1,799
  • 2
  • 25
  • 30
1
vote
1 answer

In VIFM, how do I define a movement that takes me to the most recently edited file?

I have not been able to find a VIFM motion that moves directly to the most recently edited file when I am elsewhere in the directory. Is there such a motion? If not, is it possible to define one? I have tried using the window sorting for Time…
Shawn
  • 11
  • 2
1
vote
1 answer

How to make the “l” key or arrow in vifm move to preview pane instead of opening a file in vim?

Currently, when clicking the letter l or arrow →, if I am on a directory it moves into it but if I am on a file it opens it in vim. I am wondering if there is a way to change this behaviour for files to move into the "view" pane instead of opening…
I J
  • 13
  • 4
1
vote
1 answer

vifm: How to format mtime column to display Year?

I'm quite new to vifm but I've been reading the manual and browsing around. So far I've been able to do all I wanted to do with it, but I'm missing a piece. I wanted to display the modification date as the "2nd column" (and in fact, I sort by that…
1
vote
2 answers

Is it possible to disconnect a GUI program launched within vifm from vifm?

One can launch GUI programs, for example, gv or xpdf from vifm in background in vifm's command line: :!gv %f & However, if gv is launched by pressing Enter on a file like aPSfile.ps in vifm, it blocks the vifm. Is it possible to run it in the…
Jing
  • 319
  • 2
  • 8
1
vote
1 answer

How do I select which remote vifm instance will run a command?

I run two separate instances of vifm on my machine: $ vifm --server-list documents photos In one I'm organising documents and in the other photos. Sometimes I'm inside a third shell and would like to give commands to one of the vifm instances. …
grochmal
  • 8,489
  • 4
  • 30
  • 60
1
vote
1 answer

Opening nautilus from vifm

If I browse to a folder in VIFM, is there a way to open a nautilus window from that location? I'm interested in this so I can use point-and-click drag and dropping features of nautilus in certain contexts (vifm is the most efficient way to find a…
George
  • 1,799
  • 2
  • 25
  • 30
1
vote
1 answer

Documentation for vifm?

vifm looks like a good file manager, but it lacks documentation. Is there a manual or tips on how to use it? I'm looking for information on copying/moving a dir, creating a new empty file, editing a file, creating sym/hardlink, etc.
LanceBaynes
  • 39,295
  • 97
  • 250
  • 349
0
votes
0 answers

Why won't custom mpv shorctus work in video files opened with vifm?

I use vifm as my file manager and mpv as my default media player. Pop OS is my OS of choice here. I created custom shortcuts ('j' and 'k' keys) for seeking videos by creating a file 'input.conf' inside '~/.config/mpv/' and adding the shortcuts. The…
Archit
  • 1
  • 1
0
votes
0 answers

Segmentation fault in vim and vifm

What does this error mean? Vim: Caught deadly signal SEGV Vim: Finished. Segmentation fault (core dumped) Vim: Caught deadly signal SEGV Vim: Finished. I get it randomly when I close vifm or vim in an xterm terminal.
wgm
  • 1
  • 2
1
2