Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening the capture buffer overwrites the default cut register #65

Open
mezzarobba opened this issue Jan 6, 2014 · 0 comments
Open

Comments

@mezzarobba
Copy link

Possible fix:

    --- a/autoload/org.vim
    +++ b/autoload/org.vim
    @@ -187,7 +187,7 @@ function! org#CaptureBuffer()
         command! -buffer W :call <SID>ProcessCapture()
         " below is the basic template
         " a first level head with date timestamp
    -    normal ggVGd
    +    normal ggVG"_d
         normal i* 
         silent exec "normal o:<".org#Timestamp().">"
         normal gg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant