GithubHelp home page GithubHelp logo

files.kak's People

Contributors

tum0xa-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kstr0k eko234

files.kak's Issues

Issue: : 'source': option not found: 'files_selection_buffer'

Hello,

Thanks for creating this plugin.

I am fairly a new Kakoune user and trying to set up files.kak. I have downloaded the files.kak in to my plugins directory and added these lines, following the instructions, in to the ~/.config/kak/kakrc file.

define-command shell-eval %{
            nop %sh{
                        eval "$kak_reg_dot"
            }
}

    hook global BufSetOption "filetype=%opt{files_browse_buffer}" %{
            map buffer normal '<ret>' ': files-cd<ret>'
            map buffer normal '<backspace>' ': files-cd-parent<ret>'
            map buffer normal 'm' ": files-add-entry-to-selection<ret>"
            map buffer normal 'M' ": files-add-cwd-to-selection<ret>"
            map buffer normal '.' ": files-toggle-show_hidden<ret>"
            map buffer normal '\' ": files-toggle-long_format<ret>"
            map buffer normal 'r' ": files-redraw-browser<ret>"
            map buffer normal 'S' ": files-focus-selections<ret>"
            map buffer normal 't' ": files-open-in-terminal<ret>"
    }

    hook global BufSetOption "filetype=%opt{files_selection_buffer}" %{
            map buffer normal <ret> ': shell-eval<ret>'
    }

After launching Kakoune, following can be seen in debug buffer

/usr/local/share/kak/kakrc:29:1: 'evaluate-commands': 134:1: 'source': option not found: 'files_selection_buffer'. Use declare-option first
error while parsing kakrc:
    1:1: 'source': 29:1: 'evaluate-commands': 134:1: 'source': option not found: 'files_selection_buffer'. Use declare-option first

I am not sure what I am dong wrong. Can you please advise?

Thanks

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.