aboutsummaryrefslogtreecommitdiff
path: root/.nnnrc
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-10-31 23:27:07 +0800
committerGuangxiong Lin <[email protected]>2021-10-31 23:27:07 +0800
commitab24ded0a10b8843d94f806aaee3f13042cd9abe (patch)
tree5927a1a4c6cee6221d28804bab439f61f6a170f7 /.nnnrc
parentcb58ef3ad9a8a4476cdf09454d3e652687e8fd90 (diff)
downloaddotfiles-ab24ded0a10b8843d94f806aaee3f13042cd9abe.tar.gz
dotfiles-ab24ded0a10b8843d94f806aaee3f13042cd9abe.tar.bz2
dotfiles-ab24ded0a10b8843d94f806aaee3f13042cd9abe.zip
Add config of nnn
Diffstat (limited to '.nnnrc')
-rwxr-xr-x.nnnrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.nnnrc b/.nnnrc
new file mode 100755
index 0000000..d1eea9b
--- /dev/null
+++ b/.nnnrc
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+
+if [ ! -d $HOME/.config/nnn/plugins ]; then
+ curl -Ls https://raw.githubusercontent.com/jarun/nnn/master/plugins/getplugs | sh
+fi
+
+export NNN_PLUG='f:fzcd;v:imgview;j:autojump'