ooo's vimrc
colorscheme evening
set fillchars=vert:\ ,stl:\ ,stlnc:\
set nu
set tabstop=4
set shiftwidth=4
set softtabstop=4
set autochdir
set mouse=a
set autoindent
set list
set listchars=tab:\|\ ,trail:.,extends:>,precedes:<,eol:\
set bufhidden=hide
setlocal noswapfile
map <F1> <ESC> i
imap <F1> <ESC> i
imap <F9> <ESC> i
imap <F2> <ESC> :!printf "\033c" <CR> :wq <CR>
imap <F3> <ESC> :w <CR> :!printf "\033c" <CR> :w <CR> :!cat %<CR>
imap <F4> <ESC> :w <CR> :!printf "\033c" <CR> :!g++ -g -std=c++11 -O2 -Wall % -o %< && ./%<<CR>
imap <F5> <ESC> :vsplit <CR>:open
imap <F6> <ESC> :split <CR>:open
imap <F7> <ESC> :tab split <CR>:open
imap <F8> <ESC> :close <CR>i
map <F8> <ESC> :close <CR>
imap <C-d> <ESC> :delete <CR>i
imap <C-e> <ESC>:browse w<CR>i
imap <C-t> <ESC>:u<CR>i
imap <C-y> <ESC>:red<CR>i
map <C-S-a> :!rm .*.sw*<CR>
:set pastetoggle=<C-b>
set nowrap
imap <C-f> <ESC>*i
map <C-f> <ESC>*i
map <C-d> :delete <CR>
map <BS> i<BS>
map <CR> i<CR>
map a ia
map b ib
map c ic
map d id
map e ie
map f if
map g ig
map h ih
map j ij
map k ik
map l il
map m im
map n in
map o io
map p ip
map q iq
map r ir
map s is
map t it
map u iu
map v iv
map w iw
map x ix
map y iy
map z iz
map 1 i1
map 2 i2
map 3 i3
map 4 i4
map 5 i5
map 6 i6
map 7 i7
map 8 i8
map 9 i9
map 0 i0
map # i#
map % i%
map ^ i^
map & i&
map ( i(
map ) i)
map - i-
map _ i_
map = i=
map + i+
map { i{
map [ i[
map } i}
map [ i[
map ; i;
map \ i\
map " i"
map ' i'
map , i,
map < i<
map . i.
map > i>
map / i/
map ? i?
ooo's vimrc的更多相关文章
- 如何设置Vimrc
.title { text-align: center } .todo { font-family: monospace; color: red } .done { color: green } .t ...
- vimrc
我的vimrc https://github.com/juandx/vimrc 当然得装vundle git clone https://github.com/VundleVim/Vundle.vim ...
- Linux上 .vimrc文件
在Linux上面对VIM编辑器的格式的设置通常可以提升工作效率,下面对工作机器上的.vimrc文件的内容进行一总结,以备后续的查询 set smarttab set tabstop=4 set shi ...
- ubuntu 配置vim(vimrc)
打开终端:ctrl+alt+t 进入vim文件:cd /etc/vim 打开vimrc文件:sudo gedit vimrc 然后在行末if语句前加上下面的内容," 这个符号为注释,后面内 ...
- vi/vim使用进阶: vimrc初步
本节所用命令的帮助入口: :help compatible :help mapleader :help map :help autocmd 当vim在启动时,如果没有找到vimrc或gvimrc,它缺 ...
- 我的vim配置文件.vimrc
我的vim配置文件.vimrc map <silent> <F10> :TlistToggle<cr>map <silent> <F8> : ...
- 我用的/etc/vimrc
" 映射非数字/字母键, 如:ctrl,shift, alt, home,end,功能键F1~F12, 要把这些键用尖括号括起来!如: map <F3> :NERDTree< ...
- .vimrc文件配置及航意
1. vimrc文件常见语句释义 设定 tab 的位置 :set tabstop=4 输入 tab 时自动将其转化为空格 :set expandtab ...
- Linux: .vimrc
set nuset autoindentset cindent"set tabstop=2"set shiftwidth=2set cursorlineset hlsearch&q ...
随机推荐
- Filter讲解4
想要 浏览更多Fiddler内容:请点击进入Fiddler官方文档 阅读目录: 一.使用.NET代码扩展Fiddler 二.实现Fiddler接口 三.创建Fiddler扩展项目 四.在扩展程序选项卡 ...
- netty--使用注意事项
- Vue.use()源码分析且执行后干什么了
直接开始分析源码 // Vue源码文件路径:src/core/global-api/use.js import { toArray } from '../util/index' //initUse函数 ...
- How to change SAPABAP1 schema password In HANA
Symptom How to change SAPABAP1 schema password Environment HANA 1.x HANA 2.x Resolution Shutdown the ...
- 编写一个stm32 svc关中断函数
做到了让stm32触发svc中断并传递进去参数然后切换到handler模式并修改特殊寄存器的值,从而达到关中断,但是其实这个程序直接就是特权级,故不进入handler模式也可以修改特殊寄存器..... ...
- shell 三剑客之 sed 命令详解
sed 编辑命令 sed 编辑命令对照表 把 /etc/passwd 文件赋值到当前路径下,进行操作 cp /etc/passwd ./ cat -n passwd sed 删除操作 删除 passw ...
- Linux安全:Linux如何防止木马
(一)解答战略 去企业面试时是有多位竞争者的,因此要注意答题的维度和高度,一定要直接秒杀竞争者,搞定高薪offer. (二)解答战术 因为Linux下的木马常常是恶意者通过Web的上传目录的方式来上传 ...
- 【SpringMVC】请求乱码处理
一.post请求乱码 二.get请求乱码 一.post请求乱码 在web.xml中加入 <filter> <filter-name>CharacterEncodingFilte ...
- 无法写入配置文件...需要在IIS中手动创建此虚拟目录,才可以打开此项目
无妄之灾 之前闲着没事写了一个webapi项目,今天下了班闲来无事就像拿出来改改,没想到打开的时候就提示出现错误. 没错就是这货,其实也不是第一次遇见这个问题了,但是之前一直没有找到解决方案,在网 ...
- java - day013 - 流, FileInputStream, BufferedInputStream,
流 Stream 把数据的读写,抽象成数据在管道中流动. 流是单向的 输入流, 只能用来读取数据 输出流, 只能用来输出数据 流只能顺序读写数据 流只能一次性从头到尾读写数据 流动过的数据,不能反复流 ...