Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lambdalisue/nvim-lista
Neovim/Vim buffer filtering plugin
https://github.com/lambdalisue/nvim-lista
Last synced: 12 days ago
JSON representation
Neovim/Vim buffer filtering plugin
- Host: GitHub
- URL: https://github.com/lambdalisue/nvim-lista
- Owner: lambdalisue
- License: mit
- Created: 2016-09-21T19:45:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-01T12:45:17.000Z (over 7 years ago)
- Last Synced: 2024-10-10T12:08:30.217Z (24 days ago)
- Language: Python
- Homepage:
- Size: 251 KB
- Stars: 57
- Watchers: 9
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
lista
==============================================================================[![Join the chat at https://gitter.im/lista-nvim/Lobby](https://badges.gitter.im/lista-nvim/Lobby.svg)](https://gitter.im/lista-nvim/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Travis CI](https://img.shields.io/travis/lambdalisue/lista.nvim/master.svg?style=flat-square&label=Travis%20CI)](https://travis-ci.org/lambdalisue/lista.nvim)
[![Coverage Status](https://coveralls.io/repos/github/lambdalisue/lista.nvim/badge.svg?branch=master)](https://coveralls.io/github/lambdalisue/lista.nvim?branch=master)
[![Code Quality](https://img.shields.io/scrutinizer/g/lambdalisue/neovim-prompt/master.svg)](https://scrutinizer-ci.com/g/lambdalisue/lista.nvim/?branch=master)
![Version 1.0.0-dev](https://img.shields.io/badge/version-1.0.0--dev-yellow.svg?style=flat-square)
![Support Neovim 0.1.6 or above](https://img.shields.io/badge/support-Neovim%200.1.6%20or%20above-green.svg?style=flat-square)
![Support Vim 8.0 or above](https://img.shields.io/badge/support-Vim%208.0.0%20or%20above-yellowgreen.svg?style=flat-square)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE.md)
[![Doc](https://img.shields.io/badge/doc-%3Ah%20lista-orange.svg?style=flat-square)](doc/lista.txt)Introductions
-------------------------------------------------------------------------------
[![asciicast](https://asciinema.org/a/87432.png)](https://asciinema.org/a/87432)*lista* is a plugin to filter content lines and jump to where you want.
Install
-------------------------------------------------------------------------------Install it with your favorite plugin manager.
```vim
Plug 'lambdalisue/lista.nvim'
```Install [lambdalisue/vim-rplugin](https://github.com/lambdalisue/vim-rplugin) as well if you want to make it available on Vim 8.0.
Usage
-------------------------------------------------------------------------------
Execute `:Lista` or `:ListaCursorWord` and use the following builtin mappingsKey | Description
--------------- | ---------------------------------------------------------------
`` | Accept the input and jump to the selected line
`` | Accept the input and jump to the selected line
`` | Accept the input and jump to the selected line
`` | Cancel the input and return to the original line
`` | Cancel the input and return to the original line
`` | Delete a character before the cursor
`` | Delete a character before the cursor
`` | Delete a word before the cursor
`` | Delete a character under the cursor
`` | Move a cursor left
`` | Move a cursor one word left
`` | Move a cursor one word left
`` | Move a cursor right
`` | Move a cursor one word left
`` | Move a cursor one word left
`` | Move a cursor to the head
`` | Move a cursor to the tail
`` | Recall previous command-line from history that matches pattern in front of the cursor
`` | Recall next command-line from history that matches pattern in front of the cursor
`` | Recall previous command-line from history
`` | Recall next command-line from history
`` | Recall previous command-line from history
`` | Recall next command-line from history
`` | Select a previous line of the buffer
`` | Select a next line of the buffer
`` | Select a previous line of the buffer
`` | Select a next line of the buffer
`` | Select a previous line of the buffer
`` | Select a next line of the buffer
`` | Insert the contents of a register or object under the cursor as if typed
`` | Start to input a control character
`` | Start to input a digraph
`` | Toggle insert/replace mode
`` | Switch a current matcher
`` | Switch a current matcher
`` | Switch ignorecase
`` | Switch ignorecaseI personally assign the command to `#` and `g#` like:
```vim
nnoremap # :Lista
nnoremap g# :ListaCursorWord
```If you prefer to use `/` to select candidate, use
```vim
let g:lista#custom_mappings = [
\ ['', ''],
\ ['', ''],
\ ['', ''],
\ ['', ''],
\ ['', ''],
\ ['', '', 'noremap'],
\ ['', '', 'noremap'],
\ [';', 'pinkyless#stickyshift#enter(";")', 'expr noremap'],
\]
```- [lambdalisue/pinkyless.vim](https://github.com/lambdalisue/pinkyless.vim)
See also
-------------------------------------------------------------------------------
This plugin has partially forked from or inspired by the following plugins.- [Shougo/unite.vim](https://github.com/Shougo/unite.vim)
- [osyo-manga/vim-hopping](https://github.com/osyo-manga/vim-hopping)
- [Shougo/denite.nvim](https://github.com/Shougo/denite.nvim)
- [lambdalisue/neovim-prompt](https://github.com/lambdalisue/neovim-prompt)