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