Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    HE Chong
    Martín Noblía
    cool problem solve :smile:
    HE Chong
    glad to hear it~ key mapping problem?
    Martín Noblía
    yes map j gj map k gk
    HE Chong
    hmm, noted. Thanks for sharing~
    Martín Noblía
    thanks keep up the good work :smile:
    HE Chong
    we will~ :smile:
    Martín Noblía
    Lluís Mª Bosch
    Just looking for a org-mode plugin for vim and I found this, hi to everyone
    Anyone using vim in windows using cygwin?
    Lluís Mª Bosch
    I cannot figure out how to install it. What I have to do after I open the orgmode.vba file and then :so % ?
    Aleksandar Trifunovic
    @LluisMa_twitter I don't use windows, but try using some plugin manager for vim. Also you will need vim compiled with python support, I am also not sure how that works in windows.
    Lluís Mª Bosch
    @akstrfn solved! I had to set filetype=org
    HE Chong
    What? It should have been done b
    It should have been defined in ftdetect/org.vim
    Do you mind me asking the suffix of your file? @LluisMa_twitter
    Lluís Mª Bosch
    it's weird. Also, another weird thing I noticed is that all files got installed inside a folder in ~/.vim/bundle/vim-fugitive
    it's .org
    I had to add to my org file a modeline at the bottom (vim:ft=org)
    without this does not work
    HE Chong
    Are you using vundle or neobundle for plugin managing?
    Lluís Mª Bosch
    @Ron89 no, I'm not using any plugin manager, it's just that I install all my plugins inside this folder (~/.vim/bundle/), just because I started installing them there and I continued to do so
    HE Chong
    you might want to add '~/.vim/bundle/vim-orgmode/' to your runtimepath
    set rtp+=~/.vim/bundle/vim-orgmode
    add this in your ~/.vimrc
    that is, if by install you meant copying the folder vim-orgmode into ~/.vim/bundle.
    Lluís Mª Bosch
    @Ron89 Yes, that's what I usually do to install plugins, I'll try this, thank you
    HE Chong

    Hey guys, I am thinking of adding a `quick note' functionality. That is, you can create a temporary org file to take some quick note. And in the future when you open vim/some org file, the plugin will prompt the user to organize the quick note into a formal org file.

    Here is my notes on the functionality.

    *** DISCUSS <2016-06-26 Sun> add quick note function.
        - [ ] discuss on mechanism to trigger quick note:
          - global key binding =<leader>qn= to open new org buffer and temporary note file
          - all changes will be saved to temporary note file
        - [ ] discuss the management of quick note
          - User can choose one of the several occations to prompt user to organize
            the quick note into structured orgmode file:
            - When opening new vim instance
            - When opening an org file
            - First time opening vim every day/evening
            - [Never prompt]

    What do you think?

    Also, @jceb . I changed the code for tree-promoting/demoting. Previously the code destroys list/checkbox structure. And I removed the responsible part and revised the test accordingly. Since it doesn't break anything else. I pushed the change to master branch directly. Take a look?
    Ole Reifschneider
    @Ron89 doesn't org-mode have refile which you you emulate? The quick note feature sounds to me like a simple mapping and a prompt when starting vim sounds annoying to me and can also easily achieved with an autocommand if you create the functionality. Otherwise it sounds like a great idea and I would love to use the feature
    HE Chong
    @Tranquility It is a simple mapping. The prompting is going to be configurable. I think of this because sometimes when other people said some idea worth noting. I want to take it right down. And if it doesn't prompt me, sometimes I simply forgot about it. I'll read about refile first to see what's people's usual habbit. Thanks~
    Ole Reifschneider
    @Ron89 maybe you can even implement org-mode capture templates. That would be awesome
    HE Chong
    @jceb Take a look at #243. Your opinion on changing the default behavior?
    Anton Rybakov
    @jceb Hello. Are there any plans to adopt plugin for Package Manager from Vim 8.0 release?
    Jan Christoph Ebersbach
    @anton-rybakov not yet. What is there to do to support it?
    Hi Jan. Using vim-orgmode on arch linux (so already on python 3.6). On 3.5.x it works well, on 3.6 it breaks with this error:
    line 123:
    Traceback (most recent call last):
    File "<string>", line 10, in <module>
    File "/home/dusanx/.vim/bundle/vim-orgmode/ftplugin/orgmode/_vim.py", line 22, in <module>
    from orgmode.vimbuffer import VimBuffer
    File "/home/dusanx/.vim/bundle/vim-orgmode/ftplugin/orgmode/vimbuffer.py", line 30, in <module>
    from orgmode.liborgmode.documents import Document, MultiPurposeList, Direction
    File "/home/dusanx/.vim/bundle/vim-orgmode/ftplugin/orgmode/liborgmode/documents.py", line 16, in <module>
    from orgmode.liborgmode.headings import Heading, HeadingList
    File "/home/dusanx/.vim/bundle/vim-orgmode/ftplugin/orgmode/liborgmode/headings.py", line 16, in <module>
    from orgmode.liborgmode.checkboxes import Checkbox, CheckboxList
    File "/home/dusanx/.vim/bundle/vim-orgmode/ftplugin/orgmode/liborgmode/checkboxes.py", line 20, in <module>
    from orgmode.liborgmode.dom_obj import DomObj, DomObjList, REGEX_SUBTASK, REGEX_SUBTASK_PERCENT, REGEX_HEADING, REGEX_CHECKBOX
    File "/home/dusanx/.vim/bundle/vim-orgmode/ftplugin/orgmode/liborgmode/dom_obj.py", line 28, in <module>
    flags=re.U | re.L)
    File "/usr/lib/python3.6/re.py", line 233, in compile
    return _compile(pattern, flags)
    File "/usr/lib/python3.6/re.py", line 301, in _compile
    p = sre_compile.compile(pattern, flags)
    File "/usr/lib/python3.6/sre_compile.py", line 562, in compile
    p = sre_parse.parse(p, flags)
    File "/usr/lib/python3.6/sre_parse.py", line 866, in parse
    p.pattern.flags = fix_flags(str, p.pattern.flags)
    File "/usr/lib/python3.6/sre_parse.py", line 833, in fix_flags
    raise ValueError("cannot use LOCALE flag with a str pattern")
    ValueError: cannot use LOCALE flag with a str pattern
    Error detected while processing function <SNR>51_OrgRegisterMenu:
    line 1:
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    NameError: name 'ORGMODE' is not defined
    Yves Goldberg
    hello. how would I use orgmode for a .md file? TIA
    François Leblanc

    Hi there. I'm getting the following error. Pretty sure it's on my side and it isn't a bug, but can't make sense of it. When trying to export to pdf:

    Symbol's function definition is void: org-latex-export-to-pdf
    Error detected while processing :
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/leblancfg/.vim/plugged/vim-orgmode/ftplugin/orgmode/plugins/Export.py", line 92, in topdf
        echoe(u'PDF export failed.')
      File "/home/leblancfg/.vim/plugged/vim-orgmode/ftplugin/orgmode/_vim.py", line 119, in echoe
        vim.command(u_encode(u':echoerr "%s"' % m))
    vim.error: Vim(echoerr):PDF export failed.

    I've got Emacs installed with org-mode, and the export to PDF works well inside it...

    Any help as to next steps, etc. would be appreciated. Thanks!
    Jeff Sutherland
    are there any good demos/videos showing off vim-orgmode? i see the github gif, but i'm hoping for more details
    Martín Noblía
    you could view videos of the emacs org-mode for familiarize with the concept
    James Kyle
    hello. I'm having trouble getting labels for latex figures/equations and pdf export working
    I've tried putting this above and within the align environment #+NAME: eq:eq1, I've also tried using standard latex label \label{eq:eq1}. I then try to reference the label with both straight latex \ref{eq:eq1} or with org-mode linking like [[eq:eq1]] or org-mode ref linking [[ref:eq:eq1]]. In all cases, when I export to pdf I get a unable to resolve link error
    I've got emacs for orgmode now
    However... I use vim for coding...
    And it's annoying to switch between vim and emacs
    Ihor Antonov
    I've got some attention at https://github.com/org-rs/org-rs
    We are cooking something to have decent org-mode not only in emacs. Contributions are welcome
    @leblancfg Hi I came across same issue, have you solved it?