tum0xa-s / files.kak Goto Github PK
View Code? Open in Web Editor NEWfile manager in kakoune buffer
file manager in kakoune 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.