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
#!/bin/sh | |
osascript -e ' | |
on run parameters | |
set TID to text item delimiters | |
set text item delimiters to " " | |
set myfile to parameters as text | |
set text item delimiters to TID | |
tell application "Finder" | |
set fileName to name of (POSIX file myfile as alias) | |
set filePath to do shell script ("dirname " & quoted form of myfile) |
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
#!/bin/sh | |
osascript -e ' | |
on run parameters | |
set TID to text item delimiters | |
set text item delimiters to " " | |
set myfile to parameters as text | |
set text item delimiters to TID | |
tell application "Finder" | |
set fileName to name of (POSIX file myfile as alias) | |
set filePath to do shell script ("dirname " & quoted form of myfile) |
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
#!/bin/sh | |
osascript -e ' | |
on run parameters | |
set TID to text item delimiters | |
set text item delimiters to " " | |
set myfile to parameters as text | |
set text item delimiters to TID | |
tell application "Finder" | |
set fileName to name of (POSIX file myfile as alias) | |
set filePath to do shell script ("dirname " & quoted form of myfile) |
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
Show hidden characters
{ | |
"shell_cmd": "gcc ${file_name} -o ${file_base_name}.out && sh /Users/LazyRen/Documents/Programming/c_cmd.sh \"${file}\"", | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c" | |
} |
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
{ | |
"shell_cmd": "g++ -std=c++14 ${file_name} -o ${file_base_name}.out && sh /Users/lazyren/Documents/Programming/cpp_cmd.sh \"${file}\"", | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.c++", | |
} |
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
{ | |
"shell_cmd": "sh /Users/lazyren/Documents/Programming/python_cmd.sh \"${file}\"", | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"selector": "source.python", | |
"env": {"PYTHONIOENCODING": "utf-8"} | |
} |
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
{ | |
"always_show_minimap_viewport": true, | |
"binary_file_patterns": | |
[ | |
"*.dds", | |
"*.eot", | |
"*.gif", | |
"*.ico", | |
"*.jar", | |
"*.jpeg", |
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
[ | |
{ | |
"keys": ["super+i"], | |
"command": "unexpand_tabs", | |
"args": { "set_translate_tabs": true } | |
}, | |
//open finder | |
{ | |
"keys": ["super+shift+x"], |
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
[ | |
{ | |
"args": | |
{ | |
"to": "eol" | |
}, | |
"command": "move_to" | |
}, | |
{ | |
"args": |
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
[ | |
{ | |
"args": | |
{ | |
"to": "eol" | |
}, | |
"command": "move_to" | |
}, | |
{ | |
"args": |
OlderNewer