Created
November 23, 2021 01:28
-
-
Save BbsonLin/83b6cb0348cc2ea609cbf5391d59ac70 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
set nu | |
set cursorline | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set mouse=a | |
" Color configuration | |
set bg=dark | |
hi LineNr cterm=bold ctermfg=DarkGrey ctermbg=NONE | |
hi CursorLineNr cterm=bold ctermfg=Green ctermbg=NONE | |
" Return to last edit position when opening files (You want this!) | |
autocmd BufReadPost * | |
\ if line("'\"") > 0 && line("'\"") <= line("$") | | |
\ exe "normal! g`\"" | | |
\ endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment