VIMVRC(5)
πΈ NAME πΈ
hi bestie π welcome to vimivrc(5) β the manual page for the configuration files of the vimiv image viewer. yes we're doing config lore today, and yes it's iconic.
π SYNOPSIS π
/etc/vimiv/vimivrc, $XDG_CONFIG_HOME/vimiv/vimivrc, ~/.vimiv/vimivrc
/etc/vimiv/keys.conf, $XDG_CONFIG_HOME/vimiv/keys.conf,
~/.vimiv/keys.conf
π« DESCRIPTION π«
okay so vimiv gets configured through two files:
- the
vimivrcfor your basic configuration - the
keys.conffor your keybindings
by default these files are installed to /etc/vimiv/. and listen, the best practice here (fr fr, do this) is to copy them over to $XDG_CONFIG_HOME/vimiv/ and then configure the copied files. leave the originals alone, they're innocent π₯Ί
more info in a nicer format lives at:
http://karlch.github.io/vimiv/documentation/configuration/
β¨ SETTINGS β¨
so all your settings go in the vimivrc file, and that file is split into four sections:
- GENERAL
- LIBRARY
- EDIT
- ALIASES
the first three are the ones that group actual settings, and the fourth is where you define aliases. what each setting means and what values are possible? explained right below, bestie π«Ά
π GENERAL π
start_fullscreen, Bool β if yes, start fullscreen.start_slideshow, Bool β if yes, start the slideshow at startup.slideshow_delay, Float β set the delay for the slideshow.shuffle, Bool β if yes, shuffle the images in the filelist randomly.display_bar, Bool β if yes, show the statusbar at the bottom. else hide it.
heads up: error messages are still displayed even if the statusbar is hidden. the drama never stops π
default_thumbsize, Tuple β size for the thumbnails, in the form of(x, y).geometry, String β a string in the form of"WIDTHxHEIGHT"specifying the default size for the window.
note: not all window managers respect this setting. some of them simply do not care π
recursive, Bool β if yes, search the given directory recursively for images at startup.rescale_svg, Bool β if yes, rescale vector graphics automatically by reloading the image. otherwise just zoom as if they were a normal image.overzoom, Float β a float defining the maximum amount to scale images up by trying to fit the window when first loading the image.search_case_sensitive, Bool β if yes, search case sensitively. ignore case otherwise.incsearch, Bool β if yes, search incrementally when typing.copy_to_primary, Bool β if yes, copy to primary selection instead of clipboard.commandline_padding, Int β padding to use in the command line and statusbar.thumb_padding, Int β padding to use between thumbnails.
note: on top of the padding, the column spacing gets updated dynamically to best fit the current window width. she adapts πββοΈ
completion_height, Int β height of the completion menu when showing command line completions.play_animations, Bool β if yes, animated gif are played. otherwise stay at the first/current frame.
π¦ LIBRARY π¦
start_show_library, Bool β if yes, always show the library at start-up.library_width, Int β default width of the library when an image is open.expand_lib, Bool β if yes, automatically expand the library to full window size if no image is open.border_width, Int β width of the border separating library and image.markup, String β markup used to highlight search results. this must be a correct markup opening in the form of one<span ...>element, because it gets closed with</span>.show_hidden, Bool β if yes, show hidden files in the library and open hidden images.desktop_start_dir, String β the directory in which vimiv should start if opened via the.desktopfile.file_check_amount, Int β 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.tilde_in_statusbar, Bool β if yes, collapse$HOMEto~in the statusbar in the library.
π EDIT π
autosave_images, Bool β if yes, automatically save rotated/flipped images to disk. otherwise, to keep changes:wmust be called explicitly. no sneaky saves otherwise, periodt.
π ALIASES π
you can totally configure aliases for the command line in this section. an alias is defined in the form of:
aliasname: command
see also: the alias command. iykyk π
π₯ KEYBINDINGS π₯
keybindings live in the keys.conf file. and 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 super useful tool in X to check for these names interactively is xev π
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. yes, mouse girlies are fed too πβ¨
π COMMANDS π
accept_changesβ accept changes made in manipulate.aliasβ add an alias for a command.autorotateβ rotate all images in the current filelist according to exif data.centerβ scroll to the center of the image.copy_abspathβ copy the absolute path of the currently selected file to the clipboard.copy_basenameβ copy the base name of the currently selected file to the clipboard.deleteβ delete the current image.discard_changesβ discard any changes made in manipulate mode and leave it.editβ edit brightness, contrast or saturation of the current image.firstβ move to the first image of the filelist in image/thumbnail mode.first_libβ move to the first file of the filelist in the library.fitβ fit the image to the current window size.fit_horizβ fit the image horizontally to the current window size.fit_vertβ fit the image vertically to the current window size.flipβ flip the current image.focus_libraryβ focus the library.formatβ format all currently open filenames.fullscreenβ toggle fullscreen mode.lastβ move to the last image of the filelist in image/thumbnail mode.last_libβ move to the last file of the filelist in the library.libraryβ toggle the library.manipulateβ enter manipulate mode.markβ mark the currently selected image.mark_allβ mark all images in the current filelist.mark_betweenβ mark all images between the last two marked images.mark_toggleβ toggle the current mark status.move_upβ move up one directory in the library.nextβ move to the next image in the filelist of image mode.next!β force moving to the next image in the filelist of image mode.prevβ move to the previous image in the filelist of image mode.prev!β force moving to the previous image in the filelist of image mode.qβ quit vimiv.q!β force quitting vimiv.reload_libβ reload the library.rotateβ rotate the image counter-clockwise.setβ change the value of a setting.slideshowβ toggle the slideshow.tag_writeβ write the names of all currently marked images to a tagfile.tag_loadβ load all images in a tagfile into image mode.tag_removeβ delete a tagfile.thumbnailβ toggle thumbnail mode.undeleteβ undelete an image.unfocus_libraryβ focus the widget last focused before the library.versionβ display pop-up with version information.wβ explicitly save changed images to disk.wqβ same as:wbut also quit vimiv.zoom_inβ zoom in.zoom_outβ zoom out.zoom_toβ zoom image to a given percentage.
π HIDDEN COMMANDS π
the following commands can only be bound to keys and are not accessible from the command line. secret menu energy, lowkey π
clear_statusβ clear any numbers or messages from the statusbar and reset search.commandβ enter the command line.scrollβ scroll image or thumbnail.scroll_libβ scroll the library.searchβ search for text in the current filelist.search_nextβ navigate to the next search result.search_prevβ navigate to the previous search result.history_downβ go down by one in command history.history_upβ go up by one in command history.discard_commandβ leave the command line discarding currently entered text.completeβ start command line completion.complete_inverseβ start command line completion selecting items inversely.sliderβ change the value of the currently focused slider.focus_sliderβ focus one of the manipulate sliders.
π SEE ALSO π
and that's the whole page, bestie π«Ά this was vimivrc(5) from the vimiv project, on Linux, dated May 2017 β go configure something cute, slay, and don't forget to copy your config first πβ¨
π¦ where this page comes from
- alpine 3.24: vimiv-doc 0.9.1-r10 Β· GPL-3.0-only
- arch rolling: vimiv 0.9.1-11 Β· MIT
- fedora 43: vimiv 0.9.1-33.fc43 Β· MIT
- fedora 44: vimiv 0.9.1-34.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms