Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

barrett-ruth/telescope-http.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Deprecation Notice

NO SETUP REQUIRED—migrate to http-codes.nvim.

telescope-http.nvim

Quickly investigate HTTP status codes with the help of telescope.nvim and mozilla.

Installation

Install via your favorite package manager, like lazy.nvim:

require('lazy').setup({
    {
        'barrett-ruth/telescope-http.nvim',
        config = function()
            require('telescope').load_extension('http')
        end,
        dependencies = 'nvim-telescope/telescope.nvim',
    }
})

Configuration

require('telescope').setup {
    extensions = {
        http = {
            -- How the mozilla url is opened. By default will be configured based on OS:
            open_url = 'xdg-open %s' -- UNIX
            -- open_url = 'open %s' -- OSX
            -- open_url = 'start %s' -- Windows
        }
    }
}

Usage

Creating a mapping for the following command in vim:

:Telescope http list

or lua:

require('telescope').extensions.http.list()

About

Browse HTTP codes with telescope

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages