需要排序的最短子陣列長度
阿新 • • 發佈:2021-10-15
_vimrc
" Startup {{{ filetype indent plugin on " vim 檔案摺疊方式為 marker augroup ft_vim au! au FileType vim setlocal foldmethod=marker augroup END " }}} " General {{{ set nocompatible set nobackup set noswapfile set history=1024 set autochdir set whichwrap=b,s,<,>,[,] set nobomb set backspace=indent,eol,start whichwrap+=<,>,[,] " Vim 的預設暫存器和系統剪貼簿共享 set clipboard+=unnamed " 設定 alt 鍵不對映到選單欄 set winaltkeys=no " }}} " Lang & Encoding {{{ set fileencodings=utf-8,gbk2312,gbk,gb18030,cp936 set encoding=utf-8 set langmenu=zh_CN let $LANG = 'en_US.UTF-8' "language messages zh_CN.UTF-8 " }}} " GUI {{{ colorscheme Tomorrow-Night source $VIMRUNTIME/delmenu.vim source $VIMRUNTIME/menu.vim set cursorline set hlsearch set number " 視窗大小 set lines=35 columns=140 " 分割出來的視窗位於當前視窗下邊/右邊 set splitbelow set splitright "不顯示工具/選單欄 set guioptions-=T set guioptions-=m set guioptions-=L set guioptions-=r set guioptions-=b " 使用內建 tab 樣式而不是 gui set guioptions-=e set nolist " set listchars=tab:▶\ ,eol:¬,trail:·,extends:>,precedes:< set guifont=Inconsolata:h12:cANSI " }}} " Format {{{ set autoindent set smartindent set tabstop=4 set expandtab set softtabstop=4 set foldmethod=indent syntax on " }}}