Skip to content

Doesn't comment current line when lazy loading it and set remembering last cursor location #154

@yan42685

Description

@yan42685

wrong-comment-location

minimal init.vim

call plug#begin('~/.vim/plugged')
Plug 'tyru/caw.vim', {'on': ['<Plug>(caw:hatpos:toggle)']}
imap <c-_> <esc><Plug>(caw:hatpos:toggle)
nmap <c-_> <Plug>(caw:hatpos:toggle)
vmap <c-_> <Plug>(caw:hatpos:toggle)
call plug#end()
autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exec "normal! g'\" \| zz" | endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions