aboutsummaryrefslogtreecommitdiff
path: root/laptop/.vimrc
blob: b97e239d383b0edf7ab8d67a46807351eb0b1f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
set mouse-=a

syntax on
set tabstop=4
set shiftwidth=4

set shortmess+=A

set encoding=utf-8

inoremap jj <ESC>
  
set clipboard=unnamed

xnoremap "+y y:call system("wl-copy", @")<cr>
nnoremap "+p :let @"=substitute(system("wl-paste --no-newline"), '<C-v><C-m>', '', 'g')<cr>p