Skip to content

Runeword/putter.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 

Repository files navigation

putter.nvim

Simple implementation of put charwise and put linewise operations in lua

Try it out with packer

use("Runeword/putter.nvim")

And add the following mappings

vim.keymap.set({'n', 'x'}, 'p', require('putter').putCharwise('p'))
vim.keymap.set({'n', 'x'}, 'P', require('putter').putCharwise('P'))
vim.keymap.set({'n','x'}, 'glp', require('putter').putLinewise(']p`]'))
vim.keymap.set({'n','x'}, 'glP', require('putter').putLinewise(']P`]'))

Note that ]p put under the current indentation level
Note that p`] put and move cursor to end of the text

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages