Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antonk52/bad-practices.nvim
A plugin to help give up bad practices in vim.
https://github.com/antonk52/bad-practices.nvim
lua neovim neovim-plugin
Last synced: 9 days ago
JSON representation
A plugin to help give up bad practices in vim.
- Host: GitHub
- URL: https://github.com/antonk52/bad-practices.nvim
- Owner: antonk52
- Created: 2021-05-08T19:51:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T12:59:02.000Z (6 months ago)
- Last Synced: 2024-10-19T02:02:55.845Z (21 days ago)
- Topics: lua, neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 16.6 KB
- Stars: 103
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-neovim - antonk52/bad-practices.nvim - Helping you give up bad practices in Vim. (Workflow / Competitive Programming)
README
# bad-practices.nvim
A plugin to help give up bad practices in neovim.
![bad-practices 1](https://user-images.githubusercontent.com/18750590/122595373-fc79ca80-d085-11eb-82fa-df1e3774dedd.gif)
Alternatively if you have [nvim-notify](https://github.com/rcarriga/nvim-notify) installed you can get pretty notifications about tapping into bad practices.
## Installation
Using vim-plug
```vim
Plug 'antonk52/bad-practices.nvim'
```## Setup
To enable the plugin you need to call `setup` with the options
```lua
require('bad_practices.nvim').setup({
most_splits = 3, -- how many splits are considered a good practice(default: 3)
most_tabs = 3, -- how many tabs are considered a good practice(default: 3)
max_hjkl = 10, -- how many times you can spam hjkl keys in a row(default: 10)
})
```