mostly sublime, some zshrc
This commit is contained in:
parent
32ba72e8c6
commit
f711890dc9
14 changed files with 304 additions and 120 deletions
2
sublime/.jsbeautifyrc
Normal file
2
sublime/.jsbeautifyrc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
{
|
||||||
|
}
|
7
sublime/C++.sublime-settings
Normal file
7
sublime/C++.sublime-settings
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
// These settings override both User and Default settings for the C++ syntax
|
||||||
|
{
|
||||||
|
// The number of spaces a tab is considered equal to
|
||||||
|
"tab_size": 2,
|
||||||
|
// Set to true to insert spaces when tab is pressed
|
||||||
|
"translate_tabs_to_spaces": true,
|
||||||
|
}
|
|
@ -1,25 +1,71 @@
|
||||||
[
|
[
|
||||||
// Open folder
|
// Open folder
|
||||||
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_folder" },
|
{
|
||||||
|
"keys": ["ctrl+shift+o"],
|
||||||
|
"command": "prompt_open_folder"
|
||||||
|
},
|
||||||
|
|
||||||
// Switch case
|
// Switch case
|
||||||
{ "keys": ["ctrl+u"], "command": "swap_case"},
|
{
|
||||||
|
"keys": ["ctrl+u"],
|
||||||
|
"command": "swap_case"
|
||||||
|
},
|
||||||
|
|
||||||
// Change Ctrl+Shift behaviour (Firefox-like)
|
// Change Ctrl+Shift behaviour (Firefox-like)
|
||||||
{ "keys": ["ctrl+tab"], "command": "next_view" },
|
{
|
||||||
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
|
"keys": ["ctrl+tab"],
|
||||||
{ "keys": ["ctrl+pagedown"], "command": "next_view_in_stack" },
|
"command": "next_view"
|
||||||
{ "keys": ["ctrl+pageup"], "command": "prev_view_in_stack" },
|
},
|
||||||
|
{
|
||||||
|
"keys": ["ctrl+shift+tab"],
|
||||||
|
"command": "prev_view"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"keys": ["ctrl+pagedown"],
|
||||||
|
"command": "next_view_in_stack"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"keys": ["ctrl+pageup"],
|
||||||
|
"command": "prev_view_in_stack"
|
||||||
|
},
|
||||||
|
|
||||||
// Lord, do I hate Ctrl+q ...
|
// Lord, do I hate Ctrl+q ... Deactivated because of Layout
|
||||||
{ "keys": ["ctrl+q"], "command": "unbound"},
|
//{ "keys": ["ctrl+q"], "command": "unbound"},
|
||||||
|
|
||||||
|
|
||||||
// Allow Alt+C to comment:
|
// Allow Alt+C to comment:
|
||||||
{ "keys": ["alt+c"], "command": "toggle_comment", "args": { "block": false } },
|
{
|
||||||
{ "keys": ["alt+c"], "command": "toggle_comment", "args": { "block": true } },
|
"keys": ["alt+c"],
|
||||||
{ "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } },
|
"command": "toggle_comment",
|
||||||
{ "keys": ["ctrl+shift+/"], "command": "toggle_comment", "args": { "block": true } },
|
"args":
|
||||||
|
{
|
||||||
|
"block": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"keys": ["alt+c"],
|
||||||
|
"command": "toggle_comment",
|
||||||
|
"args":
|
||||||
|
{
|
||||||
|
"block": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"keys": ["ctrl+/"],
|
||||||
|
"command": "toggle_comment",
|
||||||
|
"args":
|
||||||
|
{
|
||||||
|
"block": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"keys": ["ctrl+shift+/"],
|
||||||
|
"command": "toggle_comment",
|
||||||
|
"args":
|
||||||
|
{
|
||||||
|
"block": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
// View settings
|
// View settings
|
||||||
{
|
{
|
||||||
|
@ -29,7 +75,9 @@
|
||||||
{
|
{
|
||||||
"cols": [0.0, 1.0],
|
"cols": [0.0, 1.0],
|
||||||
"rows": [0.0, 1.0],
|
"rows": [0.0, 1.0],
|
||||||
"cells": [[0, 0, 1, 1]]
|
"cells": [
|
||||||
|
[0, 0, 1, 1]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -39,7 +87,10 @@
|
||||||
{
|
{
|
||||||
"cols": [0.0, 0.5, 1.0],
|
"cols": [0.0, 0.5, 1.0],
|
||||||
"rows": [0.0, 1.0],
|
"rows": [0.0, 1.0],
|
||||||
"cells": [[0, 0, 1, 1], [1, 0, 2, 1]]
|
"cells": [
|
||||||
|
[0, 0, 1, 1],
|
||||||
|
[1, 0, 2, 1]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -49,9 +100,9 @@
|
||||||
{
|
{
|
||||||
"cols": [0.0, 0.5, 1.0],
|
"cols": [0.0, 0.5, 1.0],
|
||||||
"rows": [0.0, 0.5, 1.0],
|
"rows": [0.0, 0.5, 1.0],
|
||||||
"cells":
|
"cells": [
|
||||||
[
|
[0, 0, 1, 1],
|
||||||
[0, 0, 1, 1], [1, 0, 2, 1],
|
[1, 0, 2, 1],
|
||||||
[0, 1, 2, 2]
|
[0, 1, 2, 2]
|
||||||
]
|
]
|
||||||
// "cols": [0.0, 0.33, 0.66, 1.0],
|
// "cols": [0.0, 0.33, 0.66, 1.0],
|
||||||
|
@ -66,7 +117,12 @@
|
||||||
{
|
{
|
||||||
"cols": [0.0, 0.25, 0.5, 0.75, 1.0],
|
"cols": [0.0, 0.25, 0.5, 0.75, 1.0],
|
||||||
"rows": [0.0, 1.0],
|
"rows": [0.0, 1.0],
|
||||||
"cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1]]
|
"cells": [
|
||||||
|
[0, 0, 1, 1],
|
||||||
|
[1, 0, 2, 1],
|
||||||
|
[2, 0, 3, 1],
|
||||||
|
[3, 0, 4, 1]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -76,7 +132,10 @@
|
||||||
{
|
{
|
||||||
"cols": [0.0, 1.0],
|
"cols": [0.0, 1.0],
|
||||||
"rows": [0.0, 0.5, 1.0],
|
"rows": [0.0, 0.5, 1.0],
|
||||||
"cells": [[0, 0, 1, 1], [0, 1, 1, 2]]
|
"cells": [
|
||||||
|
[0, 0, 1, 1],
|
||||||
|
[0, 1, 1, 2]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -86,7 +145,11 @@
|
||||||
{
|
{
|
||||||
"cols": [0.0, 1.0],
|
"cols": [0.0, 1.0],
|
||||||
"rows": [0.0, 0.33, 0.66, 1.0],
|
"rows": [0.0, 0.33, 0.66, 1.0],
|
||||||
"cells": [[0, 0, 1, 1], [0, 1, 1, 2], [0, 2, 1, 3]]
|
"cells": [
|
||||||
|
[0, 0, 1, 1],
|
||||||
|
[0, 1, 1, 2],
|
||||||
|
[0, 2, 1, 3]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -96,18 +159,30 @@
|
||||||
{
|
{
|
||||||
"cols": [0.0, 0.5, 1.0],
|
"cols": [0.0, 0.5, 1.0],
|
||||||
"rows": [0.0, 0.5, 1.0],
|
"rows": [0.0, 0.5, 1.0],
|
||||||
"cells":
|
"cells": [
|
||||||
[
|
[0, 0, 1, 1],
|
||||||
[0, 0, 1, 1], [1, 0, 2, 1],
|
[1, 0, 2, 1],
|
||||||
[0, 1, 1, 2], [1, 1, 2, 2]
|
[0, 1, 1, 2],
|
||||||
|
[1, 1, 2, 2]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"keys": ["ctrl+alt+o"],
|
"keys": ["ctrl+alt+o"],
|
||||||
"command": "project_manager", "args": {"action": "new"}
|
"command": "project_manager",
|
||||||
|
"args":
|
||||||
|
{
|
||||||
|
"action": "new"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"keys": ["ctrl+alt+s"],
|
||||||
|
"command": "toggle_side_bar"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"keys": ["ctrl+alt+h"],
|
||||||
|
"command": "htmlprettify"
|
||||||
},
|
},
|
||||||
{ "keys": ["ctrl+alt+s"], "command": "toggle_side_bar" },
|
|
||||||
|
|
||||||
// LaTeX compilation set to Ctrl+Enter
|
// LaTeX compilation set to Ctrl+Enter
|
||||||
// Doesn't work...
|
// Doesn't work...
|
||||||
|
|
1
sublime/Default.sublime-keymap
Normal file
1
sublime/Default.sublime-keymap
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[]
|
9
sublime/DocblockrPython.sublime-settings
Normal file
9
sublime/DocblockrPython.sublime-settings
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This option dictates which style of docstrings to use, when parsing docstrings
|
||||||
|
*
|
||||||
|
* Available Options:
|
||||||
|
* [PEP0257, docblock, google, numpy, sphinx]
|
||||||
|
*/
|
||||||
|
"formatter": "numpy"
|
||||||
|
}
|
7
sublime/HTML.sublime-settings
Normal file
7
sublime/HTML.sublime-settings
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
// These settings override both User and Default settings for the C++ syntax
|
||||||
|
{
|
||||||
|
// The number of spaces a tab is considered equal to
|
||||||
|
"tab_size": 2,
|
||||||
|
// Set to true to insert spaces when tab is pressed
|
||||||
|
"translate_tabs_to_spaces": true,
|
||||||
|
}
|
3
sublime/HTMLPrettify.sublime-settings
Normal file
3
sublime/HTMLPrettify.sublime-settings
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
12
sublime/LaTeXing.sublime-settings
Normal file
12
sublime/LaTeXing.sublime-settings
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"foldable_environments": [
|
||||||
|
"table",
|
||||||
|
"figure",
|
||||||
|
"equation",
|
||||||
|
"section"
|
||||||
|
],
|
||||||
|
"zotero": false,
|
||||||
|
"zotero_user_id": "3421821",
|
||||||
|
"zotero_user_key": "5d3MQLpPp8ra2irK6tMyBvaJ",
|
||||||
|
"open_pdf_on_load": false
|
||||||
|
}
|
|
@ -7,16 +7,22 @@
|
||||||
[
|
[
|
||||||
"All Autocomplete",
|
"All Autocomplete",
|
||||||
"AutoPEP8",
|
"AutoPEP8",
|
||||||
|
"ayu",
|
||||||
"Compare Side-By-Side",
|
"Compare Side-By-Side",
|
||||||
"Diffy",
|
"Diffy",
|
||||||
|
"DocBlockr_Python",
|
||||||
"Dockerfile Syntax Highlighting",
|
"Dockerfile Syntax Highlighting",
|
||||||
"ExportHtml",
|
"ExportHtml",
|
||||||
"Git",
|
"Git",
|
||||||
"GitGutter",
|
"GitGutter",
|
||||||
"GoSublime",
|
"GoSublime",
|
||||||
|
"Hermes",
|
||||||
|
"HTML-CSS-JS Prettify",
|
||||||
"Javascript Beautify",
|
"Javascript Beautify",
|
||||||
"Language - French - Français",
|
"Language - French - Français",
|
||||||
|
"LaTeXing",
|
||||||
"LaTeXTools",
|
"LaTeXTools",
|
||||||
|
"Layout",
|
||||||
"Markdown Extended",
|
"Markdown Extended",
|
||||||
"MarkdownPreview",
|
"MarkdownPreview",
|
||||||
"MultiEditUtils",
|
"MultiEditUtils",
|
||||||
|
@ -28,6 +34,7 @@
|
||||||
"ProjectManager",
|
"ProjectManager",
|
||||||
"SublimeCodeIntel",
|
"SublimeCodeIntel",
|
||||||
"SublimeLinter",
|
"SublimeLinter",
|
||||||
|
"SublimeLinter-cppcheck",
|
||||||
"SublimeLinter-pyflakes",
|
"SublimeLinter-pyflakes",
|
||||||
"SublimeREPL",
|
"SublimeREPL",
|
||||||
"SwitchDictionary",
|
"SwitchDictionary",
|
||||||
|
|
|
@ -39,20 +39,57 @@
|
||||||
"anonymization",
|
"anonymization",
|
||||||
"mixnets",
|
"mixnets",
|
||||||
"Grafana",
|
"Grafana",
|
||||||
"Prometheus"
|
"Prometheus",
|
||||||
|
"décarbonée",
|
||||||
|
"décarbonées",
|
||||||
|
"pourcent",
|
||||||
|
"pouième",
|
||||||
|
"misclassifications",
|
||||||
|
"Bayes",
|
||||||
|
"Hoeffding",
|
||||||
|
"misclassifies",
|
||||||
|
"app",
|
||||||
|
"leverages",
|
||||||
|
"webservices",
|
||||||
|
"problematics",
|
||||||
|
"leveraging",
|
||||||
|
"leechers",
|
||||||
|
"leecher",
|
||||||
|
"premiere",
|
||||||
|
"tuple",
|
||||||
|
"booleans",
|
||||||
|
"uploader",
|
||||||
|
"anymore",
|
||||||
|
"byzantine",
|
||||||
|
"anonymise",
|
||||||
|
"anonymised",
|
||||||
|
"cloudlets",
|
||||||
|
"versioned",
|
||||||
|
"blockchain",
|
||||||
|
"blockchains",
|
||||||
|
"Bitcoin",
|
||||||
|
"Markovian",
|
||||||
|
"wearables",
|
||||||
|
"churnful",
|
||||||
|
"boxplots",
|
||||||
|
"timeout",
|
||||||
|
"proxemics"
|
||||||
],
|
],
|
||||||
"close_windows_when_empty": false,
|
"close_windows_when_empty": false,
|
||||||
"color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme",
|
"color_scheme": "Packages/User/predawn (Flake8Lint).tmTheme",
|
||||||
"dictionary": "Packages/Language - English/en_US.dic",
|
"dictionary": "Packages/Language - English/en_GB.dic",
|
||||||
"find_selected_text": true,
|
"find_selected_text": true,
|
||||||
|
"font_face": "Fira Code",
|
||||||
"font_size": 10,
|
"font_size": 10,
|
||||||
"ignored_packages":
|
"ignored_packages":
|
||||||
[
|
[
|
||||||
|
"LaTeXTools",
|
||||||
|
"SublimeREPL",
|
||||||
"Vintage"
|
"Vintage"
|
||||||
],
|
],
|
||||||
"predawn_findreplace_small": true,
|
"predawn_findreplace_small": true,
|
||||||
"predawn_quick_panel_small": true,
|
"predawn_quick_panel_small": true,
|
||||||
"predawn_sidebar_arrows": true,
|
"predawn_sidebar_arrows": false,
|
||||||
"predawn_sidebar_small": true,
|
"predawn_sidebar_small": true,
|
||||||
"predawn_tabs_small": true,
|
"predawn_tabs_small": true,
|
||||||
"theme": "predawn-DEV.sublime-theme"
|
"theme": "predawn-DEV.sublime-theme"
|
||||||
|
|
15
sublime/SublimeLinter.sublime-settings
Normal file
15
sublime/SublimeLinter.sublime-settings
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
// SublimeLinter Settings - User
|
||||||
|
{
|
||||||
|
// Set to true to print extra information in the console.
|
||||||
|
"debug": true,
|
||||||
|
"linters": {
|
||||||
|
"cppcheck": {
|
||||||
|
// "@disable": false,
|
||||||
|
// "args": [],
|
||||||
|
"enable": "all",
|
||||||
|
// "excludes": [],
|
||||||
|
// "lint_mode": "save"
|
||||||
|
"std": ["c++11"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
11
zshrc
11
zshrc
|
@ -24,6 +24,7 @@ CASE_SENSITIVE="false"
|
||||||
# DISABLE_AUTO_UPDATE="true"
|
# DISABLE_AUTO_UPDATE="true"
|
||||||
|
|
||||||
# Uncomment the following line to change how often to auto-update (in days).
|
# Uncomment the following line to change how often to auto-update (in days).
|
||||||
|
|
||||||
# export UPDATE_ZSH_DAYS=13
|
# export UPDATE_ZSH_DAYS=13
|
||||||
|
|
||||||
# Uncomment the following line to disable colors in ls.
|
# Uncomment the following line to disable colors in ls.
|
||||||
|
@ -103,10 +104,18 @@ fi
|
||||||
|
|
||||||
#export PATH=/home/adrien/bin:/opt/texbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/adrien/goroot/bin:/usr/local/go/bin:/home/adrien/goroot/bin:/home/adrien/.shadow/bin
|
#export PATH=/home/adrien/bin:/opt/texbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/adrien/goroot/bin:/usr/local/go/bin:/home/adrien/goroot/bin:/home/adrien/.shadow/bin
|
||||||
#export PATH=$PATH:/home/adrien/.shadow/bin
|
#export PATH=$PATH:/home/adrien/.shadow/bin
|
||||||
export PATH=$PATH:/home/adrien/.local/bin
|
export PATH=$PATH:$HOME/.local/bin
|
||||||
if [ -d "$HOME/bin" ] ; then
|
if [ -d "$HOME/bin" ] ; then
|
||||||
PATH="$PATH:$HOME/bin"
|
PATH="$PATH:$HOME/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Enable Autojump (j)
|
# Enable Autojump (j)
|
||||||
|
if [ -f "/usr/share/autojump/autojump.sh" ]; then
|
||||||
. /usr/share/autojump/autojump.sh
|
. /usr/share/autojump/autojump.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If there is a local zshrc, source it too
|
||||||
|
if [ -f "~/.zshrc.local" ]; then
|
||||||
|
. ~/.zshrc.local
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue