dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 86ddbb28c3baf8f53cf8fb83e598738a5bd373ad
parent 063f430da16623ebd60c497781f3faa947bb2330
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 19 Aug 2019 16:20:58 +0200

Set nnn plugin bindings for x-<key>, remove font definition

Diffstat:
M.commands.sh | 2+-
M.profile | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.commands.sh b/.commands.sh @@ -6,7 +6,7 @@ alias b='bash' alias z='zsh' alias e='$EDITOR' alias se='sudo $EDITOR' -alias n='nnn' +alias n='$FILE' alias sx="sxiv -ft *" alias youtube-dl='youtube-dl -f bestvideo+bestaudio/best --all-subs --embed-subs' alias xq="xbps-query" diff --git a/.profile b/.profile @@ -1,6 +1,6 @@ # shellcheck source=/dev/null [ -f ~/.locale ] && . ~/.locale -export EDITOR="vis" +export EDITOR=vis export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export MAILDIR="$HOME/mail" @@ -9,12 +9,12 @@ export FILE=nnn export BROWSER=surf-open.sh export BIB="$HOME/articles/own/BIBnew.bib" export SXHKD_SHELL=/bin/sh -export FONT="Ubuntu Mono" -export FONTSIZE=9 # nnn settings NNN_BMS="a:$HOME/articles;b:$HOME/books;c:$HOME/code;d:$HOME/doc;g:$HOME/articles/glaciology_sedimentology;m:/mnt;s:$HOME/uni/postdoc/stanford-sigma;t:$HOME/tmp;u:$HOME/uni;v:$HOME/videos" +NNN_PLUG="o:fzf-open;e:fzf-edit;u:upload;m:movie-info;c:copy-selection-to-clipboard" export NNN_BMS # bookmarks (max 10) +export NNN_PLUG # x-key binds (max 10) export NNN_USE_EDITOR=1 # always open text files in $EDITOR export NNN_OPENER="$HOME/.config/nnn/xdg-open" export NNN_OPENER_DETACH=1 # do not block nnn with file opener