1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-21 14:22:45 +00:00

nnn: set up image preview plugin

This commit is contained in:
Phantop 2024-10-25 12:13:44 -04:00
parent 2cf5f6ee0f
commit c83c7a5c17
2 changed files with 3 additions and 1 deletions

View file

@ -9,7 +9,8 @@ fish_add_path -U ~/.local/appdwarf/{,apps{,/bin}}
set -Ux EDITOR nvim set -Ux EDITOR nvim
set -Ux GTK_THEME Dracula set -Ux GTK_THEME Dracula
set -Ux MANPAGER 'nvim +Man!' set -Ux MANPAGER 'nvim +Man!'
set -Ux NNN_PLUG 'f:fzcd;i:imgur;j:autojump;m:nmount;s:imgview' set -Ux NNN_FIFO /tmp/nnn.fifo
set -Ux NNN_PLUG 'f:fzcd;i:imgur;j:autojump;m:nmount;p:preview-tui;s:imgview'
set -Ux PAGER most set -Ux PAGER most
set -Ux QT_QPA_PLATFORMTHEME qt5ct set -Ux QT_QPA_PLATFORMTHEME qt5ct
set -Ux USE_CCACHE 1 set -Ux USE_CCACHE 1

View file

@ -11,6 +11,7 @@ close_on_child_death yes
initial_window_width 80c initial_window_width 80c
initial_window_height 24c initial_window_height 24c
allow_remote_control yes allow_remote_control yes
listen_on unix:@kitty{kitty_pid}
hide_window_decorations yes hide_window_decorations yes
map shift+page_up scroll_page_up map shift+page_up scroll_page_up