linux 下的vim 简单配置
来源:互联网 发布:银行业大数据应用 编辑:程序博客网 时间:2024/04/29 02:14
set linebreak " line breakset nocompatible " no compatibleset history=400 " historyset rulerset number " line numberset hlsearch " highlight searchset noincsearch " no in C searchset expandtab " expand tableset t_vb= "close bellset foldmethod=markerset tabstop=4 " table stepset shiftwidth=4set nobackup " don't backupset smarttab " smart tableset smartindent " smart indentset autoindent " auto indentset cindent "cindentset cursorline " hightlight cursor line 高亮光标所在行set backspace=indent,eol,start "这行比较重要,刚接触vim的朋友会发现有时候backspace键删不了文字colorscheme desert " color schemelet Tlist_Use_Right_Window=0 " for tag_list plugin onlylet Tlist_File_Fold_Auto_Close=1 " for tag_list plugin onlylet g:winManagerWindowLayout="FileExplorer|TagList" " for winmanagerfiletype plugin indent on " filetype settingset completeopt=longest,menu " for code completefunction! CurrectDir()let curdir = substitute(getcwd(), "", "", "g")return curdirendfunctionset statusline=\ [File]\ %F%m%r%h\ %w\ \ [PWD]\ %r%{CurrectDir()}%h\ \ %=[Line]\ %l,%c\ %=\ %Pif has("win32")set guifont=Courier_New:h10:cANSIendifif exists("syntax_on")syntax resetelsesyntax onendifif has("autocmd")autocmd Filetype java setlocal omnifunc=javacomplete#Completeendiflet performance_mode=1function MySys()if has("win32")return "win32"elseif has("unix")return "unix"elsereturn "mac"endifendfunctionif MySys() == "unix" || MySys() == "mac"set shell=bashelseendifif exists("&autoread")set autoreadendifif exists("&mouse")set mouse=aendiflet mapleader=","let g:mapleader=","nmap <leader>x :xa!<cr>nmap <leader>w :w!<cr>map <leader>cd :cd %:p:h<cr>map <F9> ggVGg?if exists("&foldenable")set fenendifif exists("&foldlevel")set fdl=0endifmap <F3> :Tlist<cr>noremap <leader>m :%s/
此是网上摘抄别人的,目前还没有把vim配置成一个功能较为强大的 IDE 编译器,如有大神在,请赐教。
0 0
- linux 下的vim 简单配置
- linux下vim的简单配置
- Linux下vim简单配置
- linux下简单配置VIM
- 【Linux】vim的简单配置
- Linux-vim的简单配置
- linux下vim的配置
- Linux下vim的配置
- linux下vim的配置
- linux下vim的配置
- Linux下vim的配置
- Linux下Vim的配置
- Linux下Vim的配置
- Linux下vim的配置
- Linux下vim的配置
- Linux下vim的配置
- linux下vim的配置
- linux下vim的配置
- 如何及时处理文件数据丢失的问题呢
- Maven的安装与运行及MyEclipse8.6中的设置
- import com.sun.image.codec.jpeg.JPEGCodec不通过 找不到包
- android 兼容API的检查
- 一个C游戏(BoxMan)代码的分析
- linux 下的vim 简单配置
- Buy the Ticket(卡特兰数应用与大数)
- 解决:insert Vodafone sim card,open the mms read report,when receive the read report,cann't download..
- Little shop of flowers - SGU 104 dp
- cocos2dx 3.1环境配置与生成APK,支持中文输出。疑难:
- Letter Combinations of a Phone Number
- --数组的排序和查找--java学习日记2(基础知识)
- 改善记忆力的二十种记忆方法,随便你挑!
- 实际根文件系统的挂载-sys_mount()