This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'.vim-mode:not(.insert-mode)': | |
'space space': 'command-palette:toggle' | |
'space w': 'core:save' | |
'space q': 'core:close' | |
'space f': 'fuzzy-finder:toggle-file-finder' | |
'space c': 'git-plus:commit' | |
'space a': 'git-plus:add' |
- Managing windows and moving around with C-w (whjklco)
- Fugitive or even better Magit like plugin
- Ansi-Term
- chromium-hterm ?
- https://github.com/substack/exterminate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install the message listener | |
chrome.extension.onRequest.addListener (request, sender, sendResponse)-> | |
# Select the right response given the message | |
switch request.message | |
# Grab all tabs | |
when "getTabs" | |
chrome.windows.getCurrent (window)-> | |
chrome.tabs.getAllInWindow window.id, (tabs)-> | |
# We've collected all tabs, let's send them back | |
sendResponse(tabs:tabs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Application | |
constructor: -> | |
# Inject our html into the view | |
@injectView() | |
# Install a listener for our input | |
@element().find('input').keyup (event)=> | |
@onInput(event) | |
# Spawn a view that handle results display |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tab = | |
id : 43 | |
windowId : 4 | |
url: "http://google.com" | |
title: "Google" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tabswitcher # Repository root | |
/build # Generated Javascripts end there | |
/libs # Dependencies | |
/src # Our code | |
/background.html # Extension's 'main view' | |
/manifest.json # Extension settings | |
/Cakefile # Starts build task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task 'build', 'Build extension code into build/', -> | |
if_coffee -> | |
ps = spawn("coffee", ["--output", JAVASCRIPTS_PATH,"-- compile",COFFEESCRIPTS_PATH]) | |
ps.stdout.on('data', log) | |
ps.stderr.on('data', log) | |
ps.on 'exit', (code)-> | |
if code != 0 | |
console.log 'failed' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tabswitcher # Repository root | |
/background.html # Extension's 'main view' | |
/manifest.json # Extension settings |