Skip to content

Instantly share code, notes, and snippets.



Last active May 24, 2020
What would you like to do?
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 <ESC><ESC> :nohl<CR>
noremap j gj
noremap k gk
noremap Y y$
nnoremap <ESC><ESC> :nohl<CR>
nnoremap <CR> i<CR><Esc>
nnoremap q :q<CR>
nnoremap di_ T_dt_
set list
set listchars=tab-,trail:-,nbsp:%,eol:↲
set fileencoding=utf-8
set pastetoggle=<C-k>
autocmd FileType go setlocal noexpandtab
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | 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 <ESC>
inoremap kj <ESC>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.