diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-02 20:25:06 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-11 08:37:52 +0100 |
commit | 9d1363f2fa33bf590148ece64457272502a310dc (patch) | |
tree | 701d39bc812904731f2594905ea585b78ffd4f35 /user | |
parent | f5af22a8d108c9008b1a2b6c99e65ff910518288 (diff) |
add developer tools
Diffstat (limited to 'user')
-rw-r--r-- | user/VSCodium/User/settings.json | 26 | ||||
-rw-r--r-- | user/readline/inputrc | 1 | ||||
-rw-r--r-- | user/zsh/.zshrc | 8 |
3 files changed, 35 insertions, 0 deletions
diff --git a/user/VSCodium/User/settings.json b/user/VSCodium/User/settings.json new file mode 100644 index 0000000..470101c --- /dev/null +++ b/user/VSCodium/User/settings.json @@ -0,0 +1,26 @@ +{ + "files.insertFinalNewline": true, + + /** UI **/ + "window.zoomLevel": 1, + "workbench.tree.indent": 14, + + // hide inlay hints unless Ctrl+Alt is pressed + "editor.inlayHints.enabled": "offUnlessPressed", + + "editor.mouseWheelZoom": true, + + /** Extension config **/ + "vim.useSystemClipboard": true, + + "better-comments.tags": [ + { + "tag": "todo", + "color": "#FF8C00" + }, + { + "tag": "future", + "color": "#bd93f9" + } + ], +} diff --git a/user/readline/inputrc b/user/readline/inputrc new file mode 100644 index 0000000..b2cc9d6 --- /dev/null +++ b/user/readline/inputrc @@ -0,0 +1 @@ +set editing-mode vi diff --git a/user/zsh/.zshrc b/user/zsh/.zshrc index 72e6425..2e9d521 100644 --- a/user/zsh/.zshrc +++ b/user/zsh/.zshrc @@ -22,7 +22,9 @@ function ls() { } ## Aliases +alias code='codium' alias ls='ls --color=auto --group-directories-first' # see also ls function +alias tokei='tokei -s code -n commas' alias tree='tree -aI .git --dirsfirst' ## Shell variables @@ -49,6 +51,12 @@ export XDG_CACHE_HOME=$HOME/.cache export XDG_CONFIG_HOME=$HOME/.config export EDITOR=vim +export INPUTRC=$XDG_CONFIG_HOME/readline/inputrc +export NPM_CONFIG_PREFIX="$HOME/.local/npm" +export PYTHON_BASIC_REPL=1 # use readline (Python >=3.13 defaults to its own REPL which has no vi keybindings) + +export PATH="$PATH:$HOME/.cargo/bin" +export PATH="$PATH:$NPM_CONFIG_PREFIX/bin" ## Completion autoload -Uz compinit |