Compare commits
6 Commits
c5a6a73bf3
...
1290a8b561
Author | SHA1 | Date | |
---|---|---|---|
1290a8b561 | |||
de1e3e5f56 | |||
18d2ffdd4b | |||
d562ac5f99 | |||
2883030476 | |||
fa4f9f9d93 |
4
programs
4
programs
@ -97,8 +97,8 @@ blender
|
|||||||
audacity
|
audacity
|
||||||
syncthing
|
syncthing
|
||||||
inkscape
|
inkscape
|
||||||
python-lsp-server
|
pyright
|
||||||
python-lsp-black
|
python-black
|
||||||
typescript
|
typescript
|
||||||
typescript-language-server
|
typescript-language-server
|
||||||
bash-language-server
|
bash-language-server
|
||||||
|
@ -55,6 +55,7 @@ end
|
|||||||
# listenbrainz
|
# listenbrainz
|
||||||
function lstb; qbprof lstb; end
|
function lstb; qbprof lstb; end
|
||||||
function work; qbprof work; end
|
function work; qbprof work; end
|
||||||
|
function chat; qbprof chat; end
|
||||||
|
|
||||||
# git stuff
|
# git stuff
|
||||||
abbr -a -- gs git status
|
abbr -a -- gs git status
|
||||||
|
@ -23,7 +23,7 @@ source $XDG_CONFIG_HOME/nvim/vimspector.vim
|
|||||||
" bracket closing
|
" bracket closing
|
||||||
Plug 'jiangmiao/auto-pairs'
|
Plug 'jiangmiao/auto-pairs'
|
||||||
let g:AutoPairsShortcutToggle = "@@"
|
let g:AutoPairsShortcutToggle = "@@"
|
||||||
let g:AutoPairsFlyMode = 1
|
let g:AutoPairsFlyMode = 0
|
||||||
|
|
||||||
" improved error list
|
" improved error list
|
||||||
Plug 'folke/trouble.nvim'
|
Plug 'folke/trouble.nvim'
|
||||||
|
@ -48,22 +48,7 @@ end
|
|||||||
|
|
||||||
-- settings per server (overrides defaults)
|
-- settings per server (overrides defaults)
|
||||||
local servers = {
|
local servers = {
|
||||||
pylsp = {
|
pyright = {},
|
||||||
settings = {
|
|
||||||
pylsp = {
|
|
||||||
plugins = {
|
|
||||||
pydocstyle = {
|
|
||||||
enabled = true,
|
|
||||||
convention = "numpy",
|
|
||||||
addIgnore = {"D100", "D101", "D102", "D103" ,"D105"}
|
|
||||||
},
|
|
||||||
black = {
|
|
||||||
enabled = true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
clangd = {},
|
clangd = {},
|
||||||
tsserver = {},
|
tsserver = {},
|
||||||
bashls = {},
|
bashls = {},
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
snippet problem "template for problem notes" bi
|
snippet problem "template for problem notes" bi
|
||||||
#import "../templates/problems.typ": template, source_code, status
|
#import "/templates/problems.typ": template, source_code, status, lref
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
problem_url: "$1",
|
problem_url: "$1",
|
||||||
title: "$2",
|
title: "$2",
|
||||||
@ -9,7 +9,7 @@ snippet problem "template for problem notes" bi
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet sfd "template for lecture notes" bi
|
snippet sfd "template for lecture notes" bi
|
||||||
#import "../../../templates/sfd.typ": template
|
#import "/templates/sfd.typ": template, lref
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
lecture_url: "$1",
|
lecture_url: "$1",
|
||||||
title: "$2",
|
title: "$2",
|
||||||
@ -18,7 +18,7 @@ snippet sfd "template for lecture notes" bi
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet contest "template for contest problems" bi
|
snippet contest "template for contest problems" bi
|
||||||
#import "../../templates/contest.typ": template, source_code, status
|
#import "/templates/contest.typ": template, source_code, status, lref
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
stat: "${2:incomplete}",
|
stat: "${2:incomplete}",
|
||||||
@ -27,7 +27,7 @@ snippet contest "template for contest problems" bi
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet algs "template for compsci notes" bi
|
snippet algs "template for compsci notes" bi
|
||||||
#import "../templates/algs.typ": template, source_code
|
#import "/templates/algs.typ": template, source_code, lref
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -35,7 +35,7 @@ snippet algs "template for compsci notes" bi
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet math_prob "template for math problems" bi
|
snippet math_prob "template for math problems" bi
|
||||||
#import "../../../templates/math_prob.typ": template
|
#import "/templates/math_prob.typ": template, lref
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -43,7 +43,7 @@ snippet math_prob "template for math problems" bi
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet proj "template for project documents" bi
|
snippet proj "template for project documents" bi
|
||||||
#import "../../templates/proj.typ": template
|
#import "/templates/proj.typ": template, lref
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
@ -58,6 +58,10 @@ snippet link "link" w
|
|||||||
#link("${1}")[${2}]
|
#link("${1}")[${2}]
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet lref "refer to another knowledge base doc" w
|
||||||
|
#lref("/${1}")[${2}]
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet fig "create new figure" bi
|
snippet fig "create new figure" bi
|
||||||
#figure(
|
#figure(
|
||||||
image("fig/`!v expand("%:r")`/$1.svg"),
|
image("fig/`!v expand("%:r")`/$1.svg"),
|
||||||
|
@ -22,6 +22,7 @@ rm -rf \
|
|||||||
~/.electron-gyp \
|
~/.electron-gyp \
|
||||||
~/.yarn \
|
~/.yarn \
|
||||||
~/.yarnrc \
|
~/.yarnrc \
|
||||||
|
~/.node_repl_history \
|
||||||
~/.vimspector.log
|
~/.vimspector.log
|
||||||
|
|
||||||
# ipython supports XDG_CONFIG just not by default
|
# ipython supports XDG_CONFIG just not by default
|
||||||
|
@ -31,7 +31,7 @@ export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
|
|||||||
# go
|
# go
|
||||||
export GOPATH="$XDG_DATA_HOME"/go
|
export GOPATH="$XDG_DATA_HOME"/go
|
||||||
# cargo
|
# cargo
|
||||||
export CARGI_HOME="$XDG_DATA_HOME/cargo"
|
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||||
# npm
|
# npm
|
||||||
export npm_config_userconfig=$XDG_CONFIG_HOME/npm/config
|
export npm_config_userconfig=$XDG_CONFIG_HOME/npm/config
|
||||||
export npm_config_cache=$XDG_CACHE_HOME/npm
|
export npm_config_cache=$XDG_CACHE_HOME/npm
|
||||||
@ -69,6 +69,9 @@ else
|
|||||||
. "$XDG_CONFIG_HOME"/dot_profile
|
. "$XDG_CONFIG_HOME"/dot_profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Typst root
|
||||||
|
export TYPST_ROOT="$HOME/nt"
|
||||||
|
|
||||||
# Add .local/bin to path
|
# Add .local/bin to path
|
||||||
export PATH="$PATH":~/.local/bin
|
export PATH="$PATH":~/.local/bin
|
||||||
export PATH="$PATH":~/.local/bin/deskutils
|
export PATH="$PATH":~/.local/bin/deskutils
|
||||||
|
Loading…
x
Reference in New Issue
Block a user