xyzzy
Top Page > Tips > Filer


各種設定

ファイラーの初期ディレクトリ

.xyzzy(追加)
(setq *filer-primary-directory* "[ディレクトリ]")
(setq *filer-secondary-directory* "[ディレクトリ]")
for example...
(setq *filer-primary-directory* "D:/Document/")
(setq *filer-secondary-directory* "D:/Document/home/")

commentary

 *filer-primary-directory*が左側のウィンドウの、*filer-secondary-directory*が右側のウィンドウの初期ディレクトリになります。
 この設定は書き替えることも多いと思うので、.xyzzyに記述した方がいいでしょう。

ファイラーの登録ディレクトリ

.xyzzy(追加)
(setq *filer-directories*
  (list
    '("[項目名]"        . "[ディレクトリ]")
    (cons "[項目名]" (concat (si:system-root) "[~xyzzy以下のディレクトリ]"))
    (cons "[項目名]"    ([特殊ディレクトリ]))
  ))

特殊ディレクトリ

(get-windows-directory)
windows/
(get-system-directory)
windows/system/
(get-special-folder-location :desktop)
デスクトップ
(get-special-folder-location :personal)
C:/WINNT/Profiles/ユーザー名/Personal/
(get-special-folder-location :programs)
Program Files/
(get-special-folder-location :recent)
最近使ったファイル
(get-special-folder-location :send-to)
送る
(get-special-folder-location :start-menu)
スタートメニュー
(get-special-folder-location :startup)
スタートアップ
(get-special-folder-location :templates)
新規作成(ShellNew)
(user-name)
ユーザー名
for example...
(setq *filer-directories*
      (list
       '("[My Web Site]"    . "D:/Document/home")
       '("  C:/"            . "C:/")
       (cons "[xyzzy/etc/help]" (concat (si:system-root) "etc/help"))
       '("[Program Files]"  . "C:/Program Files")
       (cons "[Windows]"    (get-windows-directory))
       (cons "[Desktop]"    (map-backslash-to-slash
                             (get-special-folder-location :desktop)))
      ))

commentary

 ファイラーでJを押して出るディレクトリ移動リストの上位に常に表示するディレクトリを、*filer-directories*に代入して設定します。

ファイラーの初期マスク

siteinit.l(追加)
(setq *filer-primary-file-mask* '([マスク]))
(setq *filer-secondary-file-mask* '([マスク]))
for example...
(setq *filer-primary-file-mask* '(
    "*.txt" "*.htm" "*.html" "*.css" "*.jpg" "*.jpeg" "*.png" "*.gif"))
	(setq *filer-secondary-file-mask* '("*"))

commentary

 *filer-primary-file-mask*には左側のウィンドウ、*filer-secondary-file-mask*には右側のウィンドウの初期マスクを代入します。マスク部分は、1つのマスクを「"」で囲み、半角スペースで区切って羅列します。

ファイラーのマスクリスト

siteinit.l(追加)
(setq *filer-path-masks*
  '(("[マスク名1]" "[マスク1-1]" "[マスク1-2]" …)
    ("[マスク名2]" "[マスク2-1]" "[マスク2-2]" …)
   ))
for example...
(setq *filer-path-masks*
  '(("All Files" "*")
    ("Backup Files" "*~" "*.bak")
    ("Documents" "*.doc" "*.txt" "*.man" "*readme*" "*.jis" "*.euc")
    ("Save Files" "#*#")
   ))

commentary

 マスク名を半角英数にしておくと、頭文字を押しただけで選択され便利です。それぞれのマスクの中身も含めて設定しておきましょう。

ごみ箱を使って削除

siteinit.l(追加)
(setq *filer-use-recycle-bin* t)

commentary

 xyzzyのファイラ上でファイルを削除する場合、標準状態ではごみ箱を介さずいきなり削除されるようなので、それが怖い人はこのように設定しましょう。tnilにすればごみ箱を使わずに削除する設定になります。

▲トップページに戻る▲

各種設定

ファイラ初期ディレクトリ

ファイラ登録ディレクトリ

ファイラ初期マスク

ファイラマスクリスト

ごみ箱を使って削除