Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
Activity
HE Chong
@Ron89
~~
Martín Noblía
@elsuizo
cool problem solve :smile:
HE Chong
@Ron89
glad to hear it~ key mapping problem?
Martín Noblía
@elsuizo
yes map j gj map k gk
HE Chong
@Ron89
hmm, noted. Thanks for sharing~
Martín Noblía
@elsuizo
thanks keep up the good work :smile:
HE Chong
@Ron89
we will~ :smile:
Martín Noblía
@elsuizo
:+1:
Lluís Mª Bosch
hi
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
@akstrfn
@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
@Ron89
What? It should have been done b
It should have been defined in ftdetect/org.vim
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
@Ron89
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
@Ron89
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
@Ron89

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
@Tranquility
@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
@Ron89
@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
@Tranquility
@Ron89 maybe you can even implement org-mode capture templates. That would be awesome
HE Chong
@Ron89
@jceb Take a look at #243. Your opinion on changing the default behavior?
Anton Rybakov
@anton-rybakov
@jceb Hello. Are there any plans to adopt plugin for Package Manager from Vim 8.0 release?
Jan Christoph Ebersbach
@jceb
@anton-rybakov not yet. What is there to do to support it?
dusanx
@dusanx
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>
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>
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
@ygol
hello. how would I use orgmode for a .md file? TIA
François Leblanc
@leblancfg

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
@jdsutherland
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
@elsuizo
you could view videos of the emacs org-mode for familiarize with the concept
James Kyle
@jameskyle
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
diwangislucky
@diwangislucky
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
@ngortheone
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
abrarfaiyaz
@abrarfaiyaz
@leblancfg Hi I came across same issue, have you solved it?