Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.