Skip to content

Commit aa1749c

Browse files
committed
first commit
0 parents  commit aa1749c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+5382
-0
lines changed

Diff for: .Brewfile

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
tap "homebrew/cask-fonts" if OS.mac? # for font-jetbrains-mono-nerd-font
2+
3+
cask_args appdir: "~/Applications", require_sha: true
4+
5+
brew "atuin"
6+
brew "bat"
7+
brew "black"
8+
brew "boost"
9+
brew "clang-format"
10+
brew "cmake"
11+
brew "curl"
12+
brew "difftastic"
13+
brew "fd" # for telescope.nvim
14+
brew "ffmpeg" # for youtube-dl
15+
brew "fzf"
16+
brew "gh"
17+
brew "git-delta"
18+
brew "graphviz"
19+
brew "gzip"
20+
brew "htop"
21+
# brew "httrack"
22+
brew "hyperfine"
23+
brew "jq"
24+
brew "ripgrep"
25+
brew "libarchive"
26+
brew "libgit2"
27+
brew "llvm" # clangd clang-format clang-tidy
28+
brew "lsd"
29+
brew "lua-language-server"
30+
# brew "mysql" # for mysqlclient of Python
31+
brew "ninja"
32+
brew "neomutt"
33+
brew "neovim"
34+
brew "node"
35+
brew "poetry"
36+
brew "python"
37+
brew "python-lsp-server"
38+
brew "starship"
39+
brew "subversion" # for font-source-code-pro-for-powerline
40+
brew "tmux"
41+
brew "topgrade"
42+
brew "trash" if OS.mac?
43+
brew "universal-ctags"
44+
# brew "valgrind"
45+
brew "vhs"
46+
brew "w3m"
47+
brew "wget"
48+
brew "wrk"
49+
brew "youtube-dl"
50+
51+
# cask "1password"
52+
cask "1password-cli"
53+
cask "alacritty"
54+
# cask "balenaetcher" # Flash OS images to SD cards & USB drives, safely and easily.
55+
cask "deepl"
56+
cask "discord"
57+
# cask "figma"
58+
cask "font-jetbrains-mono-nerd-font" # for alacritty
59+
cask "font-source-code-pro-for-powerline"
60+
cask "google-chrome"
61+
# cask "google-cloud-sdk"
62+
cask "jordanbaird-ice"
63+
cask "languagetool"
64+
# cask "mactex-no-gui"
65+
cask "postman"
66+
cask "raycast"
67+
cask "rectangle"
68+
cask "signal"
69+
cask "standard-notes"
70+
cask "visual-studio-code"

