linux vim 配置文件
1
"
2
" @(#) This is vimrc for vim/gvim.
3
" This vimrc file will automatically configure itself based on
4
" the system it runs on (Windows/Unix).
5
" This vimrc file has been tested on SPARC/Solaris, Intel/Linux
6
" and Windows NT/ME
7
"
8
"
Config Notes:
9
"
Unix:
10
" 1. Create a directory: ~/vimtmp and move .viminfo there
11
" 2. Link: ln -s .vimrc .gvimrc
12
" 3. If gvim is executed, .vimrc will be executed twice.
13
" First as .vimrc and then as .gvimrc. This is good!
14
"
Windows:
15
" 1. Create a directory: $HOME\vimtmp
16
" 2. Move .viminfo (if it exists) to $HOME\vimtmp
17
" 3. Name .vimrc as _vimrc in $HOME
18
"
19
" Make sure there is no _gvimrc in $HOME. This creates a conflict.
20
" 4. Optional. In the Windows Global settings below, change the preferences
21
" to suit your needs.
22
"
23
" @(#) 01/07/25-03/07/21 xaos@darksmile.net,
"http://www.darksmile.net/vimindex.html"
24
"
25
" Windows Global Settings. Font and scheme preferences
26
"
27
let
mywinfont=
"Lucida_Console:h12:cANSI"
28
let
$myscheme
=
$VIMRUNTIME
.
'\colors\koehler.vim'
29
let
$myxscheme
=
$VIMRUNTIME
.
'/colors/koehler.vim'
30
"
31
" If full gui has been reached then run these additional commands. Unix only!
32
"
33
if
has
("gui_running"
) &&
&term ==
"builtin_gui"
34
if
&syntax
==
""
&&
isdirectory
($VIMRUNTIME
)
35
syntax
on
36
set
hlsearch
37
en
相关文档:
Service Discovery Protocol(SDP)提供一种能力,让应用程序有方法发现哪种服务可用以及这种服务的特性。
服务发现协议(SDP或Bluetooth SDP)在蓝牙协议栈中对蓝牙环境中的应用程序有特殊的含意,发现哪个服务是可用的和确定这些可用服务的特征。SDP定义了bluetooth client发现可用bluetooth server服务和它们的特征的方法。 ......
Linux Socket 学习(十)
在套接口上使用标准I/O
在前面章节的例子代码中我们已经使用了read(2)或是write(2)系统调用在套接口上执行读取和写入操作。这个规则的一个例外就是recvfrom(2)和sendto(2)函数,这两个函数用来读写数据报。然而,使用read和writte函数调用却有一些程序上的缺点。
这一章我们将会讨论以下内容 ......
一、用vi filename打开文件:
二、基本知识:vi 可以分三种状态:命令模式(command)、插入模式(insert)和末行模式(last line)
(1)命令模式:打开文件时默认是命令模式,控制屏幕光标的移动、字符、字或者行的删除,移动 &nb ......
linux裁剪好后,下面紧跟着我就建立图形库。图形库的移植相对来说比较繁琐。因为在相同硬件结构的情况下是可以直接拷贝过来的。我的方法是先把图形库最主要的程序xinit拷过来,然后运行它根据日志提示缺少什么一一移植过来就可以了。一些库文件和一些字体配置,输入输出设备的驱动拷贝过来就可以了,当然内核配置里的frameb ......
1.从80386开始,Intel处理器的线性32被分为3个域,最高十位为此线性地址在页目录的索引;中间十位为此线性地址在页表中的索引;最低12为物理地址的低12位(也可以说是页内偏移量)。每个进程一定有各自独立的页表(注意:这里说的是进程,而不是线程。在linux里线程其实就是轻量级的进程,他们是连页目录都相同的进程,只是 ......