Skip to content

Instantly share code, notes, and snippets.

@tysg
Last active February 21, 2019 11:55
Show Gist options
  • Save tysg/2d520eaa2e9e872446f64ce695bb6585 to your computer and use it in GitHub Desktop.
Save tysg/2d520eaa2e9e872446f64ce695bb6585 to your computer and use it in GitHub Desktop.
my .vimrc
set enc=utf-8
inoremap jk <ESC>
syntax on
filetype indent plugin on
set lbr nu et ts=3 sw=3 ai si sc bs=2 wb nobk vb so=1 ru ls=2 ww=b,s,h,l,<,>,[,]
set com=sr:/*,mb:*,el:*/,://,b:#,:%,:XCOMM,n:>,fb:-,n:\:
set nojs vi=""
set mps+=<:>
set clipboard=autoselect,exclude:.*
ia teh the
ia hte the
ia oyu you
ia psvm public static void main(String[] args) {<CR>}<UP><END>
ia sop System.out.println
ia imv #include <stdio.h><CR><CR>int main(void) {<CR>return 0;<CR>}<UP><UP><END>
ia sf scanf
ia pf printf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment