All Projects → skamsie → vim-lineletters

skamsie / vim-lineletters

Licence: other
because letters are easier to touch type than numbers

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-lineletters

Neotex
latex live preview - plugin for neovim and vim 8
Stars: ✭ 170 (+347.37%)
Mutual labels:  vim-plugin, neovim-plugin
beacon.nvim
Whenever cursor jumps some distance or moves between windows, it will flash so you can see where it is
Stars: ✭ 217 (+471.05%)
Mutual labels:  vim-plugin, neovim-plugin
Animate.vim
A Vim Window Animation Library
Stars: ✭ 173 (+355.26%)
Mutual labels:  vim-plugin, neovim-plugin
Ale
Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support
Stars: ✭ 11,380 (+29847.37%)
Mutual labels:  vim-plugin, neovim-plugin
qf helper.nvim
A collection of improvements for the quickfix buffer
Stars: ✭ 70 (+84.21%)
Mutual labels:  vim-plugin, neovim-plugin
Targets.vim
Vim plugin that provides additional text objects
Stars: ✭ 2,114 (+5463.16%)
Mutual labels:  vim-plugin, neovim-plugin
Indent Blankline.nvim
Indent guides for Neovim
Stars: ✭ 203 (+434.21%)
Mutual labels:  vim-plugin, neovim-plugin
Neovim Fuzzy
Fuzzy file finding for neovim
Stars: ✭ 103 (+171.05%)
Mutual labels:  vim-plugin, neovim-plugin
Coc.nvim
Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Stars: ✭ 18,268 (+47973.68%)
Mutual labels:  vim-plugin, neovim-plugin
Vim Ghost
Vim/Nvim client for GhostText - Edit browser text areas in Vim/Neovim
Stars: ✭ 245 (+544.74%)
Mutual labels:  vim-plugin, neovim-plugin
Vem Tabline
A lightweight Vim/Neovim plugin to display buffers and tabs in the tabline
Stars: ✭ 129 (+239.47%)
Mutual labels:  vim-plugin, neovim-plugin
stable-windows
Keeps vim windows stable on layout changes
Stars: ✭ 41 (+7.89%)
Mutual labels:  vim-plugin, neovim-plugin
Vim Clap
👏 Modern performant fuzzy picker for Vim and NeoVim
Stars: ✭ 1,802 (+4642.11%)
Mutual labels:  vim-plugin, neovim-plugin
Vim Dadbod Completion
Database autocompletion powered by https://github.com/tpope/vim-dadbod
Stars: ✭ 163 (+328.95%)
Mutual labels:  vim-plugin, neovim-plugin
Nvim Treesitter Context
Show code context
Stars: ✭ 113 (+197.37%)
Mutual labels:  vim-plugin, neovim-plugin
Visual Split.vim
Vim plugin to control splits with visual selections or text objects
Stars: ✭ 190 (+400%)
Mutual labels:  vim-plugin, neovim-plugin
Todoist.nvim
A todoist extension for neovim
Stars: ✭ 84 (+121.05%)
Mutual labels:  vim-plugin, neovim-plugin
Asyncrun.vim
🚀 Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
Stars: ✭ 1,332 (+3405.26%)
Mutual labels:  vim-plugin, neovim-plugin
Vim Vsnip
Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
Stars: ✭ 224 (+489.47%)
Mutual labels:  vim-plugin, neovim-plugin
vim-readme-viewer
📖 Viewing plugin's README easily like vim help
Stars: ✭ 26 (-31.58%)
Mutual labels:  vim-plugin, neovim-plugin

vim-lineletters

Jump to any visible line in the buffer by using letters instead of numbers. Works in normal and visual modes.

Why? Because letters are much easier to touch type than numbers (๑˃̵ᴗ˂̵)و

Install

Use your favorite plugin manager

Plug 'skamsie/vim-lineletters'

How to use

By default there is no key mapping, to create one, add this in your .vimrc and replace , with whatever you like (even though , is a good choice if you don't normall use it). Ideally it should be a one character mapping.

map <silent>, <Plug>LineLetters

Use the mapping you chose to show signs on each of the visible lines in the buffer. Type the character(s) you see in the sign column to jump to that line.

You can check the documentation at any time with :help lineletters

Settings

By default you don't need to configure anything, but if you want to change the defaults, you can do it via the g:lineletters_settings dictionary. For example you can add something like this to your .vimrc:

let g:lineletters_settings = {
      \ 'main_chars': map(range(100, 120), 'nr2char(v:val)'),
      \ 'prefix_chars': [',', ';', 'j'],
      \ 'highlight_group': 'MoreMsg',
      \ 'after_jump_do': '0'
      \ }
      
" map(range(100, 120), 'nr2char(v:val)') -> will generate a list with letters from 'd' to 'x'

Config Options

+--------------------+-------------------+--------------------------------------------+
| Option             | Default           | Description                                |
|--------------------|-------------------|--------------------------------------------|
| main_chars         | ['a', ..., 'z']   | Main characters used for the signs column. |
|                    |                   | An empty list disables the plugin          |
|--------------------|-------------------|--------------------------------------------|
| prefix_chars       | [',', 'j', 'f']   | Characters used to prefix main_chars after |
|                    |                   | they are consumed                          |
|--------------------|-------------------|--------------------------------------------|
| highlight_group    | 'LineNr'          | Highlight group used to colorize the signs |
|--------------------|-------------------|--------------------------------------------|
| after_jump_do      | '^'               | Command to be executed after               |
|                    |                   | jumping to line (only in normal mode)      |
+--------------------+-------------------+--------------------------------------------+
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].