Skip to content

Delapouite/explore.kak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Explore

IRC Badge

A file and buffer explorer for Kakoune.

Demo

Installation

pathogen-infect /home/user/repositories/github.com/alexherbo2/explore.kak

Usage

Files

Edit a directory:

edit [directory]

With no argument, edit the parent directory of the current buffer.

  • Use Return to edit files (works with multiple selections).
  • Use Backspace to edit parent directory.
  • Use . to show hidden files.
  • Use R to show directory entries recursively.
  • Use q to change directory and quit.
  • Use Escape to quit.

Buffers

Start exploring buffers by using the buffer command with no argument.

For ease, you can add a key-binding to your liking, like:

map global normal b ':<space>buffer<ret>'
  • Use Return to edit selected buffer.
  • Use Backspace to explore the parent directory of the selected buffer.
  • Use q or Escape to quit.

Configuration

define-command -hidden -override explore-files-recursive -params 0..1 %{
  explore-files-display "fd %sh(test $kak_opt_explore_files_show_hidden = true && echo --hidden)" %arg(1)
}

Options

  • explore_files_show_hidden bool: Whether to show hidden files (Default: no)

Faces

  • ExploreFiles magenta,default: Face used to show files
  • ExploreDirectories cyan,default: Face used to show directories
  • ExploreBuffers yellow,default: Face used to show buffers

Credits

Similar extensions:

About

A file and buffer explorer for Kakoune

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published