1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
# FM : Dired like File Manager
## DONE
- [x] filetype
- [x] identifier filetype cf TODO
- [x] colorier selon filetype cf TODO
- [x] scroll
- [x] load from anywhere
- [x] args : dirpath & show hidden (-a)
- [x] toggle hidden
- [x] spawn a shell, open with xdg-open
- [x] manipuler :
[fuzzy finder in tuiki](https://github.com/lotabout/skim/blob/master/src/input.rs)
- [x] flagged
- [x] rename
- [x] supprimer
- [x] insérer fichier / dossier
- [x] chmod parsed from octal
- [x] cut copy paste
- [x] spawn shell in dir
- [x] open file with xdg-open
- [x] open file with custom command
- [x] usage
- [x] help menu
- [x] custom config file
- [x] custom keybindings
- [x] GOTO mode
- [x] batch chmod
- [x] mouse support
- [x] left move index to this file
- [x] right on dir enter
- [x] right on file open
- [x] up / down
- [x] links are followed
- [x] resize (i guess it's an event like in curse) seems to work already
- [x] dirsymbol for sockets and whatever
- [x] refactor FileInfo, use an enum
- [x] '\*' flag all
- [x] v reverse flags
- [x] allow '~' in GOTO mode
- [x] regex
- [x] search
- [x] mark multiple files
- [x] jump pour next flagged file
- [x] user config file
- [x] completion
- workflow in [#10](https://github.com/qkzk/fm/issues/10)
- [x] in goto mode,
- [x] exec mode,
- [x] searchmode
- [x] confirmation for cut/paste, copy/paste, delete
- [x] bugfix: strange behavior after leaving a mode, wrong files are flagged - not in the right index or something
- [x] bugfix: can navigate outside file list
- [x] sorting : filename, size, date, type
- [x] refactor key(char) -> action
- [x] enum for actions
- [x] hmap for keybindings
- [x] key -> action -> status.update(action)
- [x] association with match and clear code
- [x] dissociate keybinding from status update
- [x] fix: cursor is hidden before leaving the application
- [x] create a symlink to flagged files
- [x] preview a file with P
- [x] preview navigation, integrate into file_window,
- [x] preview content in head not stack
- [x] syntax highlighting with [syntect](https://github.com/trishume/syntect)
- [x] binary preview
- [x] history of visited files: use a Vec as a stack [collections](https://doc.rust-lang.org/std/collections/index.html)
- [x] shortcuts
- [x] multiple tabs: TAB to switch, DEL to drop, INS to create. Flagged files are shared between tabs.
- [x] rename file_window to content_window ?
- [x] improve the top row
- [x] confirmation display shows a list of edited files
- [x] integrate fzf or another fuzzy finder
- [x] custom a file opener
- [x] bulkrename @ ranger
- [x] scrollable help
- [x] user defined marks ; saved and read from a file.
- [x] refactor: main should return result, have everything raise errors
- [x] stable colors per extension with caching
- [x] BUGFIX creating an already existing dir / file crashes
- [x] display link destination
- [x] copy filename/filepath to clipboard with ctrl+c & ctrl+p
- [x] filters by ext / name / only dirs / all (aka no filter)
- [x] FIX: broken links aren't shown
- [x] COPY improvment
- [x] async/threaded copy -- move & delete should be quick enough
- [x] progress bar for copy
- [x] move/copy progress displayed, nothing else
- [x] display copy/move with style, refresh when done (reset file position)
- [x] FIX: opener crash, right on file crash when in nvim toggleterm
- [x] FIX: marks saved without newlines
- [x] drag & drop: exec and find dragon-drop
## TODO
- [ ] remote control
- [x] filepicker
requires the nvim-remote rust crate installed
- [ ] listen to stdin (rcv etc.)
- [ ] follow change directory
- [ ] when called from a file buffer in nvim, open with this file selected
- [ ] nvim plugin - set a serverstart with a listenaddress, send it to fm
- https://github.com/KillTheMule/nvim-rs/blob/master/examples/basic.rs
- https://neovim.io/doc/user/api.html
- [ ] $NVIM_LISTEN_ADDRESS isn't always set on nbim startup ; can be set from nvim before running... then sent to fm with some args
- [ ] args read correctly, use NVIM_LISTEN_ADDRESS if args is sent
- [ ] display / event separation. use async and message passing between coroutines
- [ ] preview images @ranger [ueberzug-rs](https://github.com/Adit-Chauhan/Ueberzug-rs) @[termimage](https://rawcdn.githack.com/nabijaczleweli/termimage/doc/termimage/index.html)
## BUGS
- [ ] when opening a file with rifle opener into nvim and closing, the terminal hangs
## Sources
### CLI
- [CLI crates](https://lib.rs/command-line-interface)
|