edit SideBar
|
Vim.Vimrc History
Hide minor edits - Show changes to markup
March 14, 2006, at 04:53 PM
by 160.75.91.167
Added lines 175-184:
- au Filetype xml,xsd
- ab <?x <?xml version="1.0" encoding="ISO-8859-9" standalone=""?><ESC>3h
- au Filetype xml,xsd
- ab <:s <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="" targetNamespace="" elementFormDefault="qualified">
- au Filetype xml,xsd
- ab <:e <xsd:element name=""<ESC>2h
- au Filetype xml,xsd
- ab <:c <xsd:complexType<ESC>2h
- au Filetype xml,xsd
- ab <E <ElementType? name="" content="" model=""<ESC>22h
- au Filetype xml,xsd
- ab <e <element type="" minOccurs="" maxOccurs=""/><ESC>30h
- au Filetype xml,xsd
- ab <A <AttributeType? name="" dt:type=""/><ESC>15h
- au Filetype xml,xsd
- ab <a <attribute type=""/><ESC>4h
October 14, 2005, at 04:52 PM
by 85.105.66.26
Added lines 1-3:
.vimrc dosyam.
(:code:) [=
Changed lines 195-196 from:
map! ;d <C-R>=strftime("m.T")<CR>
to:
map! ;d <C-R>=strftime("m.T")<CR>
=]
October 14, 2005, at 02:14 PM
by 85.105.66.26
Deleted lines 0-2:
~/.vimrc dosyası:
source lang=vim [=
Changed line 2 from:
" Son Degisiklik : 2005.10.13 01:23
to:
" Son Degisiklik : 2005.10.14 14:13
Changed lines 191-192 from:
to:
" Tarih
map! ;d <C-R>=strftime("m.T")<CR>
October 13, 2005, at 01:29 AM
by 85.105.66.26
Changed lines 1-2 from:
~/.vimrc dosyası: Son Değişiklik: 2005.09.01
to:
Changed lines 192-193 from:
:au Filetype html,xml,xsl source ~/.vim/plugin/closetag.vim
to:
:au Filetype php,perl,html,xml,xsl source ~/.vim/plugin/closetag.vim
October 13, 2005, at 01:25 AM
by 85.105.66.26
Added line 5:
" Son Degisiklik : 2005.10.13 01:23
Changed lines 181-182 from:
to:
set tags=~/.vim/tags/php.tags
Changed lines 191-193 from:
to:
" closetag scripti icin
:au Filetype html,xml,xsl source ~/.vim/plugin/closetag.vim
September 03, 2005, at 04:43 PM
by �zg�n
Changed lines 1-2 from:
to:
~/.vimrc dosyası: Son Değişiklik: 2005.09.01
Added line 125:
Deleted lines 128-133:
"nmap <F8> :e /home/ozgun/servers/ying/notes/todos.txt<CR>
"nmap <F9> :e /home/ozgun/servers/yang/notes/todos.txt<CR>
"nmap <F10> :e /webpages/netfark.net/notes/netfark.todos<CR>
"nmap <F11> :e /webpages/netfark.net/notes/backoffice.todos<CR>
"nmap <F12> :e /webpages/netfark.net/notes/manager.todos<CR>
"nmap <F12> :e /home/ozgun/desktop_notes/quick.notes<CR>
Changed lines 179-180 from:
set tags=~/.vim/tags/cpp_tags
to:
"set tags=~/.vim/tags/cpp_tags
Added lines 188-189:
July 20, 2005, at 12:50 AM
by �zg�n
Added lines 1-2:
July 20, 2005, at 12:47 AM
by �zg�n
Added lines 1-191:
(:source lang=vim:)
" An example for a vimrc file.
"
" Maintainer: Bram Moolenaar <[email protected]>
" Last change: 2002 May 28
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-DOS and Win32: $VIM\_vimrc
" for OpenVMS: sys$login:.vimrc
" When started as "evim", evim.vim will already have done these settings.
if v:progname =~? "evim"
finish
endif
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" allow backspacing over everything in insert mode
set backspace=indent,eol,start
set autoindent " always set autoindenting on
if has("vms")
set nobackup " do not keep a backup file, use versions instead
else
set backup " keep a backup file
endif
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
" let &guioptions = substitute(&guioptions, "t", "", "g")
" Don't use Ex mode, use Q for formatting
map Q gq
" This is an alternative that also works in block mode, but the deleted
" text is lost and it only works for putting the current register.
"vnoremap p "_dp
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif
" Only do this part when compiled with support for autocommands.
if has("autocmd")
" Enable file type detection.
" Use the default filetype settings, so that mail gets 'tw' set to 72,
" 'cindent' is on in C files, etc.
" Also load indent files, to automatically do language-dependent indenting.
filetype plugin indent on
" For all text files set 'textwidth' to 78 characters.
autocmd FileType text setlocal textwidth=78
" When editing a file, always jump to the last known cursor position.
" Don't do it when the position is invalid or when inside an event handler
" (happens when dropping a file on gvim).
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif
endif " has("autocmd")
" Necessary. This setting tells vim to load latex-suite
" when a tex file opened.
" filetype plugin on
" Optional. This enables automatic indentation as you
" type.
" filetype indent on
"
"
"set guifont=-Adobe-Courier-Medium-R-Normal--14-120-75-75-M-70-ISO8859-9
"set guifont=-Adobe-Courier-Medium-R-Normal--14-140-75-75-M-90-ISO8859-9
"set guifont=-adobe-courier-medium-r-normal-*-*-120-*-*-m-*-iso8859-9
"set guifont=-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-9
"colorscheme navajo-night
colorscheme darkblue
"set lines=45
"set columns=95
set sw=2
set ts=2
set nu
"------------------------------------
"Yeni eklenenler:
"------------------------------------
" CTRL-A herseyi secsin
map <C-a> 1GvG$
"colorscheme darkblue
set cindent
set showmatch
" ignore case when searching
set ignorecase
set smartcase
"--Buffers
nmap <F2> :sp<CR>:Exp<CR>
" PHP syntax kontrol
nmap <F3> :!php -l -f % <CR>
"nmap <F4> :ls<CR>:e #
" Renk d�zeltir
"map <F4> mb<CR>:1<CR>o<ESC>dd<ESC>`b<CR>k
"nmap <F4> :!javac % <CR>
nmap <F4> :!g++ % <CR>
nmap <F5> :!gcc -lm % <CR>
nmap <F6> :!./a.out <CR>
"nmap <F5> :bp<CR>
"nmap <F6> :bn<CR>
"nmap <F7> :bd<CR>
"nmap <F8> :e /home/ozgun/servers/ying/notes/todos.txt<CR>
"nmap <F9> :e /home/ozgun/servers/yang/notes/todos.txt<CR>
"nmap <F10> :e /webpages/netfark.net/notes/netfark.todos<CR>
"nmap <F11> :e /webpages/netfark.net/notes/backoffice.todos<CR>
"nmap <F12> :e /webpages/netfark.net/notes/manager.todos<CR>
"nmap <F12> :e /home/ozgun/desktop_notes/quick.notes<CR>
"map <F5> :sil bp<C-M>
"map <F6> :sil bn<C-M>
"map <F7> :sil bd<C-M>
"map <C-u> :!ftpFtoPwdYing.sh %
"map <C-u> :!scpFtoYing.sh %
" ALT+j= escape olsun
"inoremap <S-CR> <ESC>
inoremap <M-j> <ESC>
"--Abreviations
cab W w
cab Wq wq
cab wQ wq
cab WQ wq
cab Q q
set noerrorbells "be quiet, dont beep
set laststatus=2 "always show a status line
set nobackup
"Ignore case when searching
set ignorecase
set smartcase
" dosya~ seklinde backup dosyasi olusturma
set nowritebackup
" Bir kisim kisaltmalar
:ab func function
:ab #i #include
:ab #l /* -------------------------------------------------- */<ESC>
:ab #b /***************************************************<ESC>
:ab #c <SPACE>**************************************************/<ESC>
:ab ## ############################################################<ESC>
:ab #- #-----------------------------------------------------------<ESC>
:ab #* #***********************************************************<ESC>
:ab #m <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
:ab #p #!/usr/bin/perl -w<ESC>
:ab #s System.out.println("");<ESC>3h<ESC>
:ab #!b #!/bin/bash
:ab #!p #!/usr/bin/perl
" split line
"map + i<CR><ESC>
" java tags
"set tags=~/.vim/tags/java
set tags=~/.vim/tags/cpp_tags
" C Comments
"set comments=sl:/*,mb:**,elx:*
set encoding=latin5
" Make shift-insert work like in Xterm
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
|