mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
nnn: update flag
This commit is contained in:
parent
b1f816c916
commit
496ed55677
@ -98,7 +98,7 @@ 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_OPTS="HUedx"
|
||||
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)$'
|
||||
|
@ -101,7 +101,7 @@ 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_OPTS HUedx
|
||||
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)$'
|
||||
|
@ -1,3 +1,3 @@
|
||||
let g:nnn#set_default_mappings = 0
|
||||
" let g:nnn#command = 'nnn -Hdex'
|
||||
" let g:nnn#command = 'nnn -HUdex'
|
||||
let g:nnn#layout = { 'window': { 'width': 0.9, 'height': 0.8, 'highlight': 'Debug' } }
|
||||
|
@ -83,7 +83,7 @@ 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_OPTS="HUedx"
|
||||
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)$'
|
||||
|
13
setup/nnn.sh
Executable file
13
setup/nnn.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
git clone https://github.com/FollieHiyuki/nnn.git
|
||||
cd nnn || exit 1
|
||||
|
||||
if command -v doas >/dev/null
|
||||
then
|
||||
doas -- make O_NERD=1 install
|
||||
else
|
||||
sudo make O_NERD=1 install
|
||||
fi
|
||||
|
||||
cd ..
|
Loading…
Reference in New Issue
Block a user