A file and buffer explorer for Kakoune.
pathogen-infect /home/user/repositories/github.com/alexherbo2/explore.kak
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.
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.
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)
}
explore_files_show_hidden
bool
: Whether to show hidden files (Default:no
)
ExploreFiles
magenta,default
: Face used to show filesExploreDirectories
cyan,default
: Face used to show directoriesExploreBuffers
yellow,default
: Face used to show buffers
Similar extensions: