快去自定义签名吧~|

园龄:粉丝:关注:

基于Linux的vimrc配置

包含鼠标可控,Html调用,以及显示行号等信息。可自行修改。

set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
set nu
set cursorline
set showmatch
set mouse=a
set selection=exclusive
set selectmode=mouse,key
set tabstop=4
set shiftwidth=4
set autoindent
set paste
set laststatus=2
set ruler
set autoindent
set cindent
set tabstop=4
set softtabstop=4
set shiftwidth=4
set smarttab
set number
function Html()
call setline(1,"<!DOCTYPE html>")
call append(1,"<html>")
call append(2,"<head>")
call append(3,"<meta charset="UTF-8">")
call append(4,"<meta http-equiv="X-UA-Compatible" content="IE=edge">")
call append(5,"<meta name="viewport" content="width=device-width, initial-scale=1.0">")
call append(6,"<title>AGuo</title>")
call append(7,"<style>")
call append(8,"</style>")
call append(9,"<script>")
call append(10,"</script>")
call append(11,"</head>")
call append(12,"<body>")
call append(13,"</body>")
call append(14,"</html>")
endfunction
autocmd BufWritePost $MYVIMRC source $MYVIMRC

本文作者:youget

本文链接:https://www.cnblogs.com/youget/p/17306658.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   有搞头  阅读(27)  评论(0编辑  收藏  举报  
努力加载评论中...
   
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起