diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..cfca3b6 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,25 @@ +set number +syntax on +set expandtab shiftwidth=4 tabstop=4 +set autoindent +set clipboard=unnamedplus + +" Plugins with vim-plug +call plug#begin('~/.vim/plugged') + +Plug 'psf/black', { 'do': ':!pip install black' } +Plug 'dense-analysis/ale' " For linting and format-on-save +Plug 'vim-python/python-syntax' " Improved Python syntax highlighting +Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } " Fuzzy finder +Plug 'junegunn/fzf.vim' +Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " Better syntax + +call plug#end() + +" Enable ALE for linting and formatting +let g:ale_fix_on_save = 1 +let g:ale_linters = { 'python': ['flake8'] } +let g:ale_fixers = { 'python': ['black'] } + +" Keybindings +nnoremap f :Files " Fuzzy file search diff --git a/.config/plasma-workspace/latex.sh b/.config/plasma-workspace/latex.sh new file mode 100755 index 0000000..781304e --- /dev/null +++ b/.config/plasma-workspace/latex.sh @@ -0,0 +1,2 @@ +# LaTeX Import path +export TEXINPUTS=/home/joe/College/SNHU/LaTeX:$(kpsepath tex | tr ':' '\n' | head -n 1): diff --git a/.zshrc b/.zshrc index 1a76186..ff03b5c 100644 --- a/.zshrc +++ b/.zshrc @@ -8,6 +8,12 @@ path+=("$HOME/.local/bin") path+=("$HOME/Pictures/Furry/Scripts") export PATH +# LaTeX Import path +export TEXINPUTS=/home/joe/College/SNHU/LaTeX:$(kpsepath tex | tr ':' '\n' | head -n 1): + +# Not sure why but, needed to path these manually for ruby bin +path+=("/home/joe/.local/share/gem/ruby/3.3.0/bin") + # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"