Last active
April 26, 2019 03:13
-
-
Save syachi/5bc1b0dc258d6f85e21ebd36b2e120a4 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 on | |
set mouse-=a | |
set tabstop=4 | |
set autoindent | |
set expandtab | |
set shiftwidth=4 | |
if exists('&ambiwidth') | |
set ambiwidth=double | |
endif | |
nmap n nzz | |
nmap N Nzz | |
nmap * *zz | |
nmap # #zz | |
nmap g* g*zz | |
nmap g# g#zz | |
augroup vimrcEx | |
au BufRead * if line("'\"") > 0 && line("'\"") <= line("$") | | |
\ exe "normal g`\"" | endif | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment