" Use 4 spaces for indentation set tabstop=4 set shiftwidth=4 set softtabstop=4 set expandtab set number " Copy yanked text to the Wayland system clipboard using wl-copy. if executable('wl-copy') augroup wayland_clipboard autocmd! autocmd TextYankPost * if v:event.operator ==# 'y' | \ call system('wl-copy', getreg(v:event.regname ==# '' ? '"' : v:event.regname)) | \ endif augroup END endif