add sublime config

This commit is contained in:
purhan 2020-08-29 12:25:41 +05:30
parent e339377806
commit 841c0f9e33
22 changed files with 4095 additions and 4 deletions

View file

@ -35,7 +35,7 @@ function updateBarsVisibility()
for s in screen do
if s.selected_tag then
local fullscreen = s.selected_tag.fullscreenMode
-- Order matter here for shadow
-- Order matters here for shadow
s.workspace_panel.visible = not fullscreen
s.mode_panel.visible = not fullscreen
s.tasklist_panel.visible = not fullscreen

View file

@ -0,0 +1,4 @@
// These settings override both User and Default settings for the C++ syntax
{
}

View file

@ -0,0 +1,25 @@
{
"target": "terminus_open",
"cancel": "terminus_cancel_build",
"title": "Terminal",
"auto_close": false,
"timeit": true,
"post_window_hooks": [
[
"carry_file_to_pane", {"direction": "right"},
]
],
"focus": false,
"cmd":["bash", "-c", "g++ -std=c++17 -Wall -Wextra -Wshadow -fsanitize=undefined '${file}' -o '${file_path}/compiled'.o && tput setaf 2 && '${file_path}/compiled.o'"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
"name": "Run",
}
]
}

View file

@ -0,0 +1,25 @@
{
"target": "terminus_open",
"cancel": "terminus_cancel_build",
"title": "Terminal",
"auto_close": false,
"timeit": true,
"post_window_hooks": [
[
"carry_file_to_pane", {"direction": "right"},
]
],
"focus": false,
"cmd":["bash", "-c", "g++ -std=c++17 -Wall -Wextra -Wshadow -fsanitize=undefined '${file}' -o '${file_path}/compiled'.o && tput setaf 2 && timeout 5s '${file_path}/compiled.o' < input.txt"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
"name": "Run"
}
]
}

View file

@ -0,0 +1,21 @@
[
{ "keys": ["ctrl+e"], "command": "toggle_side_bar" },
{
"keys": ["ctrl+b"],
"command": "chain",
"args": {
"commands": [
["focus_group",{"group":0}],
["terminus_close_all"],
["build"],
["focus_group",{"group":0}],
]
}
},
{ "keys": ["ctrl+t"],
"command": "terminus_open",
"args" : {
"cwd": "${file_path:${folder}}"
}
},
]

View file

@ -0,0 +1,3 @@
{
"show_help_dialog": false
}

View file

@ -0,0 +1,4 @@
{
// Create a new pane when switching in a direction without one
"create_new_pane_if_necessary": false
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,4 @@
{
"etag": "\"5f49f844-57fd4\"",
"last-modified": "Sat, 29 Aug 2020 06:40:04 GMT"
}

View file

@ -0,0 +1 @@
1598683771

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,27 @@
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"1337 Color Scheme",
"BracketGuard",
"BracketHighlighter",
"Chain of Command",
"Color Scheme - Eazy Light",
"Dracula Color Scheme",
"molokai",
"Monokai - Spacegray",
"Monokai Gray",
"Monokai++",
"Notepad++ Color Scheme",
"Origami",
"Package Control",
"SublimeAStyleFormatter",
"SublimeLinter",
"SublimeLinter-clang",
"SublimeLinter-gcc",
"Terminus"
]
}

View file

@ -0,0 +1,18 @@
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"file_exclude_patterns":
[
"*.o"
],
"font_face": "Consolas Regular",
"font_size": 10,
"ignored_packages":
[
"Vintage"
],
"line_padding_bottom": 1,
"line_padding_top": 1,
"theme": "Adaptive.sublime-theme",
"translate_tabs_to_spaces": true,
"word_wrap": "true"
}

View file

@ -0,0 +1,3 @@
{
"theme": "dracula"
}

View file

@ -0,0 +1,27 @@
{
"variables": {
"caret": "#f8f8f2",
"cyan": "#8be9fd",
"light_magenta": "#ff79c6",
"light_green": "#50fa7b",
"light_red": "#ff5555",
"foreground": "#f8f8f2",
"black": "#000000",
"white": "#bbbbbb",
"light_cyan": "#8be9fd",
"magenta": "#ff79c6",
"light_black": "#555555",
"light_white": "#ffffff",
"red": "#ff5555",
"light_blue": "#bd93f9",
"blue": "#bd93f9",
"brown": "#f1fa8c",
"light_brown": "#f1fa8c",
"green": "#50fa7b",
"background": "#1e1f2a"
},
"globals": {
"background": "#1e1f29"
},
"name": "Terminus"
}

View file

@ -0,0 +1,48 @@
<snippet>
<content><![CDATA[
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
#define fo(i, a, b) for (int i=a; i<(b); i++)
#define forev(i, b, a) for (int i = (b)-1; i >= a; i--)
typedef long long ll;
typedef long double ld;
typedef complex<ld> cd;
typedef pair<int, int> pi;
typedef pair<ll, ll> pl;
typedef pair<ld, ld> pd;
typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
typedef vector<cd> vcd;
#define mp make_pair
#define pb push_back
#define ff first
#define ss second
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end()
#define sortall(x) sort(all(x))
#define endl "\n"
#define fast ios_base::sync_with_stdio(0); cin.tie(0);
// #define PI 3.1415926535897932384626
// const int MOD = 1000000007;
// const ll INF = 1e18;
// const int MX = 100001;
//==================================================================================
int main() {
freopen("input.txt", "r", stdin);
fast;
// int t; cin >> t; while (t--)
return 0;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>cf-atcoder-cc-template</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>

View file

@ -0,0 +1,46 @@
<snippet>
<content><![CDATA[
#include<iostream>
#include<bits/stdc++.h>
#include<vector>
using namespace std;
#define lli long long int
#define fo(i,b,n) for(int i=b;i<n;++i)
#define si(x) scanf("%d",&x)
#define sll(x) scanf("%lld",&x)
#define ss(s) scanf("%s",s)
#define pi(x) printf("%d\n",x)
#define pl(x) printf("%lld\n",x)
#define ps(s) printf("%s\n",s)
#define all(x) x.begin(), x.end()
#define clr(x) memset(x, 0, sizeof(x))
#define sortall(x) sort(all(x))
#define endl "\n"
#define PI 3.1415926535897932384626
const int mod = 1000000007;
/*===================================================================*/
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
#endif
/*int t; cin>>t; while(t--)*/
return 0;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>cp-template</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>

View file

@ -0,0 +1,14 @@
<snippet>
<content><![CDATA[
#include <bits/stdc++.h>
using namespace std;
int main() {
return 0;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>cpp</tabTrigger>
</snippet>

View file

@ -0,0 +1,31 @@
<snippet>
<content><![CDATA[
#include <bits/stdc++.h>
using namespace std;
#define fo(int, i, a, b) for (int i=a; i<(b); i++)
#define forev(int, i, b, a) for (int i = (b)-1; i >= a; i--)
#define uns unsigned
#define lli long long int
#define ld long double
#define all(x) x.begin(), x.end()
#define sortall(x) sort(all(x))
#define enl "\n"
#define dbg(x) cout << #x << ": " << x << enl;
// #define PI 3.1415926535897932384626
// const int MOD = 1000000007; const lli INF = 1e18; const int MX = 100001;
void solve() {
}
int main() {
ios_base::sync_with_stdio(0); cin.tie(0);
// int testcase; cin >> testcase; for (int i = 1; i <= testcase; ++i)
solve();
return 0;
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>template</tabTrigger>
</snippet>

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
.config/Code
.config/sublime-text-3

View file

@ -40,7 +40,7 @@ do
config add README.md .gitignore assistant.sh .bashrc .vimrc .astylerc conf-scripts .gtkrc-2.0 RICE vampire.sh
cd .config
config add awesome Code sublime-text-3 gtk-2.0 gtk-3.0 guake powerline-shell konsolerc spectaclerc termite
config add awesome sublime-text-3/Packages/User gtk-2.0 gtk-3.0 guake powerline-shell konsolerc spectaclerc termite
cd ~/.local/share
config add color-schemes konsole