From 0109e7fe3605a14735675408fe971a5d49e13d5b Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 19 Nov 2020 17:30:37 +0530 Subject: [PATCH] Add configuration for vimiv --- vimiv/.config/vimiv/keys.conf | 111 +++++++++++++++++++++++++++++ vimiv/.config/vimiv/styles/default | 89 +++++++++++++++++++++++ vimiv/.config/vimiv/styles/gruvbox | 31 ++++++++ vimiv/.config/vimiv/vimiv.conf | 11 +++ 4 files changed, 242 insertions(+) create mode 100644 vimiv/.config/vimiv/keys.conf create mode 100644 vimiv/.config/vimiv/styles/default create mode 100644 vimiv/.config/vimiv/styles/gruvbox create mode 100644 vimiv/.config/vimiv/vimiv.conf diff --git a/vimiv/.config/vimiv/keys.conf b/vimiv/.config/vimiv/keys.conf new file mode 100644 index 0000000..d7aac8f --- /dev/null +++ b/vimiv/.config/vimiv/keys.conf @@ -0,0 +1,111 @@ +[GLOBAL] +m : mark %% +gi : enter image +gl : enter library +gt : enter thumbnail +gm : enter manipulate +tl : toggle library +tt : toggle thumbnail +tm : toggle manipulate +yy : copy-name +ya : copy-name --abspath +yY : copy-name --primary +yA : copy-name --abspath --primary +o : command --text='open ' +q : quit +N : search-next +P : search-prev +x : delete %% + : command +/ : search +? : search --reverse +. : repeat-command +f : fullscreen +b : set statusbar.show! + +[IMAGE] +ss : slideshow +n : next + : next +p : prev + : prev +gg : goto 1 + : goto 1 +G : goto -1 + : goto -1 +> : rotate +< : rotate --counter-clockwise +| : flip +_ : flip --vertical +h : scroll left +l : scroll right +j : scroll down +k : scroll up +M : center +H : scroll-edge left +L : scroll-edge right +J : scroll-edge down +K : scroll-edge up ++ : zoom in +- : zoom out +E : scale --level=fit-height +e : scale --level=fit-width +W : scale --level=1 +w : scale --level=fit + : play-or-pause +sh : set slideshow.delay -0.5 +sl : set slideshow.delay +0.5 + +[LIBRARY] +l : scroll right +h : scroll left +j : scroll down +n : scroll down --open-selected +k : scroll up +p : scroll up --open-selected +G : goto -1 +gg : goto 1 +go : goto 1 --open-selected +L : set library.width +0.05 +H : set library.width -0.05 + +[THUMBNAIL] +l : scroll right +h : scroll left +j : scroll down +k : scroll up +G : goto -1 +gg : goto 1 ++ : zoom in +- : zoom out + +[MANIPULATE] + : accept + : discard +n : next +p : prev +k : increase 1 +l : increase 1 +K : increase 10 +L : increase 10 +j : decrease 1 +h : decrease 1 +J : decrease 10 +H : decrease 10 +G : goto 127 +gg : goto -127 + : command + : next-tab + : prev-tab +f : fullscreen +b : set statusbar.show! + +[COMMAND] + : leave-commandline +n : history prev +p : history next + : history-substr-search prev + : history-substr-search next + : complete + : complete --inverse + diff --git a/vimiv/.config/vimiv/styles/default b/vimiv/.config/vimiv/styles/default new file mode 100644 index 0000000..93a5b60 --- /dev/null +++ b/vimiv/.config/vimiv/styles/default @@ -0,0 +1,89 @@ +; This file is a reference for creating own styles. It will never be read. +; To change values, copy this file using a new name and set the style setting +; in vimiv.conf to that name. +[STYLE] +base00 = #ffffff +base01 = #e0e0e0 +base02 = #d6d6d6 +base03 = #8e908c +base04 = #969896 +base05 = #4d4d4c +base06 = #282a2e +base07 = #1d1f21 +base08 = #c82829 +base09 = #f5871f +base0a = #eab700 +base0b = #718c00 +base0c = #3e999f +base0d = #81a2be +base0e = #8959a8 +base0f = #a3685a +font = 10pt Monospace +image.bg = #ffffff +image.scrollbar.width = 8px +image.scrollbar.bg = #ffffff +image.scrollbar.fg = #8e908c +image.scrollbar.padding = 2px +library.font = 10pt Monospace +library.fg = #282a2e +library.padding = 2px +library.directory.fg = #1d1f21 +library.even.bg = #e0e0e0 +library.odd.bg = #e0e0e0 +library.selected.bg = #81a2be +library.selected.bg.unfocus = #8881a2be +library.selected.fg = #1d1f21 +library.search.highlighted.fg = #e0e0e0 +library.search.highlighted.bg = #969896 +library.scrollbar.width = 8px +library.scrollbar.bg = #ffffff +library.scrollbar.fg = #8e908c +library.scrollbar.padding = 2px +library.border = 0px solid +statusbar.font = 10pt Monospace +statusbar.bg = #d6d6d6 +statusbar.fg = #282a2e +statusbar.error = #c82829 +statusbar.warning = #f5871f +statusbar.info = #3e999f +statusbar.message_border = 2px solid +statusbar.padding = 4 +thumbnail.font = 10pt Monospace +thumbnail.fg = #282a2e +thumbnail.bg = #ffffff +thumbnail.padding = 20 +thumbnail.selected.bg = #81a2be +thumbnail.selected.bg.unfocus = #8881a2be +thumbnail.search.highlighted.bg = #969896 +thumbnail.default.bg = #3e999f +thumbnail.error.bg = #c82829 +thumbnail.frame.fg = #282a2e +completion.height = 16em +completion.fg = #282a2e +completion.even.bg = #d6d6d6 +completion.odd.bg = #d6d6d6 +completion.selected.fg = #1d1f21 +completion.selected.bg = #81a2be +completion.scrollbar.width = 8px +completion.scrollbar.bg = #ffffff +completion.scrollbar.fg = #8e908c +completion.scrollbar.padding = 2px +keyhint.padding = 2px +keyhint.border_radius = 10px +keyhint.suffix_color = #3e999f +manipulate.fg = #282a2e +manipulate.focused.fg = #3e999f +manipulate.bg = #ffffff +manipulate.slider.left = #81a2be +manipulate.slider.handle = #969896 +manipulate.slider.right = #d6d6d6 +manipulate.image.border = 2px solid +manipulate.image.border.color = #3e999f +mark.color = #8959a8 +keybindings.bindings.color = #3e999f +keybindings.highlight.color = #8959a8 +metadata.bg = #AAd6d6d6 +metadata.padding = 2px +metadata.border_radius = 10px + +; vim:ft=dosini \ No newline at end of file diff --git a/vimiv/.config/vimiv/styles/gruvbox b/vimiv/.config/vimiv/styles/gruvbox new file mode 100644 index 0000000..c51aae2 --- /dev/null +++ b/vimiv/.config/vimiv/styles/gruvbox @@ -0,0 +1,31 @@ +; base16-gruvbox-dark-medium +; +; base16: (https://github.com/chriskempson/base16) +; +; Scheme: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) +; Template: Christian Karl + +[STYLE] +; Colors +base00 = #282828 +base01 = #3c3836 +base02 = #504945 +base03 = #665c54 +base04 = #bdae93 +base05 = #d5c4a1 +base06 = #ebdbb2 +base07 = #fbf1c7 +base08 = #fb4934 +base09 = #fe8019 +base0a = #fabd2f +base0b = #b8bb26 +base0c = #8ec07c +base0d = #83a598 +base0e = #d3869b +base0f = #d65d0e + +; Additional custom overrides, e.g. +; font = 10pt Hack +; thumbnail.padding = 32 + +; vim:ft=dosini diff --git a/vimiv/.config/vimiv/vimiv.conf b/vimiv/.config/vimiv/vimiv.conf new file mode 100644 index 0000000..009c451 --- /dev/null +++ b/vimiv/.config/vimiv/vimiv.conf @@ -0,0 +1,11 @@ +[GENERAL] +style = gruvbox + +[IMAGE] +autoplay = True + +[LIBRARY] +width = 0.2 + +[THUMBNAIL] +size = 512