guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add vifm.


From: Efraim Flashner
Subject: 01/01: gnu: Add vifm.
Date: Wed, 9 Nov 2016 18:58:51 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 65dccb3a86c110fab922f9106afcf2686b60b96e
Author: Efraim Flashner <address@hidden>
Date:   Wed Nov 9 13:49:07 2016 +0200

    gnu: Add vifm.
    
    * gnu/packages/vim.scm (vifm): New variable.
---
 gnu/packages/vim.scm |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 172d610..1cc895e 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -31,6 +31,7 @@
   #:use-module (gnu packages gawk)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages groff)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
@@ -147,3 +148,62 @@ configuration files.")
        ("ruby" ,ruby)
        ("tcl" ,tcl)
        ,@(package-inputs vim)))))
+
+(define-public vifm
+  (package
+    (name "vifm")
+    (version "0.8.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://sourceforge/vifm/vifm/vifm-"
+                            version ".tar.bz2"))
+        (sha256
+         (base32
+          "07r15kq7kjl3a41sd11ncpsii866xxps4f90zh3lv8jqcrv6silb"))))
+    (build-system gnu-build-system)
+    (arguments
+    '(#:phases
+      (modify-phases %standard-phases
+        (add-after 'patch-source-shebangs 'patch-test-shebangs
+          (lambda _
+            (substitute* (find-files "tests" "\\.c$")
+              (("/bin/sh") (which "sh")))
+            #t)))))
+    (native-inputs
+     `(("groff" ,groff) ; for the documentation
+       ("perl" ,perl)))
+    (inputs
+     `(("libx11" ,libx11)
+       ("ncurses" ,ncurses)))
+    (home-page "http://vifm.info/";)
+    (synopsis "Flexible vi-like file manager using ncurses")
+    (description "Vifm is a file manager providing a @command{vi}-like usage
+experience.  It has similar keybindings and modes (e.g. normal, command line,
+visual).  The interface uses ncurses, thus vifm can be used in text-only
+environments.  It supports a wide range of features, some of which are known
+from the @command{vi}-editor:
address@hidden
address@hidden utf8 support
address@hidden user mappings (almost like in @code{vi})
address@hidden ranges in command
address@hidden line commands
address@hidden user defined commands (with support for ranges)
address@hidden registers
address@hidden operation undoing/redoing
address@hidden fuse file systems support
address@hidden trash
address@hidden multiple files renaming
address@hidden support of filename modifiers
address@hidden colorschemes support
address@hidden file name color according to file type
address@hidden path specific colorscheme customization
address@hidden bookmarks
address@hidden operation backgrounding
address@hidden customizable file viewers
address@hidden handy @code{less}-like preview mode
address@hidden filtering out and searching for files using regular expressions
address@hidden one or two panes view
address@hidden enumerate
+With the package comes a plugin to use vifm as a vim file selector.")
+    (license license:gpl2+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]