Skip to content

Enrique-ZA/nvim-hooklinesinker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Hooklinsinker plugin

About

Stores the current position, the line and file. It can be used to jump back to a specific place in a file from any file.

Installation

Example:

If you're using vim-plug, add the following line to your init.vim file:

Plug 'Enrique-ZA/nvim-hooklinesinker'

Then source your init.vim and run :PlugInstall.

Usage

To use the plugin, map the functions to keys of your choice:

nnoremap <F2> :lua require'hooklinesinker'.save_position()<CR>
nnoremap <F3> :lua require'hooklinesinker'.return_position()<CR>

About

A neovim plugin that stores the current position, line and file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages