An open API service indexing awesome lists of open source software.

https://github.com/afify/sfm-patches

collection of sfm patches
https://github.com/afify/sfm-patches

Last synced: 3 months ago
JSON representation

collection of sfm patches

Awesome Lists containing this project

README

          

# sfm-patches

## [dirargs](sfm-dirargs-0.3.1.diff)

The **dirargs** patch adds two optional arguments that allow you to specify the
starting location of the left and right pane respectively.

## [sort-ignoredot](sort-ignoredot/sfm-sort-ignoredot-0.3.1.diff)
Adds an option to ignore the leading dot character in 'dotfiles' when sorting them.

## [symlinks](sfm-symlinks-0.4.diff)

* hide symlinks (resolved full name) from files list
* show full symlink name on bottom status line when actual symlink selected

## [dragon](sfm-dragon-0.4.diff)
Add a keybind that create a window with selected files to drag and drop on a gui app.
* Requires [dragon](https://github.com/mwh/dragon)

## [copypane](sfm-copypane-0.4.diff)
Add shortcut that allow user to copy current pane to other pane. Useful for navigation
in nested directories.

## [nerdicons](sfm-nerdicons-0.4.diff)
Add files and folders icons.
* Requires a [Nerd Font](https://www.nerdfonts.com/font-downloads) patched font

Note: go to that part of sfm.c code to fix main folders icons to your needs (downloads, pictures...)
``` c
if(strcmp(ex, "own") == 0) /* downloads */
icon = " ";
else if(strcmp(ex, "oc") == 0) /* documents */
icon = " ";
else if(strcmp(ex, "us") == 0) /* music */
icon = "ﱘ ";
else if(strcmp(ex, "ic") == 0) /* pictures */
icon = " ";
else if(strcmp(ex, "id") == 0) /* videos */
icon = " ";
else if(strcmp(ex, "ext") == 0) /* nextcloud */
icon = " ";
else if(strcmp(ex, "stea") == 0) /* steam */
icon = " ";
else
icon = " "; /* default folder */
/* Uncomment to get the folders "extensions"
* then change above (comment again after) */
//icon = ex; /* debug */
```

## [previewfolder](sfm-previewfolder-0.4.diff)
Makes the right pane be used to preview folders. This way the user can see what is inside a folder without having to "enter" it.
However, this makes the right pane unusable and so the user can't switch panes anymore.

## [autojump](autojump/sfm-autojump-20250104-db66dd0.diff)

Integrates a directory jumper like
[zoxide](https://github.com/ajeetdsouza/zoxide) into sfm,
which allows jumping to another directory with the current pane.