婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁(yè) > 知識(shí)庫(kù) > linux Vim經(jīng)典配置一例

linux Vim經(jīng)典配置一例

熱門(mén)標(biāo)簽:內(nèi)蒙古電信外呼系統(tǒng) 漳州外呼系統(tǒng)怎么樣 地圖標(biāo)注小區(qū)項(xiàng)目入駐 曲阜地圖標(biāo)注app 4s店如何在百度地圖標(biāo)注 凱立德劇院地圖標(biāo)注 哪個(gè)地圖標(biāo)注更清晰 天津人工電銷機(jī)器人費(fèi)用 開(kāi)封400電話辦理價(jià)格
有需要的朋友可以參考下。

復(fù)制代碼
代碼如下:

" This is my _vimrc under windows platform
" and it can be used on *nix too
" all the difference of them is the font setting session
" happy Viming,
" copyLeft (#) Abruzzi John

set linebreak " line break
set nocompatible " no compatible
set history=400 " history
set ruler
set number " line number
set hlsearch " highlight search
set noincsearch " no in C search
set expandtab " expand table
set t_vb= "close bell
set foldmethod=marker
set tabstop=4 " table step
set shiftwidth=4
set nobackup " don't backup
set smarttab " smart table
set smartindent " smart indent
set autoindent " auto indent
set cindent "cindent
set cursorline " hightlight cursor line 高亮光標(biāo)所在行

" set the back space
set backspace=indent,eol,start "這行比較重要,剛接觸vim的朋友會(huì)發(fā)現(xiàn)有時(shí)候backspace鍵刪不了文字

colorscheme desert " color scheme

let Tlist_Use_Right_Window=0 " for tag_list plugin only
let Tlist_File_Fold_Auto_Close=1 " for tag_list plugin only

let g:winManagerWindowLayout="FileExplorer|TagList" " for winmanager

filetype plugin indent on " filetype setting
set completeopt=longest,menu " for code complete

" the following function is used for show the status bar on the buttom
function! CurrectDir()
let curdir = substitute(getcwd(), "", "", "g")
return curdir
endfunction
set statusline=\ [File]\ %F%m%r%h\ %w\ \ [PWD]\ %r%{CurrectDir()}%h\ \ %=[Line]\ %l,%c\ %=\ %P

" this is a setting of font
if has("win32")
set guifont=Courier_New:h10:cANSI
endif

" make sure that syntax always on
if exists("syntax_on")
syntax reset
else
syntax on
endif


" java complete
if has("autocmd")
autocmd Filetype java setlocal omnifunc=javacomplete#Complete
endif

""""""""""""""""""""""""""""""""""""""""""""""""""""""
let performance_mode=1

function MySys()
if has("win32")
return "win32"
elseif has("unix")
return "unix"
else
return "mac"
endif
endfunction

if MySys() == "unix" || MySys() == "mac"
set shell=bash
else
" set win32 shell
endif

" set auto read when file is changed from outside
if exists("autoread")
set autoread
endif

" enable the mouse
if exists("mouse")
set mouse=a
endif

" set mapleader
let mapleader=","
let g:mapleader=","

"fast saving
nmap leader>x :xa!cr>
nmap leader>w :w!cr>

"switch to current directory
map leader>cd :cd %:p:hcr>

" just for fun
map F9> ggVGg?

" folding code
if exists("foldenable")
set fen
endif

if exists("foldlevel")
set fdl=0
endif

" tag list --
map F3> :Tlistcr>

"remove the windows ^M windows系統(tǒng)中常??梢钥吹轿谋局袏A雜著^M這樣的控制字符,用此命令刪除之
noremap leader>m :%s/

標(biāo)簽:武漢 綿陽(yáng) 南陽(yáng) 黔南 開(kāi)封 陽(yáng)泉 莆田 南京

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《linux Vim經(jīng)典配置一例》,本文關(guān)鍵詞  linux,Vim,經(jīng)典,配置,一例,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《linux Vim經(jīng)典配置一例》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于linux Vim經(jīng)典配置一例的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 永登县| 武威市| 沅江市| 达日县| 沙雅县| 昆明市| 梨树县| 泌阳县| 迁安市| 平邑县| 巢湖市| 垣曲县| 新泰市| 中西区| 诸城市| 梁河县| 当涂县| 屯留县| 奎屯市| 田东县| 苍山县| 承德县| 班戈县| 沙湾县| 陆良县| 藁城市| 荆州市| 堆龙德庆县| 分宜县| 加查县| 会昌县| 休宁县| 家居| 剑河县| 威海市| 石景山区| 庄浪县| 修文县| 翁源县| 新化县| 威远县|