Home Download Buy Blog Forum Support

orgmode

Re: orgmode

Postby theblacklion on Tue Mar 15, 2011 10:48 am

aroberge wrote:How about being able to open, within sublimetext, a local file at a given line number? Perhaps something like
Code: Select all
[[sublimetext://full_path?line=nb]]


Just do [[path/to/file.py:30]] or [[path/to/file.py:30:5]]. The first param is the line, the second the column.
Just make sure that the file pattern is in FORCE_LOAD_DEFAULT or extend it by overwriting the setting. See file header of resolver/local_file.py for details. This will be handy for our search results ;).

Do you think we need this [[sublimetext:/path/to/file]] notation? If there's real need (use cases?) for it I could put this into local_file.py to signalize a forced load...
theblacklion
 
Posts: 67
Joined: Sat Feb 05, 2011 10:07 pm
Location: Hannover, Germany

Re: orgmode

Postby rspeer on Tue Mar 15, 2011 6:48 pm

The installation instructions say "Put the following into your theme file:"

What file is the theme file? I found "Packages/Theme - Default/Default.sublime-theme", but that doesn't have XML in it.

I'm also not sure how to start using this: I cloned the repository, and renamed it from "sublime_orgmode" to "orgmode". I open a .org file and nothing interesting happens.
rspeer
 
Posts: 7
Joined: Tue Feb 01, 2011 8:43 pm

Re: orgmode

Postby theblacklion on Tue Mar 15, 2011 9:13 pm

rspeer wrote:What file is the theme file?

The color schemes one can use in Sublime have the extension .tmTheme. I'll change the the text to lay more weight on the term "color scheme".
If you don't add this to your color scheme you won't see any syntax highlighting within .org files.
For example the color scheme "Monokai Bright" can be found in: Packages/Color Scheme - Default/Monokai Bright.tmTheme

rspeer wrote:I'm also not sure how to start using this: I cloned the repository, and renamed it from "sublime_orgmode" to "orgmode". I open a .org file and nothing interesting happens.

As stated above you really have to make sure to add the color definitions into your .tmTheme file.
Then you should read the two lists below "* Features" within the README.org. The first part explains which elements exist and the second how to interact with them.
For starters you should play around with the README.org file. It demonstrates nearly all implemented elements.
theblacklion
 
Posts: 67
Joined: Sat Feb 05, 2011 10:07 pm
Location: Hannover, Germany

Re: orgmode

Postby theblacklion on Tue Mar 29, 2011 10:02 am

Just a little teaser on what I'm currently working at.. ascii tables:
http://dl.dropbox.com/u/587049/Sublime% ... tables.png
theblacklion
 
Posts: 67
Joined: Sat Feb 05, 2011 10:07 pm
Location: Hannover, Germany

Re: orgmode

Postby rchl on Sun May 15, 2011 12:15 pm

I just tried it in Sublime 2 and got two problems: enter did not toggle checkboxes nor opened links. I have not tested it thoroughly so there might be more problems.

I have fixed those two in my fork https://bitbucket.org/rchl/sublime_orgmode/changesets

BTW. One question. I've looked at Readme.org and noticed that items that have child items with checkbox have counter ([0/1]). Is this supposed to be automatically added and updated?

Never mind. Counters work and are updated automatically if it's added.
rchl
 
Posts: 148
Joined: Fri Mar 04, 2011 11:02 pm

Re: orgmode

Postby dannoffs on Mon Dec 05, 2011 11:29 am

Very nice, thanks!

i had problems with "enter" not working, applied Rafal Chlodnicki patches on bitbucket, and started working.


also tried this;
[[http://www.sublimetext.com/forum/viewtopic.php?f=5&t=1838&p=18483#p18483]]

not working as expected ;p
dannoffs
 
Posts: 6
Joined: Mon Dec 05, 2011 11:27 am

Re: orgmode

Postby korgoth on Wed Dec 07, 2011 1:54 pm

I cant get this plugin to work.

i am getting the following error in sublime console:

File ".\orgmode.py", line 32, in find_resolvers
__import__(name)
ImportError: Import by filename is not supported.

Any help is much appreciated

UPDATE: i applied a patch mentioned at bitbucket and now the plugin is almost working. Resolvers however are not working :-/
korgoth
 
Posts: 4
Joined: Fri Sep 02, 2011 10:39 am

Re: orgmode

Postby jhau on Fri Dec 09, 2011 9:22 pm

I love this addon, and I use it daily.

On my new system, however, it keeps ctrl+/ (comment line) from working in other file modes.
Code: Select all
To Recreate:
1. Download Sublime Text 2 (2139) on linux
3. Open Sublime
4. Change mode to python
5. Type a line and Ctrl+/ -- notice the line is commented out
6. Run:  ~/.config/sublime-text-2/Packages$    hg clone https://bitbucket.org/theblacklion/sublime_orgmode
7. Now attemp to Ctrl+/ -- notice nothing happens
jhau
 
Posts: 1
Joined: Fri Dec 09, 2011 9:14 pm

Re: orgmode

Postby dannoffs on Mon Jan 30, 2012 7:12 pm

I fixed some stuff for windows, probablly broken stuff on other os's.

Forked to github and and included some fixes from other people in this thread.

Hope anyone find it useful.

https://github.com/danielmagnussons/orgmode

Biggest changes is;
[X] src refactor, all settings in Global.sublime-settings
[X] redmine, [[redmine:9726]], [[issue:9726]], [[#9726]]
[X] local file not working well for windows
[X] åäö problems
[X] open cmd line at "[[cmd:c:\dev]]"
- [[cmd:c:\dev\]]
- [[prompt:c:\dev\apps]]

[X] http resolver, make urls with # work
- [[http://www.sublimetext.com/forum/viewtopic.php?f=5&t=1838&p=18483#p18483]]
[X] https is not working, [[https://www.google.com/]]
-https resolver..

[X] navigation history

[X] added default theme in orgmode dir.
dannoffs
 
Posts: 6
Joined: Mon Dec 05, 2011 11:27 am

Re: orgmode

Postby quodlibet on Fri Feb 10, 2012 7:11 pm

I am using ormode on my Windows system, and opening links takes a very long time. Is this just my experience?
quodlibet
 
Posts: 517
Joined: Sat Jun 18, 2011 5:53 pm

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 8 guests