Compare commits

...

2 commits

Author SHA1 Message Date
b8932e9ca8
nvim: Switch Navigator plugin to use wezterm
Using wezterm in current implementation of Navigator.nvim plugin -
somewhat of a HACK until the final implementation exists in the plugin.
2022-11-25 17:01:32 +01:00
bb9736b5ed
vifm: Change default image opener to timg
Changed opening images by default to do so on the commandline itself,
using timg.
Other openers can still be invoked through the `:file` command like
before.
2022-11-25 17:00:00 +01:00
2 changed files with 8 additions and 4 deletions

View file

@ -22,7 +22,7 @@ require("packer").startup(function()
-- essential
use {
'numToStr/Navigator.nvim',
config = function() require('Navigator').setup() end
config = function() require('Navigator').setup({ mux = "wezterm" }) end
} -- allow seamless navigation between vim buffers and tmux splits
use 'jeffkreeftmeijer/vim-numbertoggle' -- toggles numbers to absolute for all buffers but the current which is relative
use 'RRethy/vim-illuminate' -- highlight other occurences of the word under cursor

View file

@ -392,6 +392,8 @@ filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.as[fx]
\ {View using unique mplayer instance}
\ umpv %f &,
\ {View in timg}
\ timg --title --center --clear %f; read -k 1 -s -r,
\ {View using ffplay}
\ ffplay -fs -autoexit %f,
\ {View using Dragon}
@ -425,6 +427,8 @@ fileviewer *.[1-8] man ./%c | col -b
" Gif
filextype *.gif
\ {View in timg}
\ timg --loops=2 --title --center --clear %f; read -k 1 -s -r,
\ {Loop}
\ mpv --loop=inf %f %i &,
fileviewer *.gif
@ -434,6 +438,8 @@ fileviewer *.gif
" Images
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ {View in timg}
\ timg --title --center --clear %f; read -k 1 -s -r,
\ {View in nsxiv directory viewer}
\ vifm-thumbnailer %c,
\ {View in nsxiv}
@ -447,9 +453,7 @@ filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ {View in gpicview}
\ gpicview %c,
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ kitty +kitten icat --silent --transfer-mode=stream --place=%pwx%ph@%pxx%py %c %N
\ %pc
\ kitty +kitten icat --clear --silent %pd
\ timg -g%pwx%ph -pq %c
" OpenRaster
filextype *.ora