1
1
Fork 0

Just include some new things

This commit is contained in:
Kenwood 2025-05-25 14:00:50 -04:00
parent ce836a568c
commit a23e71ab5a
3 changed files with 33 additions and 0 deletions

25
.config/nvim/init.vim Normal file
View File

@ -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 <leader>f :Files<CR> " Fuzzy file search

View File

@ -0,0 +1,2 @@
# LaTeX Import path
export TEXINPUTS=/home/joe/College/SNHU/LaTeX:$(kpsepath tex | tr ':' '\n' | head -n 1):

6
.zshrc
View File

@ -8,6 +8,12 @@ path+=("$HOME/.local/bin")
path+=("$HOME/Pictures/Furry/Scripts") path+=("$HOME/Pictures/Furry/Scripts")
export PATH 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. # 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 if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"