New answers tagged text-editor
I would open the file in the browser using a file URL: file:///home/dave/some-file Not super elegant but it works.
Just found gnome-sushi - a quick previewer for nautilus. Highlight the file in Nautilus (so it gets focus) and hit SPACE. Wow!
Mousepad is a very small and simple text editor that starts instantly (literally). Install it with: sudo apt-get install mousepad
I just tested a few editors by right-clicking on a text file in nautilus, selecting open with/other application and then clicking on find applications online. One I liked (apart from my standard editor, bluefish) was LeafPad, small, fast to open, nothing fancy.
If you want a GUI editor, try SciTe. It's a bit hard to configure, but very powerful and fast.
Ubuntu comes with nano and vim. You have to run those applications from the command line. You can also use them when you don't have a GUI. Fastest is Midnightcommander. It's a file manager that runs from the command line. To start type mc. To view the contents of a file just hite the F3 key. You have to download Midnightcommander via Ubuntu Software ...
nano launches very fast at least in this machine.
I finally worked it out. I needed to preserve environment values with the -E flag. Hence the following works. $ sudo -E -u sparhawk xdg-open /path/to/text/file
There is a reasonable solution to your needs posted on tex.SE, which provides a markdown environment within latex documents, so that you can easily enter markdown throughout the document. The environment uses pandoc to convert the markdown syntax to tex, and inserts it in place. I say it's only 'reasonable' because it seems that you wanted to be mostly ...
Top 50 recent answers are included