Skip to content

Instantly share code, notes, and snippets.

View jewel-andraia's full-sized avatar
🧜‍♀️
diving back into coding

Jewel Andraia Darger-Sacher jewel-andraia

🧜‍♀️
diving back into coding
View GitHub Profile
filterTitle: function(title, reddit) {
var reddit = (reddit) ? reddit.toLowerCase() : null;
return this.arrayContainsSubstring(this.options.keywords.value, title.toLowerCase(), reddit);
},
filterDomain: function(domain, reddit) {
var reddit = (reddit) ? reddit.toLowerCase() : null;
var domain = (domain) ? domain.toLowerCase() : null;
return this.arrayContainsSubstring(this.options.domains.value, domain, reddit);
},
filterSubreddit: function(subreddit) {
unbind C-b
set -g prefix C-w
# pane switching
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# pane creation