Code Monkey home page Code Monkey logo

sfm-patches's Introduction

sfm-patches

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

Adds an option to ignore the leading dot character in 'dotfiles' when sorting them.

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

Add a keybind that create a window with selected files to drag and drop on a gui app.

Add shortcut that allow user to copy current pane to other pane. Useful for navigation in nested directories.

Add files and folders icons.

Note: go to that part of sfm.c code to fix main folders icons to your needs (downloads, pictures...)

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 */

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.

sfm-patches's People

Contributors

gabrielzschmitz avatar sikmir avatar atomtoast avatar afify avatar tdukv avatar viatatribal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.