Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
/ lake Public archive

terminal file manager. (project moved to https://sr.ht/~lo/lake/)

License

Notifications You must be signed in to change notification settings

goranpjevic/lake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

                                      lake

terminal file manager.

installation:

  - 'zsh' must be installed for 'lake' to work

  - to use the fuzzy finder, install 'fzf'

  - add the 'lake' script to $PATH

  - to cd to last open directory in lake, add the following to your shell
    configuration file (e.g. '~/.zshrc'):

      #start lake, and cd to last directory on exit
      l() {   
              ldir="$HOME/.local/var/lake/ldir"
              lake ${1:=.} "$ldir"
              cd "$(cat "$ldir")"
      }

notes:

  - all searches are case insensitive

  - when executing a shell command, use '$.' to reference the highlighted file
    or directory, and '$%' to reference all the displayed files or directories

usage:

  j/'down'/^n - move one line down
  k/'up'/^p - move one line up
  g - move to the top
  G - move to the bottom
  l/'right'/^f - go to directory or open a file
  h/'left'/^b - go to the parent directory
  H - move to the first line in the output
  M - move to the middle line in the output
  L - move to the last line in the output
  u - move half of the screen up
  d - move half of the screen down
  z - center the output
  . - toggle hidden files
  ~/^h - cd to $HOME
  b - bookmark the current directory
  ' - go to the bookmarked directory
  " - go to the previous directory
  f - find line starting with a letter forward
  F - find line starting with a letter backward
  / - search pattern forward
  ? - search pattern backward
  n - next match
  N - previous match
  e/^k - use a fuzzy finder
  s/'space' - select current file
  t - toggle displaying selected files
  c - copy selected files to the current directory
  m - move selected files to the current directory
  : - execute shell command
  r/^l - redraw the screen
  q/^c - quit lake