syntax enable set expandtab set tabstop=2 set shiftwidth=2 set softtabstop=2 set autoindent set smartindent set number set showmatch set incsearch set matchtime=1 set ignorecase nnoremap :nohl noremap j gj noremap k gk noremap Y y$ nnoremap :nohl nnoremap i nnoremap q :q nnoremap di_ T_dt_ set list set listchars=tab:»-,trail:-,nbsp:%,eol:↲ set fileencoding=utf-8 set pastetoggle= autocmd FileType go setlocal noexpandtab if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif endif set cursorline highlight CursorLine cterm=underline ctermfg=NONE ctermbg=NONE "highlight CursorLine cterm=reverse ctermfg=NONE ctermbg=NONE "highlight CursorLine cterm=NONE ctermfg=white ctermbg=NONE highlight CursorLineNr term=bold cterm=NONE ctermfg=yellow ctermbg=NONE highlight Comment ctermfg=yellow set mouse= inoremap jk inoremap kj