This file contains hidden or 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
tell application "BBEdit" to set theFile to file of document 1 | |
tell application "Finder" to set theFolder to (container of file theFile) as alias | |
set theUnixPath to POSIX path of theFolder | |
tell application "iTerm" | |
activate | |
tell current window | |
close | |
end tell | |
tell (create window with profile "Default") |
This file contains hidden or 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
<!-- /templates/item.html.twig --> | |
{% embed 'partials/base.html.twig' %} | |
{% set base_url = base_url_relative ~ site.blog.route %} | |
{% block content %} | |
<div class="article-block"> | |
{% include 'partials/blog_item.html.twig' with {'blog':page.parent, 'truncate':false} %} | |
</div> |
This file contains hidden or 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
<!-- /templates/partials/base.html.twig --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
{% block head %} | |
<meta charset="utf-8" /> | |
<title>{{ site.title }}{% if header.title %} - {{ header.title }}{% endif %}</title> | |
{% include 'partials/metadata.html.twig' %} |
This file contains hidden or 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
{ patterns = ( | |
{ name = 'source.yaml.front-matter'; | |
begin = '\A-{3}'; | |
end = '-{3}'; | |
patterns = ( { include = 'source.yaml'; } ); | |
}, | |
{ name = 'text.html.markdown.classes'; | |
begin = '\{'; | |
end = '\}'; | |
}, |
This file contains hidden or 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
{ patterns = ( | |
{ name = 'source.yaml.front-matter'; | |
begin = '\A-{3}'; | |
end = '-{3}'; | |
patterns = ( { include = 'source.yaml'; } ); | |
}, | |
{ name = 'text.html.markdown.classes'; | |
begin = '\)\{'; | |
end = '\}'; | |
}, |
This file contains hidden or 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
{ patterns = ( | |
{ name = 'source.yaml.front-matter'; | |
begin = '\A-{3}'; | |
end = '-{3}'; | |
patterns = ( { include = 'source.yaml'; } ); | |
}, | |
{ name = 'text.html.markdown.classes'; | |
begin = '\)\{'; | |
end = '\}'; | |
}, |
This file contains hidden or 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
activate: function(state) { | |
this.subscriptions = new CompositeDisposable(); | |
this.subscriptions.add(atom.commands.add('.platform-darwin .tree-view', { | |
'open-a-terminal:openroot': (function(_this) { | |
return function() { | |
return _this.openroot(); | |
}; | |
})(this) | |
})); |