Skip to content

Instantly share code, notes, and snippets.

@m-wynn
Created November 19, 2015 09:51
Show Gist options
  • Save m-wynn/b67ada5f6387c5bd9cb7 to your computer and use it in GitHub Desktop.
Save m-wynn/b67ada5f6387c5bd9cb7 to your computer and use it in GitHub Desktop.
vim+awesome+xdg
[Desktop Entry]
Version=1.0
Name=Vim
GenericName=Best Text Editor
Comment=Not Emacs
Exec=sh -c "tmux new-window -t default; tmux send-keys -t default 'vim %U' Enter; echo 'local awful = require(\"awful\") ; return awful.tag.viewonly(tags[1][5])' | awesome-client"
Icon=vim
Terminal=false
Type=Application
MimeType=application/mathml+xml;application/xhtml+xml;application/x-perl;application/x-python;application/x-shellscript;audio/x-mpegurl;audio/x-scpls;image/svg+xml;message/news;message/rfc822;text/calendar;text/css;text/english;text/html;text/mrml;text/plain;text/rdf;text/rss;text/rtf;text/sgml;text/vnd.wap.wml;text/x-adasrc;text/x-bibtex;text/x-chdr;text/x-c++hdr;text/x-csrc;text/x-c++src;text/x-c;text/x-objc;text/x-csv;text/x-diff;text/x-java;text/x-katefilelist;text/x-latex;text/x-log;text/x-lyx;text/x-makefile;text/xmcd;text/xml;text/x-moc;text/x-mswinurl;text/x-objcsrc;text/x-pascal;text/x-perl;text/x-php;text/x-php-source;text/x-python;text/x-tcl;text/x-tex;text/x-vcalendar;text/x-vcard;text/x-xslfo;text/x-xslt;
Categories=Application;Utility;TextEditor;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment