My build of nnn with minor changes
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

216 líneas
5.3 KiB

  1. .Dd Jul 26, 2017
  2. .Dt NNN 1
  3. .Os
  4. .Sh NAME
  5. .Nm nnn
  6. .Nd the missing terminal file browser for X
  7. .Sh SYNOPSIS
  8. .Nm
  9. .Op Ar -c N
  10. .Op Ar -e
  11. .Op Ar -i
  12. .Op Ar -l
  13. .Op Ar -p nlay
  14. .Op Ar -S
  15. .Op Ar -v
  16. .Op Ar -h
  17. .Op Ar PATH
  18. .Sh DESCRIPTION
  19. .Nm
  20. (Noice is Not Noice) is a performance-optimized fork of the noice terminal file browser with extensive desktop integration, simplified navigation, \fInavigate-as-you-type\fR mode, bookmarks, disk usage analyzer mode, comprehensive file details and much more. It remains a simple and efficient file browser that stays out of your way.
  21. .Pp
  22. .Nm
  23. defaults to the current directory if
  24. .Ar PATH
  25. is not specified.
  26. .Pp
  27. .Nm
  28. supports both vi-like and emacs-like key bindings in the default
  29. configuration. The default key bindings are listed below.
  30. .Pp
  31. .Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
  32. .It Ic [Up], k, ^P
  33. Move to previous entry
  34. .It Ic [Down], j, ^N
  35. Move to next entry
  36. .It Ic [PgUp], ^U
  37. Scroll up half a page
  38. .It Ic [PgDn], ^D
  39. Scroll down half a page
  40. .It Ic [Home], g, ^, ^A
  41. Move to the first entry
  42. .It Ic [End], G, $, ^E
  43. Move to the last entry
  44. .It Ic [Right], [Enter], l, ^M
  45. Open file or enter directory
  46. .It Ic [Left], [Backspace], h, ^H
  47. Back up one directory level
  48. .It Ic [Insert]
  49. Toggle navigate-as-you-type mode
  50. .It Ic ~
  51. Change to the HOME directory
  52. .It Ic &
  53. Change to initial directory
  54. .It Ic -
  55. Change to the last visited directory
  56. .It Ic /
  57. Change filter (more information below)
  58. .It Ic ^/
  59. Search directory in desktop search tool
  60. .It Ic \&.
  61. Toggle hide .dot files
  62. .It Ic b
  63. Show bookmark key prompt
  64. .It Ic ^B
  65. Mark current dir
  66. .It Ic ^V
  67. Visit marked dir
  68. .It Ic c
  69. Show change dir prompt
  70. .It Ic d
  71. Toggle detail view
  72. .It Ic D
  73. Show current file details screen
  74. .It Ic m
  75. Show concise media info
  76. .It Ic M
  77. Show full media info
  78. .It Ic ^R
  79. Rename selected entry
  80. .It Ic s
  81. Toggle sort by file size
  82. .It Ic S
  83. Toggle disk usage analyzer mode
  84. .It Ic t
  85. Toggle sort by time modified
  86. .It Ic \&!
  87. Spawn SHELL in PWD (fallback sh)
  88. .It Ic e
  89. Open current entry in EDITOR (fallback vi)
  90. .It Ic o
  91. Open directory in NNN_DE_FILE_MANAGER
  92. .It Ic p
  93. Open current entry in PAGER (fallback less)
  94. .It Ic ^K
  95. Invoke file path copier
  96. .It Ic ^L
  97. Force a redraw, clear rename or filter prompt
  98. .It Ic \&?
  99. Toggle help and settings screen
  100. .It Ic Q
  101. Quit and change directory
  102. .It Ic q, ^Q
  103. Quit
  104. .El
  105. .Pp
  106. Backing up one directory level will set the cursor position at the
  107. directory you came out of.
  108. .Pp
  109. .Nm
  110. supports the following options:
  111. .Pp
  112. .Fl "c N"
  113. specify dir color (default blue), disables if N>7
  114. 0-black, 1-red, 2-green, 3-yellow, 4-blue, 5-magenta, 6-cyan, 7-white
  115. .Pp
  116. .Fl e
  117. use exiftool instead of mediainfo
  118. .Pp
  119. .Fl i
  120. start in navigate-as-you-type mode
  121. .Pp
  122. .Fl l
  123. start in light mode (fewer details)
  124. .Pp
  125. .Fl "p nlay"
  126. path to custom nlay
  127. .Pp
  128. .Fl S
  129. start in disk usage analyzer mode
  130. .Pp
  131. .Fl v
  132. show version and exit
  133. .Pp
  134. .Fl h
  135. show program help and exit
  136. .Sh CONFIGURATION
  137. .Nm
  138. uses \fIxdg-open\fR (on Linux) and \fIopen(1)\fR (on OS X) as the desktop
  139. opener. It invokes
  140. .Pa nlay
  141. to run desktop search utility or screensaver. Read more on
  142. .Pa nlay
  143. at:
  144. .br
  145. .Em https://github.com/jarun/nnn/wiki/all-about-nlay
  146. .Pp
  147. There is no configuration file. Settings work on environment variables. Please
  148. refer to the ENVIRONMENT section below.
  149. .Pp
  150. Configuring
  151. .Nm
  152. to change to the last visited directory on quit requires shell integration in a
  153. few easy steps. Please visit the project page (linked below) for the
  154. instructions.
  155. .Sh FILTERS
  156. Filters support regexes to instantly (search-as-you-type) list the matching
  157. entries in the current directory.
  158. .Pp
  159. There are 3 ways to reset a filter: \fI^L\fR, a search with no matches or an
  160. extra backspace at the filter prompt (like vi).
  161. .Pp
  162. Common examples: If you want to list all matches starting with the filter
  163. expression, start the expression with a
  164. .Pa ^
  165. (caret) symbol. Type
  166. .Pa \.mkv
  167. to list all MKV files.
  168. .Pp
  169. If
  170. .Nm
  171. is invoked as root the default filter will also match hidden files.
  172. .Pp
  173. In the \fInavigate-as-you-type\fR mode directories are opened in filter mode,
  174. allowing continuous navigation. Works best with the \fBarrow keys\fR.
  175. .Sh ENVIRONMENT
  176. The SHELL, EDITOR and PAGER environment variables take precedence
  177. when dealing with the !, e and p commands respectively.
  178. .Pp
  179. \fBNNN_BMS:\fR bookmark string as \fIkey:location\fR pairs (max 10) separated by
  180. \fI;\fR:
  181. .Bd -literal
  182. export NNN_BMS='doc:~/Documents;u:/home/user/Cam Uploads;D:~/Downloads/'
  183. .Ed
  184. .Pp
  185. \fBNNN_USE_EDITOR:\fR use EDITOR (preferably CLI, fallback vi) to handle text
  186. files.
  187. .Bd -literal
  188. export NNN_USE_EDITOR=1
  189. .Ed
  190. .Pp
  191. \fBNNN_DE_FILE_MANAGER:\fR set to a desktop file manager to open the current
  192. directory with. E.g.:
  193. .Bd -literal
  194. export NNN_DE_FILE_MANAGER=thunar
  195. .Ed
  196. .Pp
  197. \fBNNN_IDLE_TIMEOUT:\fR set idle timeout (in seconds) to invoke terminal
  198. screensaver.
  199. .Pp
  200. \fBNNN_COPIER:\fR set to a clipboard copier script. For example, on Linux:
  201. .Bd -literal
  202. -------------------------------------
  203. #!/bin/sh
  204. echo -n $1 | xsel --clipboard --input
  205. -------------------------------------
  206. .Ed
  207. .Sh KNOWN ISSUES
  208. If you are using urxvt you might have to set backspacekey to DEC.
  209. .Sh AUTHORS
  210. .An Lazaros Koromilas Aq Mt lostd@2f30.org ,
  211. .An Dimitris Papastamos Aq Mt sin@2f30.org ,
  212. .An Arun Prakash Jana Aq Mt engineerarun@gmail.com .
  213. .Sh HOME
  214. .Em https://github.com/jarun/nnn