set clipboard^=unnamedplus " system clipboard (requires +clipboard)
set number " enable line numbers
"set expandtab " Tab key inserts spaces not tabs
"set softtabstop=4 " spaces to enter for each tab
set shiftwidth=4 " amount of spaces for indentation
set textwidth=70
set backspace=2
set mouse=a
syntax enable
function! <SID>ranger()
let l:temp = tempname()
execute 'silent !st -e ranger --choosefiles='.shellescape(l:temp).' $PWD'
if !filereadable(temp)
redraw!
return
endif
let l:names = readfile(l:temp)
if empty(l:names)
redraw!
return
endif
execute 'edit '.fnameescape(l:names[0])
for l:name in l:names[1:]
execute 'argadd '.fnameescape(l:name)
endfor
redraw!
endfunction
call plug#begin()
Plug 'terryma/vim-multiple-cursors'
Plug 'preservim/NERDTree'
Plug 'jiangmiao/auto-pairs'
call plug#end()