Telegram Discord GitHub Instagram Main

Info

.vimrc


" =========================
" General
" =========================
syntax enable
set ruler
let skip_defaults_vim = 1
set showcmd
set wildmenu
set display=truncate
set incsearch

set hlsearch                  " ADDED: highlight search results
set ignorecase                " ADDED: case-insensitive search
set smartcase                 " ADDED: unless uppercase used
set showmatch                 " ADDED: jump to matching bracket/tag

" =========================
" Programming settings
" =========================
set shiftwidth=4
set autoindent
set tabstop=4
set smartindent
set number
set relativenumber

set expandtab                 " ADDED: tabs become spaces
set softtabstop=4             " ADDED: backspace/delete behaves naturally

filetype indent on     " FIXED: command, not 'set'

" =========================
" Plugins
" =========================
call plug#begin()

Plug 'lervag/vimtex', { 'tag': 'v2.15' }     " FIXED: removed duplicate
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && npx --yes yarn install' }

Plug 'andymass/vim-matchup'   " ADDED: better matching for HTML tags
Plug 'alvan/vim-closetag'     " ADDED: auto-close HTML tags

call plug#end()

" =========================
" Markdown settings
" =========================
let g:mkdp_auto_start = 1

" =========================
" HTML settings
" =========================
let g:closetag_filenames = '*.html,*.xhtml,*.phtml'   " ADDED

" =========================
" Optional toggle for whitespace
" =========================
nnoremap  :set list!  " ADDED: press F2 only when you want to inspect tabs

let g:matchup_matchparen_enabled = 0 " disable fucking highlighting
        

aurlist.txt


crow-translate
logmein-hamachi
neofetch
protonup-qt
python-inputs
python-steam
python-vdf
snapd
        

pkglist.txt


alsa-firmware
alsa-plugins
python-pyxdg
python-six
qbittorrent
qt5-tools
rebuild-detector
reflector
reflector-simple
rp-pppoe
rsync
rtkit
s-nail
sddm-kcm
sg3_utils
smartmontools
sof-firmware
spectacle