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