koenverburg/peepsight.nvim

github github
color
star 22
stars
alert-circle 0
open issues
users 2
subscribers
git-branch 0
forks
CREATED

2022-05-04

UPDATED

27 days ago


Peepsight

Working on a lot of code can be overwelming sometimes, so just focus on one function at the time. Peepsight is created to allow you to focus on a single function using treesitter.

asciicast

Installation

Make sure you are using Neovim (v0.7) or the latest Neovim nightly.

Using vim-plug

Plug 'koenverburg/peepsight.nvim'

Using dein

call dein#add('koenverburg/peepsight.nvim')

Using packer.nvim

use 'koenverburg/peepsight.nvim'

Setup

require('peepsight').setup({
  -- go
  "function_declaration",
  "method_declaration",
  "func_literal",

  -- typescript
  "arrow_function",
  "function_declaration",
  "generator_function_declaration"
})

Usage

PeepsightEnable
PeepsightDisable