Skip to content

Instantly share code, notes, and snippets.

@mruwek
mruwek / topydo-url-open.py
Last active June 12, 2019 07:22
URL extractor/opener for topydo
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
import sys
import subprocess
BROWSER='google-chrome'
# John Gruber's regex from http://daringfireball.net/2010/07/improved_regex_for_matching_urls
@mruwek
mruwek / urwidColoring.py
Last active February 14, 2016 19:11
Prototype of urwid coloring approach in topydo
import re
import urwid
from string import ascii_uppercase
from topydo.lib.Color import Color
from topydo.lib.Config import config
from topydo.ui.TodoWidget import _to_urwid_color
if config().colors():
@mruwek
mruwek / cvimrc.vim
Last active January 14, 2020 12:54
cvimrc
"remaps
map d x
map J nextTab
map K previousTab
map u lastClosedTab
"settings
let hintcharacters="asdfghjklvn"
set autoupdategist