Last active
July 15, 2020 02:03
-
-
Save QinMing/d637a18dbff634e5e969 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 | |
filetype plugin indent on | |
" show existing tab with xx spaces width | |
set tabstop=4 | |
" when indenting with '>', use xx spaces width | |
set shiftwidth=4 | |
" On pressing tab, insert xx spaces | |
set expandtab | |
" Enable mouse use in all modes. So that when ssh into here, can use mouse to activate visual mode | |
"set mouse=a | |
" http://vim.wikia.com/wiki/Disable_automatic_comment_insertion | |
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o | |
"set nu | |
" Hightlight search | |
set hlsearch | |
" Enable multi-byte support | |
set encoding=utf-8 | |
" Encryption | |
set cm=blowfish2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment