summaryrefslogtreecommitdiff
path: root/rc/connect/modules/lf/lf.kak
blob: 6609f85d2043d3380fc88f0cb8454fbacd39cb61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# lf
# https://github.com/gokcehan/lf

provide-module connect-lf %{
  # Modules
  require-module connect

  # Register our paths
  set-option -add global connect_paths "%opt{connect_modules_path}/lf/aliases" "%opt{connect_modules_path}/lf/commands"

  # Commands
  define-command lf -params .. -file-completion -docstring 'Open files with lf' %{
    > lf %arg{@}
  }
}