位置: 编程技术 - 正文

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命令的用法)

  • 工资个人所得税标准表
  • 销售货物开票及销售收入
  • 怎么做掉公司账户的钱
  • 员工提成比例怎么分配
  • 采购砂石料无发票对税务有影响
  • 作废的增值税普通发票还可以重新开吗?
  • 工资表只显示一个人的其他看不见
  • 小微企业的企业所得税税收优惠政策
  • 500元以下免税发票有哪些
  • 房地产企业土地增值税
  • 企业所得税预缴计算方法
  • 收到虚开的普票已经入账怎么调账
  • 发票领购簿遗失怎么办
  • 会计中预付款包括
  • 银行汇票转给第三方怎么操作
  • 公司股东变更麻烦吗?
  • 借长期借款贷在建工程
  • 产权转移书据印花税申报期限
  • 环保费用计入哪个科目
  • 个税系统数据没有备份怎么办
  • 员工离职再入职要重新签订合同吗
  • 咨询费属于什么大类
  • 苹果14如何强制关机重启
  • 信息化生产力是指什么
  • 标准差怎么算 例题
  • mac怎么同步
  • 反射调用set方法
  • 预交税款分录
  • 现金结算的范围及内部控制
  • amr文件怎么转换为mp3
  • php的八种类型
  • 超过认证期的发票怎么办
  • 只有使用权的房子能继承吗
  • 应扣未扣应收未收税款是什么意思
  • 供热企业享受增值税吗
  • 企业所得税核定征收方法有哪两种
  • 如何查询发票领到几月份了
  • 现金日记账每月都做本年累计数吗?
  • js数组方法filter
  • 结构性存款随时可取么
  • 固定资产清理的金额怎么算
  • 研发费用资本化计入什么科目
  • 有限合伙企业的执行事务合伙人
  • 专用发票必须按照销售方开户行及账号付款吗
  • sqlalchemy mongodb
  • 应纳税所得额是利润总额还是净利润
  • 当月进项税大于销项税怎么办
  • 坏账准备怎么结转到本年利润
  • 外币支付账户
  • 冲减实收资本是什么意思
  • 小规模纳税企业在应交增值税明细科目
  • 小规模纳税人收入不能超过多少
  • 实际成本大于预计总成本
  • 餐饮有普通发票吗
  • 企业如何降低存款利息
  • 备用金存回银行
  • 应收账款增加说明企业什么
  • doc怎么使用
  • centos bz
  • 微软补丁修复时出现蓝屏现象
  • 如何卸载独显
  • ubuntu16.04lts
  • 最近一段时间勒索病毒在全球集中爆发
  • xp系统设置壁纸
  • 在linux系统中命令
  • linux extundelete
  • dos下运行安装文件
  • win7系统电脑怎么连接热点
  • Win7旗舰版系统文件名称
  • xp系统怎么关闭更新系统
  • iusb3mon.exe是什么
  • win8怎么启动资源管理器
  • win7系统360浏览器书签
  • jquery开发
  • JavaScript获取元素
  • 移动move命令的操作步骤是
  • vue中怎么引入css
  • unity3d游戏开发标准教程pdf
  • 云南地方税务局电话
  • 电子税务局网页版
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设