Skip to content

Fuzzy finder for kakoune editor(files, sessions, python AST)

Notifications You must be signed in to change notification settings

d00h/kakoune-pick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

plugins for Kakoune editor

quick pick

  • file
  • kakoune session
  • python class
  • python function
  • python function with decorator @route
  • python function with decorator @fixture
  • python function with name like test_

Commands

  • file-browser

FileBrowserExample

  • find-file

FindFileExample

  • find-buffer

  • find-action

run command

# my project .kakrc

clear-actions
add-action open-admin %{ nop %sh{ xdg-open http://127.0.0.1:5600/admin } }
add-action deploy %{ make deploy }
add-action "run: tests" %{ make tests }

add-action "find: routes" %{ list-python routes ./api }

FindActionExample

Install

add to kakrc

plug "d00h/kakoune-pick" config %{

    require-module dh-file-browser # add command file-browser
    require-module dh-find-buffer  # add command find-buffer
    require-module dh-find-file    # add command find-file
    require-module dh-find-action  # add command find-action, add-action, clear-actions
    
    alias global find find-file
    map global normal <F2> ": find-buffer<ret>"
    map global normal <F3> ": file-browser<ret>"

    map global normal <F5> ": find-action<ret>"
    add-action run %{ make run }
    add-action test %{ echo "hello from action" }
}

Requirements

for module pick-python

About

Fuzzy finder for kakoune editor(files, sessions, python AST)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages