Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weilbith/vim-qfloc-moves
Vim plugin to move around quickfix and location windows
https://github.com/weilbith/vim-qfloc-moves
neovim neovim-plugin vim vim-plugin
Last synced: 3 months ago
JSON representation
Vim plugin to move around quickfix and location windows
- Host: GitHub
- URL: https://github.com/weilbith/vim-qfloc-moves
- Owner: weilbith
- License: mit
- Created: 2020-10-14T21:00:53.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-14T21:02:27.000Z (about 4 years ago)
- Last Synced: 2024-06-10T02:31:32.376Z (5 months ago)
- Topics: neovim, neovim-plugin, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vim Quickfix & Location Movements
This is a minimal plugin that provides a couple of commands to make window
movements around quickfix and location lists easier. Depending on the users
workflow, there could be multiple of those windows open at the same time. And
especially if you are using more complex window layouts, these windows can be
either hard to reach or are just in the way of the movements to the "actual"
windows. Also do the default commands eventually open empty and useless windows,
being just a waste of time.## Installation
Install the plugin with your favorite manager tool. Here is an example using
[dein.vim](https://github.com/Shougo/dein.vim):```vim
call dein#add('weilbith/vim-qfloc-moves', {
\ 'on_cmd': ['Copen', 'Lopen', 'Wincmd']
\ })
```## Usage
Just use the provided commands directly or bind them to keys. For example
overwrite the default neighbor window movement bindings: >```vim
noremap h Wincmd h
noremap j Wincmd j
noremap k Wincmd k
noremap l Wincmd l
```Note that all commands attempt to re-use the origin names of the native command
they wrap just with the first letter in upper case.Checkout the
[docs](https://github.com/weilbith/vim-qfloc-moves/blob/master/doc/qfloc_moves.txt)
(`:help qfloc_moves.txt`) for a full list of commands and their details.