vimivrc man page
vimivrc — configuration files for the vimiv image viewer
/etc/vimiv/vimivrc, $XDG_CONFIG_HOME/vimiv/vimivrc, ~/.vimiv/vimivrc
/etc/vimiv/keys.conf, $XDG_CONFIG_HOME/vimiv/keys.conf, ~/.vimiv/keys.conf
Vimiv is configured via two files:
- the vimivrc for basic configuration
- the keys.conf for keybindings
Per default these files are installed to /etc/vimiv/. It is considered best practice to copy them to $XDG_CONFIG_HOME/vimiv/ and configure the copied files.
More information in a nicer format is available at:
Settings are configured in the vimivrc file. This file is separated into four sections:
The first three sections group settings, the fourth is used to define aliases. What each setting means and what values are possible is explained below:
If yes, start fullscreen.
If yes, start slideshow at startup.
Specify the delay for the slideshow.
If yes, shuffle the images in the filelist randomly.
If yes, show the statusbar at the bottom. Else hide it.Note that error messages are still displayed, even if the statusbar is hidden.
Size for the thumbnails in the form of (x, y).
String in the form of "WIDTHxHEIGHT" specifying the default size for the window. Note that not all window managers respect this setting.
If yes, search the given directory recursively for images at startup.
If yes, rescale vector graphics automatically by reloading the image. Otherwise simply zoom as if they were a normal image.
Float defining the maximum amount to scale images up by trying to fit the window when first loading the image.
If yes, search case sensitively. Ignore case otherwise.
If yes, search incrementally when typing.
If yes, copy to primary selection instead of clipboard.
Padding to use in the command line and statusbar.
Padding to use between thumbnails. Note: Additionally to the padding column spacing gets updated dynamically to best fit the current window width.
Height of the completion menu when showing command line completions.
If yes, animated gif are played. Otherwise stay at the first/current frame.
If yes, always show library at start-up.
Default width of the library when an image is open.
If yes, automatically expand the library to full window size if no image is open.
Width of the border separating library and image.
Markup used to highlight search results. This must be a correct markup opening in the form of one <span ...> element as it gets closed with </span>
If yes, show hidden files in the library and open hidden images.
The directory in which vimiv should start if opened via the .desktop file.
The amount of files vimiv should check in a directory for whether they are images or not. This affects the size column of directories in the library. As soon as this number is reached, checks are stopped and a + is appended, e.g. 30+. A higher number increases precision and information at the cost of speed.
If yes, collapse $HOME to ~ in the statusbar in the library.
If yes, automatically save rotated/flipped images to disk. Otherwise to keep changes :w must be called explicitly.
It is possible to configure aliases for the command line in this section. An alias is defined in the form of:
See also: the alias command.
Keybindings are defined in the keys.conf file. Similar to the vimivrc, this file is split up into sections:
- IMAGE: Keybindings defined here apply in image mode.
- THUMBNAIL: Keybindings defined here apply in thumbnail mode.
- Library: Keybindings defined here apply in library mode.
- MANIPULATE: Keybindings defined here apply in manipulate mode.
- COMMAND: Keybindings defined here apply in the command line.
Keybindings are defined in the form of:
keyname: command [arguments]
keyname has to be a valid key symbol like "a" or "b", but also e.g. "colon" for ":". A useful tool in X to check for these names interactively is
Supported modifiers are:
- Shift via Shift+keyname
- Control via ^keyname
- Alt via Alt+keyname
command [arguments] has to be a valid vimiv command with correct arguments. For a complete list of commands with explanations check the commands documentation.
Mouse bindings are defined in the same form. Simply use "Button" and the corresponding number like "Button1" as keyname.
Accept changes made in manipulate.
Add an alias for a command.
Rotate all images in the current filelist according to exif data.
Scroll to the center of the image.
Copy the absolute path of the currently selected file to the clipboard.
Copy the base name of the currently selected file to the clipboard.
Delete the current image.
Discard any changes made in manipulate mode and leave it.
Edit brightness, contrast or saturation of the current image.
Move to the first image of the filelist in image/thumbnail mode.
Move to the first file of the filelist in the library.
Fit the image to the current window size..
Fit the image horizontally to the current window size.
Fit the image vertically to the current window size.
Flip the current image.
Focus the library.
Format all currently open filenames.
Toggle fullscreen mode.
Move to the last image of the filelist in image/thumbnail mode.
Move to the last file of the filelist in the library.
Toggle the library.
Enter manipulate mode.
Mark the currently selected image.
Mark all images in the current filelist.
Mark all images between the last two marked images.
Toggle the current mark status.
Move up one directory in the library.
Move to the next image in the filelist of image mode.
Force moving to the next image in the filelist of image mode.
Move to the previous image in the filelist of image mode.
Force moving to the previous image in the filelist of image mode.
Force quitting vimiv.
Reload the library.
Rotate the image counter-clockwise.
Change the value of a setting.
Toggle the slideshow.
Write the names of all currently marked images to a tagfile.
Load all images in a tagfile into image mode.
Delete a tagfile.
Toggle thumbnail mode.
Undelete an image.
Focus the widget last focused before the library.
Display pop-up with version information.
Explicitly save changed images to disk.
Same as :w but also quit vimiv.
Zoom image to a given percentage.
The following commands can only be bound to keys and are not accessible from the command line.
Clear any numbers or messages from the statusbar and reset search.
Enter the command line.
Scroll image or thumbnail.
Scroll the library.
Search for text in the current filelist.
Navigate to the next search result.
Navigate to the previous search result.
Go down by one in command history.
Go up by one in command history.
Leave the command line discarding currently entered text.
Start command line completion.
Start command line completion selecting items inversely.
Change the value of the currently focused slider.
Focus one of the manipulate sliders.