Created
February 4, 2009 14:52
-
-
Save cypok/58130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set backspace=indent,eol,start | |
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 | |
set mouse=a | |
syntax on | |
set hlsearch | |
filetype plugin indent on | |
autocmd FileType text setlocal textwidth=78 | |
autocmd BufReadPost * | |
\ if line("'\"") > 0 && line("'\"") <= line("$") | | |
\ exe "normal! g`\"" | | |
\ endif | |
colorscheme vividchalk | |
set tabstop=4 | |
set shiftwidth=4 | |
set autoindent | |
set expandtab | |
set number | |
set nowrap | |
set winminheight=0 | |
set foldmethod=indent | |
set foldlevelstart=99 " all folds are opened | |
set guioptions-=T | |
set tags+=~/.vim/systags | |
let g:EnhCommentifyPretty = 'Yes' | |
nmap <C-h> <C-w>h | |
imap <C-h> <Esc><C-w>ha | |
nmap <C-j> <C-w>j | |
imap <C-j> <Esc><C-w>ja | |
nmap <C-k> <C-w>k | |
imap <C-k> <Esc><C-w>ka | |
nmap <C-l> <C-w>l | |
imap <C-l> <Esc><C-w>la | |
nmap <C-n> <C-w>n | |
nmap <C-u> <C-w>- | |
nmap <C-i> <C-w>+ | |
nmap <C-m> <C-w>_ | |
" imap <C-m> <Esc><C-w>_a | |
nmap <F5> :wa | |
:make | |
imap <F5> <Esc>:wa | |
:make | |
nmap <F6> :cwin | |
imap <F6> <Esc>:cwin | |
map <F8> :!ctags -R --c-kinds=+p --fields=+S | |
nmap <C-Left> zc | |
imap <C-Left> <Esc>zc | |
a | |
nmap <C-Right> zo | |
imap <C-Right> <Esc>zo | |
a | |
vmap <C-Insert> "+y | |
nmap <S-Insert> "+p | |
imap <S-Insert> <C-o><S-Insert> | |
nmap <Home> ^ | |
imap <Home> <Esc>^i | |
map ё ` | |
map й q | |
map ц w | |
map у e | |
map к r | |
map е t | |
map н y | |
map г u | |
map ш i | |
map щ o | |
map з p | |
map х [ | |
map ъ ] | |
map ф a | |
map ы s | |
map в d | |
map а f | |
map п g | |
map р h | |
map о j | |
map л k | |
map д l | |
map ж ; | |
map э ' | |
map я z | |
map ч x | |
map с c | |
map м v | |
map и b | |
map т n | |
map ь m | |
map б , | |
map ю . | |
map Ё ~ | |
map Й Q | |
map Ц W | |
map У E | |
map К R | |
map Е T | |
map Н Y | |
map Г U | |
map Ш I | |
map Щ O | |
map З P | |
map Х { | |
map Ъ } | |
map Ф A | |
map Ы S | |
map В D | |
map А F | |
map П G | |
map Р H | |
map О J | |
map Л K | |
map Д L | |
map Ж : | |
map Э " | |
map Я Z | |
map Ч X | |
map С C | |
map М V | |
map И B | |
map Т N | |
map Ь M | |
map Б < | |
map Ю > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment