diff --git a/home/.bashrc-bloated b/home/.bashrc-bloated index 3c690dd..3ea7635 100644 --- a/home/.bashrc-bloated +++ b/home/.bashrc-bloated @@ -98,10 +98,12 @@ export POETRY_HOME="$HOME/.local/share/poetry" if command -v nnn >/dev/null then export TERMINAL=alacritty # for the preview script + export NNN_OPTS="Hedx" export NNN_PLUG='t:preview-tui;m:nmount;f:fzcd;c:chksum;n:nuke;z:fzz;b:bulknew;d:dups:h:hexview;o:organize;p:pdfview;s:suedit;r:renamer' export NNN_FIFO="/tmp/nnn.fifo" export NNN_ARCHIVE='\\.(7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)$' # export NNN_OPENER="$XDG_CONFIG_HOME/nnn/plugins/nuke" + # export NNN_TRASH=1 # Use trash-cli export USE_SCOPE=1 export NNN_COLORS='2345' export NNN_FCOLORS='c1e20402006033f7c6d6ab01' @@ -522,7 +524,6 @@ basherpacks_update() { # nnn with cd on quit if command -v nnn >/dev/null; then - alias nnn="nnn -Hdex" alias ncp="cat ${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} | tr '\0' '\n'" n () { diff --git a/home/.config/fish/conf.d/aliases.fish b/home/.config/fish/conf.d/aliases.fish index d9abdef..7355292 100644 --- a/home/.config/fish/conf.d/aliases.fish +++ b/home/.config/fish/conf.d/aliases.fish @@ -44,7 +44,6 @@ abbr youbest 'youtube-dl -f bestvideo+bestaudio' abbr youlist 'youtube-dl -f bestvideo+bestaudio --yes-playlist' # nnn if command -v nnn >/dev/null - abbr nnn 'nnn -Hdex' alias ncp="cat $XDG_CONFIG_HOME/nnn/.selection | tr '\0' '\n'" function n --wraps nnn --description 'support nnn quit and change directory' diff --git a/home/.config/fish/conf.d/env.fish b/home/.config/fish/conf.d/env.fish index 758feb0..c9afed2 100644 --- a/home/.config/fish/conf.d/env.fish +++ b/home/.config/fish/conf.d/env.fish @@ -101,10 +101,12 @@ set -gx _ZO_RESOLVE_SYMLINKS 1 # nnn if command -v nnn >/dev/null set -gx TERMINAL alacritty + set -gx NNN_OPTS Hedx set -gx NNN_PLUG 't:preview-tui;m:nmount;f:fzcd;c:chksum;n:nuke;z:fzz;b:bulknew;d:dups:h:hexview;o:organize;p:pdfview;s:suedit;r:renamer' set -gx NNN_FIFO /tmp/nnn.fifo set -gx NNN_ARCHIVE '\\.(7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)$' # set -gx NNN_OPENER $XDG_CONFIG_HOME/nnn/plugins/nuke + # set -gx NNN_TRASH=1 set -gx USE_SCOPE 1 set -gx NNN_FCOLORS 'c1e20402006033f7c6d6ab01' set -gx NNN_COLORS '2345' diff --git a/home/.config/nvim/plug-config/nnn.vim b/home/.config/nvim/plug-config/nnn.vim index 8963d5a..36d2ca8 100644 --- a/home/.config/nvim/plug-config/nnn.vim +++ b/home/.config/nvim/plug-config/nnn.vim @@ -1,3 +1,3 @@ let g:nnn#set_default_mappings = 0 -let g:nnn#command = 'nnn -Hdex' +" let g:nnn#command = 'nnn -Hdex' let g:nnn#layout = { 'window': { 'width': 0.9, 'height': 0.8, 'highlight': 'Debug' } } diff --git a/home/.config/zsh/.zshenv b/home/.config/zsh/.zshenv index ae591bd..45f38c5 100644 --- a/home/.config/zsh/.zshenv +++ b/home/.config/zsh/.zshenv @@ -83,10 +83,12 @@ export _ZO_RESOLVE_SYMLINKS=1 if command -v nnn >/dev/null then export TERMINAL=alacritty # for the preview script + export NNN_OPTS="Hedx" export NNN_PLUG='t:preview-tui;m:nmount;f:fzcd;c:chksum;n:nuke;z:fzz;b:bulknew;d:dups:h:hexview;o:organize;p:pdfview;s:suedit;r:renamer' export NNN_FIFO="/tmp/nnn.fifo" export NNN_ARCHIVE='\\.(7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)$' # export NNN_OPENER="$XDG_CONFIG_HOME/nnn/plugins/nuke" + # export NNN_TRASH=1 export USE_SCOPE=1 export NNN_COLORS='2345' export NNN_FCOLORS='c1e20402006033f7c6d6ab01' diff --git a/home/.config/zsh/aliases.zsh b/home/.config/zsh/aliases.zsh index 52fc35d..79a57a4 100644 --- a/home/.config/zsh/aliases.zsh +++ b/home/.config/zsh/aliases.zsh @@ -61,7 +61,6 @@ zman() { # nnn with cd on quit if command -v nnn >/dev/null; then - alias nnn="nnn -Hdex" alias ncp="cat ${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} | tr '\0' '\n'" n () {