diff options
| -rw-r--r-- | .config/env | 2 | ||||
| -rw-r--r-- | .config/imv/config | 64 | ||||
| -rwxr-xr-x | .config/nnn/plugins/joe_fzfcd | 2 | ||||
| -rwxr-xr-x | .config/nnn/plugins/joe_fzfjump | 20 | ||||
| -rwxr-xr-x | .config/nnn/plugins/joe_rand | 2 | ||||
| -rw-r--r-- | .config/yt-dlp/config | 2 | ||||
| -rw-r--r-- | .config/zsh/.zshrc | 2 | ||||
| -rw-r--r-- | .config/zsh/alias.zsh | 2 |
8 files changed, 26 insertions, 70 deletions
diff --git a/.config/env b/.config/env index 1df9a2d..30f24b8 100644 --- a/.config/env +++ b/.config/env @@ -123,7 +123,7 @@ export NNN_BATSTYLE='plain' export NNN_PREVIEWIMGPROG='icat' export NNN_PREVIEWVIDEO='tct' export NNN_ICONLOOKUP=0 -export NNN_PLUG='t:joe_fzfcd;p:-preview-tui;s:-!gdu -s;f:-fzopen;c:-joe_clipper;d:-joe_dragdrop;q:-joe_cmusq;r:joe_rand' +export NNN_PLUG='t:joe_fzfcd;p:-preview-tui;s:-!gdu -s;f:joe_fzfjump;c:-joe_clipper;d:-joe_dragdrop;q:-joe_cmusq;r:joe_rand' export RUSTFLAGS='-L /usr/local/lib' export SFEED_AUTOCMD="t<<<<<<" export SFEED_PLUMBER="linkview" diff --git a/.config/imv/config b/.config/imv/config deleted file mode 100644 index 21452a0..0000000 --- a/.config/imv/config +++ /dev/null @@ -1,64 +0,0 @@ -# Default config for imv - -[options] - -# Suppress built-in key bindings, and specify them explicitly in this -# config file. -background = 1d2021 -suppress_default_binds = true - -[aliases] -# Define aliases here. Any arguments passed to an alias are appended to the -# command. -# alias = command to run - -[binds] -# Define some key bindings -q = quit -# y = exec echo working! - -# Image navigation -p = prev -<bracketleft> = prev -<Ctrl+b> = prev -n = next -<bracketright> = next -<Ctrl+f> = next -gg = goto 1 -<Shift+G> = goto -1 - -# Panning -j = pan 0 -50 -k = pan 0 50 -h = pan 50 0 -l = pan -50 0 - -# Zooming -<Up> = zoom 1 -<Shift+plus> = zoom 1 -i = zoom 1 -<Down> = zoom -1 -<minus> = zoom -1 -o = zoom -1 - -# Rotate Clockwise by 90 degrees -<Ctrl+r> = rotate by 90 - -# Other commands -x = close -f = fullscreen -d = overlay -m = exec echo $imv_current_file -c = center -s = scaling next -<Shift+S> = upscaling next -a = zoom actual -r = reset - -# Gif playback -<period> = next_frame -<space> = toggle_playing - -# Slideshow control -t = slideshow +1 -<Shift+T> = slideshow -1 diff --git a/.config/nnn/plugins/joe_fzfcd b/.config/nnn/plugins/joe_fzfcd index 13ac1a5..b4df9a4 100755 --- a/.config/nnn/plugins/joe_fzfcd +++ b/.config/nnn/plugins/joe_fzfcd @@ -7,7 +7,7 @@ use Env qw(NNN_PIPE PWD); sub main { my $dir; - $dir = `fd -t d -L | fzf --preview ' eza --color=always --icons -T -L1 {} | + $dir = `fd -t d -L | fzf --preview ' eza --color=always -T -L1 {} | head -n 200'`; chomp($dir); open(FH, '>>', $NNN_PIPE) or die $!; diff --git a/.config/nnn/plugins/joe_fzfjump b/.config/nnn/plugins/joe_fzfjump new file mode 100755 index 0000000..dc918f3 --- /dev/null +++ b/.config/nnn/plugins/joe_fzfjump @@ -0,0 +1,20 @@ +#!/usr/bin/env perl + +use strict; +use warnings; +use Env qw(NNN_PIPE PWD); + +sub main { + my $file; + + $file = `fd -L | fzf`; + chomp($file); + open(FH, '>>', $NNN_PIPE) or die $!; + print FH '0c' . $PWD . '/' . $file; + close(FH); + return; +} + +main(); + +__END__ diff --git a/.config/nnn/plugins/joe_rand b/.config/nnn/plugins/joe_rand index edc71c1..100181a 100755 --- a/.config/nnn/plugins/joe_rand +++ b/.config/nnn/plugins/joe_rand @@ -13,7 +13,7 @@ . "$(dirname "$0")"/.nnn-plugin-helper file=$(command ls | shuf | head -n1 | tr -d '\n') -printf "%s" "0l$file" > "$NNN_PIPE" +printf "%s" "0c$PWD/$file" > "$NNN_PIPE" # printf "%s" "+l" > "$NNN_PIPE" # if type mimetype >/dev/null 2>&1; then # find . | mimetype -f - | grep "$mime" | awk -F: '{printf "%s%c", $1, 0}' > "$NNN_PIPE" diff --git a/.config/yt-dlp/config b/.config/yt-dlp/config index f770584..b996746 100644 --- a/.config/yt-dlp/config +++ b/.config/yt-dlp/config @@ -1 +1 @@ ---extractor-args=youtube:player_js_version=default,player-client=default,-tv_simply +--extractor-args=youtube:player-client=default,-tv_simply diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 1046db4..34806c3 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -75,7 +75,7 @@ bindkey "^e" edit-command-line autoload -U add-zsh-hook eza_after_cd() { - eza -l --icons --color=always --group-directories-first --no-permissions --no-user --no-time --no-filesize + eza -l --color=always --group-directories-first --no-permissions --no-user --no-time --no-filesize } add-zsh-hook chpwd eza_after_cd diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index cfab06d..30602b4 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -11,7 +11,7 @@ # == ===== ==== == # ======================== -alias eza='eza --color=always --group-directories-first --icons' \ +alias eza='eza --color=always --group-directories-first' \ ls='eza -l' tree() { eza -T $@ | $PAGER |
