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: 4 months 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 (over 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 (4 months 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
==============================================================================[](https://gitter.im/lista-nvim/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://travis-ci.org/lambdalisue/lista.nvim)
[](https://coveralls.io/github/lambdalisue/lista.nvim?branch=master)
[](https://scrutinizer-ci.com/g/lambdalisue/lista.nvim/?branch=master)



[](LICENSE.md)
[](doc/lista.txt)Introductions
-------------------------------------------------------------------------------
[](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)