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

https://github.com/hrsh7th/nvim-swm

Smart window movement in neovim.
https://github.com/hrsh7th/nvim-swm

neovim neovim-plugin

Last synced: 6 months ago
JSON representation

Smart window movement in neovim.

Awesome Lists containing this project

README

          

# nvim-swm

Smart window movement in neovim.

You can move the current cursor position to the nearest window (including
floating windows, taking z-index into account) with `h, j, k, l`.

## Usage

```lua
local swm = require('swm')
vim.keymap.set('n', 'h', swm.h)
vim.keymap.set('n', 'j', swm.j)
vim.keymap.set('n', 'k', swm.k)
vim.keymap.set('n', 'l', swm.l)
```