Diff for: .config/.gitignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
!alacritty
2+
!atuin
3+
!git
4+
!helix
5+
!neomutt
6+
!nvim
7+
!psync
8+
!starship.toml
9+
!sway
10+
!tmux
11+
!topgrade
12+
!vim
13+
!waybar
14+
!zellij
15+
!zsh
16+
17+
!1Password
18+
1Password/*
19+
!1Password/ssh
20+
1Password/ssh/*
21+
!1Password/ssh/agent.toml
22+
23+
!Code
24+
Code/*
25+
!Code/User
26+
Code/User/*
27+
!Code/User/settings.json
28+
!Code/User/keybindings.json

Diff for: .config/1Password/ssh/agent.toml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[[ssh-keys]]
2+
item = "GitHub"
3+
4+
[[ssh-keys]]
5+
item = "ThinkPad"
6+
7+
[[ssh-keys]]
8+
item = "GCC"
9+
10+
[[ssh-keys]]
11+
item = "Git Signing"

Diff for: .config/Code/User/keybindings.json

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
// Place your key bindings in this file to override the defaultsauto[]
2+
[
3+
{
4+
"key": "ctrl+g",
5+
"command": "editor.action.addSelectionToNextFindMatch",
6+
"when": "editorFocus"
7+
},
8+
{
9+
"key": "cmd+d",
10+
"command": "-editor.action.addSelectionToNextFindMatch",
11+
"when": "editorFocus"
12+
},
13+
{
14+
"key": "ctrl+shift+g",
15+
"command": "-workbench.view.scm",
16+
"when": "workbench.scm.active"
17+
},
18+
{
19+
"key": "ctrl+shift+g",
20+
"command": "-workbench.view.scm",
21+
"when": "workbench.scm.active && !gitlens:disabled && config.gitlens.keymap == 'chorded'"
22+
},
23+
{
24+
"key": "ctrl+shift+g",
25+
"command": "editor.action.addSelectionToPreviousFindMatch"
26+
},
27+
{
28+
"key": "cmd+j",
29+
"command": "latex-workshop.synctex",
30+
"when": "editorTextFocus && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace && editorLangId == 'latex'"
31+
},
32+
{
33+
"key": "alt+cmd+j",
34+
"command": "-latex-workshop.synctex",
35+
"when": "editorTextFocus && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace && editorLangId == 'latex'"
36+
},
37+
{
38+
"key": "cmd+b",
39+
"command": "latex-workshop.build",
40+
"when": "!config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/"
41+
},
42+
{
43+
"key": "alt+cmd+b",
44+
"command": "-latex-workshop.build",
45+
"when": "!config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/"
46+
},
47+
{
48+
"key": "cmd+m",
49+
"command": "-markdown.extension.editing.toggleMath",
50+
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^quarto$/"
51+
},
52+
{
53+
"key": "shift+cmd+backspace",
54+
"command": "-search.searchEditor.action.deleteFileResults",
55+
"when": "inSearchEditor"
56+
},
57+
{
58+
"key": "shift+cmd+b",
59+
"command": "-workbench.action.tasks.build",
60+
"when": "taskCommandsRegistered"
61+
},
62+
// Navigation around windows
63+
{
64+
"key": "ctrl+j",
65+
"command": "workbench.action.navigateDown",
66+
},
67+
{
68+
"key": "ctrl+k",
69+
"command": "workbench.action.navigateUp",
70+
},
71+
{
72+
"key": "ctrl+h",
73+
"command": "workbench.action.navigateLeft",
74+
},
75+
{
76+
"key": "ctrl+l",
77+
"command": "workbench.action.navigateRight",
78+
},
79+
{
80+
"key": "ctrl+j",
81+
"command": "workbench.action.terminal.focus"
82+
},
83+
{
84+
"key": "ctrl+k",
85+
"command": "workbench.action.focusActiveEditorGroup",
86+
"when": "terminalFocus"
87+
},
88+
{
89+
"key": "ctrl+\\",
90+
"command": "workbench.action.terminal.split",
91+
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"
92+
},
93+
{
94+
"key": "cmd+\\",
95+
"command": "-workbench.action.terminal.split",
96+
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"
97+
}
98+
]

Diff for: .config/Code/User/settings.json

+183
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
{
2+
"C_Cpp.autocompleteAddParentheses": true,
3+
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
4+
"cmake.showOptionsMovedNotification": false,
5+
"editor.accessibilitySupport": "off",
6+
"editor.formatOnSave": true,
7+
"editor.inlineSuggest.enabled": true,
8+
"editor.minimap.enabled": false,
9+
"editor.rulers": [80],
10+
"editor.stickyScroll.enabled": true,
11+
"editor.renderWhitespace": "all",
12+
"files.autoSave": "onFocusChange",
13+
"files.insertFinalNewline": true,
14+
"files.trimFinalNewlines": true,
15+
"files.trimTrailingWhitespace": true,
16+
"files.associations": {
17+
"*.def": "cpp"
18+
},
19+
"github.copilot.enable": {
20+
"*": true,
21+
"plaintext": true,
22+
"markdown": true,
23+
"scminput": false,
24+
"latex": false
25+
},
26+
"gitlens.hovers.enabled": false,
27+
"indentRainbow.ignoreErrorLanguages": ["latex"],
28+
"javascript.inlayHints.parameterNames.enabled": "all",
29+
"latex-workshop.latex.autoBuild.run": "onSave",
30+
"latex-workshop.latex.autoClean.run": "onBuilt",
31+
"latex-workshop.latex.outDir": "./latexmk-out",
32+
"latex-workshop.latex.recipes": [
33+
{
34+
"name": "latexmk",
35+
"tools": ["latexmk"]
36+
}
37+
],
38+
"latex-workshop.latex.tools": [
39+
{
40+
"name": "latexmk",
41+
"command": "latexmk",
42+
"args": [
43+
"-synctex=1",
44+
"-interaction=nonstopmode",
45+
"-file-line-error",
46+
"-pdf",
47+
"-outdir=%OUTDIR%",
48+
"%DOC%"
49+
],
50+
"env": {}
51+
}
52+
],
53+
"latex-workshop.message.error.show": false,
54+
"latex-workshop.message.warning.show": false,
55+
"latex-workshop.view.pdf.invert": 1,
56+
"latex-workshop.view.pdf.viewer": "tab",
57+
"redhat.telemetry.enabled": false,
58+
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font",
59+
"todo-tree.general.tags": ["BUG", "HACK", "FIXME", "TODO", "STEP"],
60+
"todo-tree.highlights.defaultHighlight": {
61+
"foreground": "yellow",
62+
"fontStyle": "italic",
63+
"fontWeight": "bold",
64+
"type": "text"
65+
},
66+
"typescript.inlayHints.parameterNames.enabled": "all",
67+
"vim.easymotion": true,
68+
"vim.incsearch": true,
69+
"vim.hlsearch": true,
70+
"vim.leader": "<space>",
71+
"vim.useSystemClipboard": true,
72+
"vim.vimrc.enable": true,
73+
"vim.vimrc.path": "$HOME/.config/vim/vimrc",
74+
// To improve performance of vscode vim
75+
"extensions.experimental.affinity": {
76+
"vscodevim.vim": 1
77+
},
78+
"vim.normalModeKeyBindings": [
79+
{
80+
"before": ["m", "m"],
81+
"commands": ["bookmarks.toggle"]
82+
},
83+
{
84+
"before": ["m", "n"],
85+
"commands": ["bookmarks.jumpToNext"]
86+
},
87+
{
88+
"before": ["m", "p"],
89+
"commands": ["bookmarks.jumpToPrevious"]
90+
},
91+
{
92+
"before": ["m", "a"],
93+
"commands": ["bookmarks.list"]
94+
},
95+
{
96+
"before": ["<leader>", "g", "n"],
97+
"commands": ["workbench.action.editor.nextChange"]
98+
},
99+
{
100+
"before": ["<leader>", "g", "p"],
101+
"commands": ["workbench.action.editor.previousChange"]
102+
},
103+
{
104+
"before": ["<leader>", "l"],
105+
"commands": ["workbench.action.nextEditor"]
106+
},
107+
{
108+
"before": ["<leader>", "h"],
109+
"commands": ["workbench.action.previousEditor"]
110+
},
111+
{
112+
"before": ["<leader>", "w"],
113+
"commands": ["workbench.action.closeActiveEditor"]
114+
},
115+
{
116+
"before": ["<leader>", "s"],
117+
"commands": ["workbench.action.toggleSidebarVisibility"]
118+
},
119+
{
120+
"before": ["<leader>", "o"],
121+
"commands": ["workbench.action.quickOpen"]
122+
},
123+
{
124+
"before": ["<leader>", "t"],
125+
"commands": ["workbench.action.togglePanel"]
126+
},
127+
{
128+
"before": ["<leader>", "f"],
129+
"commands": ["workbench.action.findInFiles"]
130+
}
131+
],
132+
"window.commandCenter": false,
133+
"workbench.colorTheme": "Material Theme Ocean",
134+
"workbench.editorAssociations": {
135+
"*.pdf": "latex-workshop-pdf-hook"
136+
},
137+
"workbench.list.horizontalScrolling": true,
138+
"workbench.tree.indent": 16,
139+
"workbench.tree.renderIndentGuides": "always",
140+
"[c]": {
141+
"editor.tabSize": 8,
142+
"editor.indentSize": 2,
143+
"editor.detectIndentation": false
144+
},
145+
"[cpp]": {
146+
"editor.tabSize": 8,
147+
"editor.indentSize": 2,
148+
"editor.detectIndentation": false
149+
},
150+
"[latex]": {
151+
"editor.formatOnPaste": false,
152+
"editor.suggestSelection": "recentlyUsedByPrefix",
153+
"editor.wordWrap": "bounded"
154+
},
155+
"cSpell.userWords": ["Poac", "Subcmd"],
156+
"remote.autoForwardPortsSource": "hybrid",
157+
"explorer.confirmDelete": false,
158+
"gitlens.codeLens.enabled": false,
159+
"gitlens.blame.highlight.enabled": false,
160+
"files.exclude": {
161+
"**/.tags": true,
162+
"**/*ChangeLog*": true
163+
},
164+
"cursor.cpp.disabledLanguages": ["scminput", "latex"],
165+
"terminal.integrated.profiles.osx": {
166+
"tmux": {
167+
"path": "tmux",
168+
"args": ["new-session", "-A", "-s", "${workspaceFolder}"]
169+
}
170+
},
171+
"terminal.integrated.profiles.linux": {
172+
"tmux": {
173+
"path": "tmux",
174+
"args": ["new-session", "-A", "-s", "${workspaceFolder}"]
175+
}
176+
},
177+
"terminal.integrated.macOptionClickForcesSelection": true,
178+
"terminal.integrated.persistentSessionReviveProcess": "onExitAndWindowClose",
179+
"[toml]": {
180+
"editor.formatOnSave": false
181+
},
182+
"C_Cpp.intelliSenseEngine": "disabled"
183+
}

0 commit comments

Comments
 (0)