1 ![sfm](https://github.com/afify/sfm/blob/main/sfm.png?raw=true)
3 **simple file manager**
5 [![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/afify/sfm.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/afify/sfm/context:cpp)
6 [![Build status](https://ci.appveyor.com/api/projects/status/goq88ahjyvtjrui2?svg=true)](https://ci.appveyor.com/project/afify/sfm)
10 sfm is a simple file manager for unix-like systems based on [termbox](https://github.com/nsf/termbox).
11 dual pane, bottom statusbar, bookmarks, open files by extention, vim-like key bindings as default configuration. cwd is left pane dir. No dependencies, static linking, c99.
13 * Inspired by [vifm](https://vifm.info/) and [noice](https://git.2f30.org/noice/).
14 * Follows the suckless [philosophy](https://suckless.org/philosophy/) and [code style](https://suckless.org/coding_style/).
16 <img src="https://github.com/afify/afify.github.io/raw/main/img/sfm_sc.png" alt="drawing" width="800"/>
27 |:---------|:--------------------|
36 | `ctrl+u` | scroll up |
37 | `ctrl+d` | scroll down |
38 | `n` | create new file |
39 | `N` | create new dir |
40 | `d` | delete file \| dir |
45 | `/` | start filter |
46 | `ENTER` | find filter |
47 | `ESC` | exit filter |
48 | `SPACE` | switch pane |
52 |:---------|:--------------------|
53 | `v` | enter visual mode |
56 | `ESC` | exit visual mode |
62 git clone https://github.com/afify/sfm.git
69 wget --content-disposition $(curl -s https://api.github.com/repos/afify/sfm/releases/latest | tr -d '",' | awk '/tag_name/ {print "https://github.com/afify/sfm/archive/"$2".tar.gz"}')
70 tar -xzf sfm-*.tar.gz && cd sfm-*/
82 The configuration of sfm is done by creating a custom config.h
83 and (re)compiling the source code.