mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 14:05:29 +00:00
subl
This commit is contained in:
@@ -17,6 +17,8 @@ link_profile() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $profile_dir
|
cd $profile_dir
|
||||||
|
OIFS="$IFS"
|
||||||
|
IFS=$'\n'
|
||||||
# Find all files to link
|
# Find all files to link
|
||||||
for file in `find . -type f | cut -c 3- | grep -v "^$"`; do
|
for file in `find . -type f | cut -c 3- | grep -v "^$"`; do
|
||||||
dir=$(dirname "${file}")
|
dir=$(dirname "${file}")
|
||||||
|
|||||||
5
profiles.md
Normal file
5
profiles.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
- base: base config files. includes zshrc, vim, fonts, etc
|
||||||
|
- shared: configs shared between several computers
|
||||||
|
- workplace: configs related to workplace pc
|
||||||
|
- laptop: config related to laptop
|
||||||
|
- pymol: Pymol plugins and config files
|
||||||
71
profiles/shared/.config/TabNine/TabNine.toml
Normal file
71
profiles/shared/.config/TabNine/TabNine.toml
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
[language.rust]
|
||||||
|
command = "rls"
|
||||||
|
install = [
|
||||||
|
["rustup", "update"],
|
||||||
|
["rustup", "component", "add", "rls", "rust-analysis", "rust-src"],
|
||||||
|
]
|
||||||
|
|
||||||
|
[language.javascript]
|
||||||
|
command = "flow"
|
||||||
|
args = ["lsp"]
|
||||||
|
install = [["npm", "install", "-g", "flow-bin"]]
|
||||||
|
|
||||||
|
[language.typescript]
|
||||||
|
command = "typescript-language-server"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "typescript-language-server"]]
|
||||||
|
|
||||||
|
[language.html]
|
||||||
|
command = "html-languageserver"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "vscode-html-languageserver-bin"]]
|
||||||
|
|
||||||
|
[language.ocaml]
|
||||||
|
command = "ocaml-language-server"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "ocaml-language-server"]]
|
||||||
|
|
||||||
|
[language.python]
|
||||||
|
command = "/home/bauer/conda/bin/pyls"
|
||||||
|
install = [["pip", "install", "python-language-server"]]
|
||||||
|
|
||||||
|
[language.c]
|
||||||
|
command = "clangd"
|
||||||
|
args = []
|
||||||
|
|
||||||
|
[language.cpp]
|
||||||
|
command = "clangd"
|
||||||
|
args = []
|
||||||
|
|
||||||
|
[language.haskell]
|
||||||
|
command = "hie"
|
||||||
|
args = ["--lsp"]
|
||||||
|
|
||||||
|
[language.go]
|
||||||
|
command = "gopls"
|
||||||
|
args = ["serve"]
|
||||||
|
install = [["go", "get", "-u", "golang.org/x/tools/cmd/gopls"]]
|
||||||
|
|
||||||
|
[language.dart]
|
||||||
|
command = "dart_language_server"
|
||||||
|
install = [["pub", "global", "activate", "dart_language_server"]]
|
||||||
|
|
||||||
|
[language.ruby]
|
||||||
|
command = "solargraph"
|
||||||
|
args = ["stdio"]
|
||||||
|
install = [["gem", "install", "solargraph"]]
|
||||||
|
|
||||||
|
[language.css]
|
||||||
|
command = "css-languageserver"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "vscode-css-languageserver-bin"]]
|
||||||
|
|
||||||
|
[language.scss]
|
||||||
|
command = "css-languageserver"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "vscode-css-languageserver-bin"]]
|
||||||
|
|
||||||
|
[language.purescript]
|
||||||
|
command = "purescript-language-server"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "purescript-language-server"]]
|
||||||
71
profiles/shared/.config/TabNine/TabNineExample.toml
Normal file
71
profiles/shared/.config/TabNine/TabNineExample.toml
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
[language.rust]
|
||||||
|
command = "rls"
|
||||||
|
install = [
|
||||||
|
["rustup", "update"],
|
||||||
|
["rustup", "component", "add", "rls", "rust-analysis", "rust-src"],
|
||||||
|
]
|
||||||
|
|
||||||
|
[language.javascript]
|
||||||
|
command = "flow"
|
||||||
|
args = ["lsp"]
|
||||||
|
install = [["npm", "install", "-g", "flow-bin"]]
|
||||||
|
|
||||||
|
[language.typescript]
|
||||||
|
command = "typescript-language-server"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "typescript-language-server"]]
|
||||||
|
|
||||||
|
[language.html]
|
||||||
|
command = "html-languageserver"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "vscode-html-languageserver-bin"]]
|
||||||
|
|
||||||
|
[language.ocaml]
|
||||||
|
command = "ocaml-language-server"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "ocaml-language-server"]]
|
||||||
|
|
||||||
|
[language.python]
|
||||||
|
command = "pyls"
|
||||||
|
install = [["pip", "install", "python-language-server"]]
|
||||||
|
|
||||||
|
[language.c]
|
||||||
|
command = "clangd"
|
||||||
|
args = []
|
||||||
|
|
||||||
|
[language.cpp]
|
||||||
|
command = "clangd"
|
||||||
|
args = []
|
||||||
|
|
||||||
|
[language.haskell]
|
||||||
|
command = "hie"
|
||||||
|
args = ["--lsp"]
|
||||||
|
|
||||||
|
[language.go]
|
||||||
|
command = "gopls"
|
||||||
|
args = ["serve"]
|
||||||
|
install = [["go", "get", "-u", "golang.org/x/tools/cmd/gopls"]]
|
||||||
|
|
||||||
|
[language.dart]
|
||||||
|
command = "dart_language_server"
|
||||||
|
install = [["pub", "global", "activate", "dart_language_server"]]
|
||||||
|
|
||||||
|
[language.ruby]
|
||||||
|
command = "solargraph"
|
||||||
|
args = ["stdio"]
|
||||||
|
install = [["gem", "install", "solargraph"]]
|
||||||
|
|
||||||
|
[language.css]
|
||||||
|
command = "css-languageserver"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "vscode-css-languageserver-bin"]]
|
||||||
|
|
||||||
|
[language.scss]
|
||||||
|
command = "css-languageserver"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "vscode-css-languageserver-bin"]]
|
||||||
|
|
||||||
|
[language.purescript]
|
||||||
|
command = "purescript-language-server"
|
||||||
|
args = ["--stdio"]
|
||||||
|
install = [["npm", "install", "-g", "purescript-language-server"]]
|
||||||
26
profiles/shared/.config/TabNine/tabnine_config.json
Normal file
26
profiles/shared/.config/TabNine/tabnine_config.json
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"version": "2.2.2",
|
||||||
|
"hide_promotional_message": false,
|
||||||
|
"beta_enabled": "No",
|
||||||
|
"ignore_all_lsp": false,
|
||||||
|
"creation_time": "2020-02-18T13:23:19.934038848Z",
|
||||||
|
"semantic_status": {
|
||||||
|
"python": "Enabled"
|
||||||
|
},
|
||||||
|
"disable_auto_update": false,
|
||||||
|
"user_understands_that_enabling_tabnine_cloud_sends_code_to_tabnine_servers": false,
|
||||||
|
"hosted_deep_completions_enabled": "Disabled",
|
||||||
|
"tabnine_cloud_host": null,
|
||||||
|
"tabnine_cloud_certificate_domain": null,
|
||||||
|
"tabnine_cloud_port": null,
|
||||||
|
"cloud_whitelist": [],
|
||||||
|
"api_key": "luozatreywlmxtemketqntvkejstnw",
|
||||||
|
"api_key_service_level": "Cloud",
|
||||||
|
"api_base_url": null,
|
||||||
|
"local_enabled": "Unset",
|
||||||
|
"disable_local_when_using_battery": false,
|
||||||
|
"hide_deep_information_message": false,
|
||||||
|
"enable_power_saving_mode": false,
|
||||||
|
"rate_limit_interval_seconds": null,
|
||||||
|
"rate_limit_amount": null
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"clients":
|
||||||
|
{
|
||||||
|
"pyls":
|
||||||
|
{
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"rls":
|
||||||
|
{
|
||||||
|
"auto_show_diagnostics_panel_level": 1,
|
||||||
|
"command":
|
||||||
|
[
|
||||||
|
"/home/bauer/.cargo/bin/rustup",
|
||||||
|
"run",
|
||||||
|
"nightly",
|
||||||
|
"rls"
|
||||||
|
],
|
||||||
|
"diagnostics_highlight_style": "underline",
|
||||||
|
"enabled": true,
|
||||||
|
"languageId": "rust",
|
||||||
|
"scopes":
|
||||||
|
[
|
||||||
|
"source.rust"
|
||||||
|
],
|
||||||
|
"syntaxes":
|
||||||
|
[
|
||||||
|
"Packages/Rust/Rust.sublime-syntax",
|
||||||
|
"Packages/Rust Enhanced/RustEnhanced.sublime-syntax"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -5,8 +5,23 @@
|
|||||||
],
|
],
|
||||||
"installed_packages":
|
"installed_packages":
|
||||||
[
|
[
|
||||||
"Anaconda",
|
"bioSyntax",
|
||||||
"Gruvbox Dark",
|
"Color Highlight",
|
||||||
|
"ColorPicker",
|
||||||
|
"CWL Syntax Highlighting",
|
||||||
|
"gruvbox",
|
||||||
|
"Hermes",
|
||||||
|
"Incomprehensible Ex",
|
||||||
|
"LaTeX Snippets",
|
||||||
"LaTeXTools",
|
"LaTeXTools",
|
||||||
|
"LSP",
|
||||||
|
"MarkdownPreview",
|
||||||
|
"NeoVintageous",
|
||||||
|
"Package Control",
|
||||||
|
"RestructuredText Improved",
|
||||||
|
"rsub",
|
||||||
|
"Rust Enhanced",
|
||||||
|
"SideBarEnhancements",
|
||||||
|
"TabNine"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
{
|
{
|
||||||
|
"auto_complete": true,
|
||||||
"color_scheme": "Packages/gruvbox/gruvbox (Dark) (Medium).sublime-color-scheme",
|
"color_scheme": "Packages/gruvbox/gruvbox (Dark) (Medium).sublime-color-scheme",
|
||||||
|
"detect_indentation": false,
|
||||||
|
"dictionary": "Packages/Language - English/en_US.dic",
|
||||||
"font_face": "Hack for Powerline Regular",
|
"font_face": "Hack for Powerline Regular",
|
||||||
"font_size": 12,
|
"font_size": 12,
|
||||||
"hot_exit": false,
|
"hot_exit": false,
|
||||||
@@ -8,6 +11,7 @@
|
|||||||
"RestructuredText",
|
"RestructuredText",
|
||||||
"Rust",
|
"Rust",
|
||||||
"Six",
|
"Six",
|
||||||
|
"TabNine",
|
||||||
"Vintage",
|
"Vintage",
|
||||||
"Vintageous"
|
"Vintageous"
|
||||||
],
|
],
|
||||||
@@ -19,10 +23,14 @@
|
|||||||
100,
|
100,
|
||||||
120
|
120
|
||||||
],
|
],
|
||||||
|
"line_numbers": true,
|
||||||
|
"spell_check": true,
|
||||||
"tab_size": 4,
|
"tab_size": 4,
|
||||||
"theme": "gruvbox.sublime-theme",
|
"theme": "gruvbox.sublime-theme",
|
||||||
"translate_tabs_to_spaces": true,
|
"translate_tabs_to_spaces": true,
|
||||||
"viewer": "zathura",
|
"viewer": "zathura",
|
||||||
"vintageous_use_ctrl_keys": null,
|
"vintage_start_in_command_mode": true,
|
||||||
"vintageous_use_super_keys": null
|
"vintageous_use_ctrl_keys": false,
|
||||||
|
"vintageous_use_super_keys": false,
|
||||||
|
"wrap_width": 80
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
<snippet>
|
||||||
|
<content><![CDATA[
|
||||||
|
\documentclass[11pt,a4paper]{article}
|
||||||
|
\usepackage[latin1]{inputenc}
|
||||||
|
\usepackage[ngerman, english]{babel}
|
||||||
|
\usepackage{amsmath}
|
||||||
|
\usepackage{amsfonts}
|
||||||
|
\usepackage{amssymb}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\usepackage{microtype}
|
||||||
|
\usepackage[binary-units = true]{siunitx}
|
||||||
|
\usepackage[version=4]{mhchem}
|
||||||
|
\usepackage[left=2.50cm, right=2.50cm, top=2.00cm, bottom=2.00cm]{geometry}
|
||||||
|
%\usepackage{todonotes}
|
||||||
|
\usepackage{float}
|
||||||
|
|
||||||
|
\usepackage[backend=bibtex8,autocite = superscript, citestyle=numeric-comp,sorting=none]{biblatex}
|
||||||
|
%\addbibresource{library.bib}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\author{Daniel Bauer}
|
||||||
|
\title{}
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\begin{document}
|
||||||
|
${1:text}
|
||||||
|
\end{document}
|
||||||
|
]]></content>
|
||||||
|
<tabTrigger>latextemplate</tabTrigger>
|
||||||
|
<scope>text.tex.latex</scope>
|
||||||
|
</snippet>
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user