Giter Site home page Giter Site logo

Comments (8)

vanya-robertson avatar vanya-robertson commented on May 26, 2024 1

Thanks, man

from clifm.

leo-arch avatar leo-arch commented on May 26, 2024 1

Hey @vanya-robertson, made a little modification. Could you give it a try now?

from clifm.

vanya-robertson avatar vanya-robertson commented on May 26, 2024 1

Works perfectly, you absolute legend.

from clifm.

leo-arch avatar leo-arch commented on May 26, 2024

Hi Vanya, thanks for reporting. What are you trying to accomplish exactly? A concrete example would be really useful to carry out a few tests. Btw, do you mean readline.clifm, isn't it?

EDIT: Is the INPUTRC environment variable defined in your system? If yes, this is why readline.clifm isn't read at all (try removing this variable from your environment, or run in secure-environment mode via --secure-env).

from clifm.

vanya-robertson avatar vanya-robertson commented on May 26, 2024

Hi, Leo.

INPUTRC is not defined.

In readline.clifm, i have these lines:

$if mode=vi                                      
    set keymap vi-move                                 
    "i": backward-char
$endif 

Esc does enter me into vi-mode, as the qwerty keybindings work. I would like to remap i to backward-char, but there is no change in behaviour.

from clifm.

leo-arch avatar leo-arch commented on May 26, 2024

Have you been able to do this in Bash (via ~/.inputrc)? I've tried and failed. The point is: is this issue clifm-specific?

from clifm.

vanya-robertson avatar vanya-robertson commented on May 26, 2024

When set in .inputrc, it works in bash, python and tasksh, all readline programs; it does seem to be clifm-specific.

I can unbind the hjkl keys in readline.clifm:

$if mode=vi                                      
    set keymap vi-move
    "h":
    "j":
    "k":
    "l":
    "i": backward-char
$endif 

from clifm.

leo-arch avatar leo-arch commented on May 26, 2024

I'll keep investigating.

from clifm.

Related Issues (20)

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.