" general stuff colorscheme delek let g:mapleader = "," syntax on set ignorecase set smartcase " Include only uppercase words with uppercase search term set hlsearch set tabstop=2 set shiftwidth=2 set softtabstop=2 set expandtab set scrolloff=5 " Scroll 5 lines from top/bottom set list " show tabs and EOL set number " Show line numbers " status line set laststatus=2 set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ [BUFFER=%n]\ %{strftime('%c')} " WSL Yank support let s:clip = '/mnt/c/Windows/System32/clip.exe' if executable(s:clip) augroup WSLYank autocmd! autocmd TextYankPost * if v:event.operator ==# 'y' | call system(s:clip, @0) | endif augroup END endif map "=p :r !powershell.exe -Command Get-Clipboard map! = :r !powershell.exe -Command Get-Clipboard noremap "+p :exe 'norm a'.system('/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -Command Get-Clipboard')