Skip to content

Instantly share code, notes, and snippets.

@b0o b0o/reggie.vim
Last active Dec 9, 2018

Embed
What would you like to do?
function! s:regPrompt()
echo "SetReg: "
let l:rawchar = getchar()
let l:char = nr2char(l:rawchar)
call s:setReg(l:char)
endfunction
command! -bar -nargs=0 RegPrompt call <sid>regPrompt()
nnoremap <leader>" :RegPrompt<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.