Coder Social home page Coder Social logo

Comments (7)

Zane- avatar Zane- commented on April 28, 2024 1

I ripgrep'd my whole system, no results. I'm using a tmux-fpp plugin, but it doesn't set it anywhere (and I was also able to reproduce this outside of tmux)

I removed $FPP_EDITOR from my .zshrc, re-sourced it, and ran echo $FPP_EDITOR, which didn't return anything.

from pathpicker.

Zane- avatar Zane- commented on April 28, 2024

Thought it might be using $VISUAL, which was set to nano, but I've changed that to vim as well, and still opening in nano.

from pathpicker.

Deckluhm avatar Deckluhm commented on April 28, 2024

If you didn't already read that, maybe that can help:

The $FPP_EDITOR environment variable can be set to tell PathPicker which editor to open the selected files with. If that variable is not set, $VISUAL and then $EDITOR are used as fallbacks, with "vim" as a last resort.

Also, be sure to restart your terminal after updating an environment variable.

from pathpicker.

Zane- avatar Zane- commented on April 28, 2024

I set that variable, and it works now, but I'll still keep this open as it didn't pick any of the fallbacks, nor the last resort.

from pathpicker.

Deckluhm avatar Deckluhm commented on April 28, 2024

Are you sure $FPP_EDITOR wasn't already defined elsewhere? (maybe not by you but by a plugin or something like that)

from pathpicker.

Deckluhm avatar Deckluhm commented on April 28, 2024

tmux-plugins/tmux-fpp#18

It doesn't seem to be an issue with PathPicker but rather with tmux (and how it handles environment variables).

from pathpicker.

Zane- avatar Zane- commented on April 28, 2024

Works now that I've moved the EXPORT statements above tmux's execution in my .zshrc. Thanks!

from pathpicker.

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.