位置: 编程技术 - 正文

linux Vim经典配置一例(linux怎么配置vim)

编辑:rootadmin
有需要的朋友可以参考下。复制代码代码如下:" 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= " 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 高亮光标所在行 " set the back space set backspace=indent,eol,start "这行比较重要,刚接触vim的朋友会发现有时候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("win") set guifont=Courier_New:h: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("win") return "win" elseif has("unix") return "unix" else return "mac" endif endfunction if MySys() == "unix" || MySys() == "mac" set shell=bash else " set win 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:h<cr> " 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> :Tlist<cr> "remove the windows ^M windows系统中常常可以看到文本中夹杂着^M这样的控制字符,用此命令删除之 noremap <leader>m :%s/

推荐整理分享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 wc命令应用举例 在Linux下用wc进行计数。返回文件的行数、字数、字节数等。例如:复制代码代码如下:wcwc1.txtwc1.txt输出信息依次:行数字数字节数文件名称。再具体

Linux中后缀名为ko、o、a、so、la的文件介绍 但是为了区分,有些文件还是加了后缀名:1、.ko是kernelobject的缩写,是Linux2.6内核使用的动态连接文件,在Linux系统启动时加载内核模块。2、.o是相当于

linux下使用du命令查找最大的文件的命令 找出在一个path下的最大文件,可以使用du命令:du-sh[dirname|filename]当前目录大小du-sh.当前目录下文件或目录的大小du-sh*显示前十个占用空间最大的文件或

标签: linux怎么配置vim

本文链接地址:https://www.jiuchutong.com/biancheng/362009.html 转载请保留说明!

上一篇:恢复linux下被删除的syslog—/var/log/messages文件方法(linux删除后恢复)

下一篇:linux wc命令应用举例(linux中wc命令的用法)

  • 符合条件的小型微利企业所得税税率为
  • 开小卖部怎么报税
  • 自查补报以前年度收入可以补在当前属期吗
  • 建筑业固定资产折旧费用科目是什么
  • 暂估入库后怎么冲回
  • 存货盘亏计入哪个会计科目
  • 对外支付代扣代缴增值税
  • 支票盖财务章盖在哪里
  • 建筑公司设计费税率
  • 转让企业全部产权属于增值税征税范围。A对B错
  • 摊销租金是什么意思
  • 计提劳务成本月末需要结转吗
  • 注册资本增资印花税减半
  • 个人领取住房公积金需要什么材料
  • 企业生产经营模式
  • 坏账收回的账务处理方法
  • 酒店招募
  • 事业单位收到投资的账务处理
  • 小规模应交税费有三级科目吗
  • 短期投资是会计准则吗
  • c盘空间变小的原因
  • 合伙企业利润分配个人所得税
  • 工会经费,职工福利费,教育经费的扣除标准
  • 增值税税率简易征收
  • 资产减值损失会影响营业利润吗
  • 路由器隐藏ssid后果严重
  • mac底部菜单栏不见了快捷键
  • 入库前仓储费用应计入
  • php实现ping功能
  • 固定资产非正常损失进项税
  • php验证码识别
  • php curl_multi_init
  • 待摊费用和预付账款的区别是什么
  • struts2漏洞检测工具下载
  • 前端处理map
  • 使用vue开发app
  • Code For Better 谷歌开发者之声——使用谷歌浏览器 Chrome 更好地调试
  • 财政拨款结转和非财政拨款结转区别
  • 公司捐款怎样抵扣
  • 装饰公司的开票范围
  • 网红产品的推广文案
  • 钢管租赁行业会计账务处理
  • 开票机号填错了怎么办
  • sql server 2008怎么用
  • mysql连接数据库的基本步骤是什么
  • 预提费用增加在借方还是贷方
  • 库存商品转成本意味着什么
  • 社保的账务处理分录
  • 股利分配是什么科目
  • 长期借款转其他应付款
  • 个税多缴了纳税人怎么办
  • 跨年度未开发票第二年如何做确认收入?
  • 母子公司之间内部交易形成的坏账可以所得税税前扣除吗
  • 常见ui
  • windows2008r2修改密码
  • win10预览版21277下载
  • win10如何设置视频缩略图
  • 360 sesvc.exe
  • win7 系统启动
  • win8.1设备管理器设置步骤
  • win8连接wifi界面消失
  • ubuntu如何清理缓存
  • win7z
  • Linux系统安全性体现在哪些方面?
  • scm是啥
  • win8进入电脑休眠后怎么唤醒
  • windos8怎么样
  • windows10专业版界面预览
  • python 安装setup
  • angular中ui calendar的一些使用心得(推荐)
  • mongoose模块有什么用途
  • js正则检验手机号
  • Python3的urllib.parse常用函数小结(urlencode,quote,quote_plus,unquote,unquote_plus等)
  • python设颜色代码
  • 装卸搬运服务是什么服务
  • 英国税务局缴纳税款方式
  • 外购已税小汽车用于连续生产小汽车为啥可以抵扣
  • 普通手写发票税点多少
  • 英国个税税率最高
  • 陕西的发票在哪里领取
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设