Last active
May 24, 2020 06:23
-
-
Save nna774/1b472a51442531b5a3b48346bfab7440 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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