Code Monkey home page Code Monkey logo

kakoune-lf's Issues

Newline in lf-spawn-new is messing up the spawn

Pretty self-descriptive;
The command should be on one line, because, the terminal command starts the user configured default shell, which, among others can be fish, which doesn't follow the POSIX protocol, and thus fails to interpret the escaped newline.
Just so you know, the %{ ... } is basically just a form of string in kakoune, and doesn't escape anything (except for }, when { is not found somewhere earlier)

Make the GlobalSetOption hook part of a group

This isn't strictly needed, but I had a very hard time getting it to work with both tmux, and x11 terminal.
hatch-terminal is only supposed to expose the KAK_CLIENT, and KAK_SESSION variables, the other ones in lowercase are just a side-effect of the terminal being directly spawned from the kak process, inheriting its environment.
On the tmux side, this is different, as spawning a pane is done through the tmux command, which communicates with the server through a pipe, and drops its environment.
The KAK_(CLIENT|SESSION) variables however are deliberately made part of the hatched pane's environment, so they're available.
Switching the configuration is mostly possible, but the hook has to be removed, so that it can be redefined with the uppercase variants, but that is not possible without giving it a group.

TL;DR: Please add the hook to some group

Edit: Also it'd nice to change the way lf is configured when the connection is made

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.