Just include some new things

This commit is contained in:
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