From: lostd Date: Fri, 10 Oct 2014 11:57:02 +0000 (+0300) Subject: Change default associations X-Git-Tag: v1.0~92^2~227 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=bfd5f9b1d45268106210cafa28a445d8c035e36f;p=nnn.git Change default associations --- diff --git a/noice.c b/noice.c index 5916fca0..c016d9ac 100644 --- a/noice.c +++ b/noice.c @@ -44,10 +44,10 @@ struct assoc { /* Configuration */ struct assoc assocs[] = { { "\\.(avi|mp4|mkv|mp3|ogg)$", "mplayer" }, - { "\\.srt$", "less" }, - { "\\.txt$", "less" }, + { "\\.(png|jpg|gif)$", "feh" }, + { "\\.(html|svg)$", "firefox" }, + { "\\.pdf$", "mupdf" }, { "\\.sh$", "sh" }, - { "^README$", "less" }, { ".*", "less" }, };