Skip to content
프로젝트

소개

edit directory in $EDITOR (better than vim . with netrw)

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
-1
in 7 days
-1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

NAME

vidir - edit directory

SYNOPSIS

vidir [--verbose] [directory|file|-] ...

DESCRIPTION

vidir allows editing of the contents of a directory in a text editor. If
no directory is specified, the current directory is edited.

When editing a directory, each item in the directory will appear on its
own numbered line. These numbers are how vidir keeps track of what items
are changed. Delete lines to remove files from the directory, or edit
filenames to rename files. You can also switch pairs of numbers to swap
filenames.

Note that if "-" is specified as the directory to edit, it reads a list
of filenames from stdin and displays those for editing. Alternatively, a
list of files can be specified on the command line.

OPTIONS

-v, --verbose
    Verbosely display the actions taken by the program.

COLORS

If you want to use dircolors in vim, grab vidir-ls.vim.

Set VIDIR_EDITOR_ARGS accordingly:

export VIDIR_EDITOR_ARGS='-c :set nolist | :set ft=vidir-ls'

EXAMPLES

vidir
vidir *.jpeg
    Typical uses.

find | vidir -
    Edit subdirectory contents too. To delete subdirectories, delete all
    their contents and the subdirectory itself in the editor.

find -type f | vidir -
    Edit all files under the current directory and subdirectories.

ENVIRONMENT VARIABLES

EDITOR
    Editor to use.

VISUAL
    Also supported to determine what editor to use.

VIDIR_EDITOR_ARGS
    Optional args for editor

SEE ALSO

vidir-ls

AUTHOR

Joey Hess <[email protected]> 2006-2010

Modifications by Magnus Woldrich <[email protected]> 2011

COPYRIGHT

Copyright 2006-2011 the vidir "AUTHOR"s as listed above.

Licensed under the GNU GPL.

관련 프로젝트 살펴보기

불러오는 중…