Skip to content

Instantly share code, notes, and snippets.

@jsks
jsks / DistractFree.patch
Last active August 29, 2015 14:00
DistractFree vim plugin patch
--- DistractFree.vim 2014-04-21 21:17:14.312742931 -0500
+++ DistractFree.vim.1 2014-04-21 21:21:49.645868844 -0500
@@ -39,6 +39,11 @@
let g:distractfree_width = '90%'
endif
+ " The desired column height. Defaults to 90%
+ if !exists( "g:distractfree_height" )
+ let g:distractfree_height = '90%'
+ endif
@Cloudef
Cloudef / gist:1324254
Created October 29, 2011 08:58
rtorrent-mod-v3
diff -rupN src-old/command_download.cc src/command_download.cc
--- src-old/command_download.cc 2011-06-04 07:01:19.000000000 +0300
+++ src/command_download.cc 2011-10-29 11:10:41.258332501 +0300
@@ -5,12 +5,12 @@
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-//
+//
// This program is distributed in the hope that it will be useful,
void focusurgent(const Arg *arg);
void
focusurgent(const Arg *arg) {
Client *c;
Monitor *m;
for(m = mons; m; m = m->next) {
for(c = m->clients; c; c = c->next) {
if(c->isurgent) {