Skip to content

dinhhuy258/sfm-telescope.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sfm-telescope

The sfm-telescope extension is a plugin for the sfm plugin that allows users to search for entries in the sfm explorer.

Demonstration

Here is a short demonstration of the sfm-telescope extension in action:

sfm-telescope-demo.mp4

Installation

To install the sfm-telescope extension, you will need to have the sfm and telescope plugins installed. You can then install the extension using your preferred plugin manager. For example, using packer.nvim:

{
  "dinhhuy258/sfm.nvim",
  requires = {
    { "dinhhuy258/sfm-telescope.nvim" },
  },
  config = function()
    local sfm_explorer = require("sfm").setup {}
    sfm_explorer:load_extension "sfm-telescope"
  end
}

You must also enable the telescope extension with the following code:

require('telescope').load_extension('sfm-telescope')

Configuration

The sfm-telescope plugin provides the following configuration options:

local default_config = {
  mappings = {
    search = { "/" },
  },
}

You can override the default configuration in load_extension method

sfm_explorer:load_extension("sfm-telescope", {
  mappings = {
    search = { "s" },
  },
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages