GitXplorerGitXplorer
n

castabout.nvim

public
3 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
8f9c8e7948aa16bf33fdb926f1340e0c77549d5f

Remove image

nnat-418 committed 2 years ago
Unverified
8ad7a71d6a41ea177993f3631e73ad5b1f948ee9

Update README

nnat-418 committed 2 years ago
Unverified
6022f3734fa01dbd0f0ba423cec1d8325d0c5afd

Update README

nnat-418 committed 2 years ago
Unverified
66d8049478c850edcc3db193115d09b9ab7432c8

Update README

nnat-418 committed 2 years ago
Unverified
724644e801cd1f1dfcd2a8d0a9204527b44a489f

Add help file

nnat-418 committed 2 years ago
Unverified
8e13365c818edea133e148714ed5c4edeb6460ed

Update README

nnat-418 committed 2 years ago

README

The README file for this repository.

Castabout 🏐

Castabout is an example Neovim plugin to search through a buffer. You should probably use Telescope instead. Castabout is a simple demonstratation of a basic Neovim plugin in Lua.

Requirements

Castabout optionally depends on dressing.nvim for fancy UI.

Installing

Install the plugin using your favorite package manager. For example, with Packer:

return require('packer').startup(function(use)
  use({
    'https://github.com/nat-418/castabout.nvim',
    requires = 'https://github.com/stevearc/dressing.nvim'
  })
end)

Configuration

There is no configuration. Just use :Castabout forwards or :Castabout backwards to search like / or ?.

You could override default keymaps like this, but probably should not:

-- Use Castabout in normal and visual modes using / and ? keys
vim.keymap.set({'n', 'v'}, '/', '<Cmd>Castabout forwards<CR>')
vim.keymap.set({'n', 'v'}, '?', '<Cmd>Castabout backwards<CR>')