Add minimalistic vimrc for later
parent
2b65e1cf3d
commit
7191312010
|
@ -0,0 +1,4 @@
|
||||||
|
vmap <C-c> :<Esc>`>a<CR><Esc>mx`<i<CR><Esc>my'xk$v'y!xclip -selection c<CR>u
|
||||||
|
map <Insert> :set paste<CR>i<CR><CR><Esc>k:.!xclip -o<CR>JxkJx:set nopaste<CR>
|
||||||
|
" Reopen the last edited position in files
|
||||||
|
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
Loading…
Reference in New Issue