Init repository
This commit is contained in:
15
.vimrc
Normal file
15
.vimrc
Normal file
@@ -0,0 +1,15 @@
|
||||
" Use 4 spaces for indentation
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set expandtab
|
||||
|
||||
" 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
|
||||
Reference in New Issue
Block a user