Skip to content

Instantly share code, notes, and snippets.

@Deepwalker
Created January 17, 2013 13:22
Show Gist options
  • Save Deepwalker/4555897 to your computer and use it in GitHub Desktop.
Save Deepwalker/4555897 to your computer and use it in GitHub Desktop.
set nocompatible " We're running Vim, not Vi!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'scrooloose/nerdtree.git'
Bundle 'vim-ruby/vim-ruby.git'
Bundle 'scrooloose/syntastic.git'
Bundle 'rodjek/vim-puppet'
Bundle 'vim-scripts/VimClojure.git'
Bundle 'vim-scripts/vim-coffee-script.git'
set nohidden " отключить долбанные буферы
set nu " показывать номера строк
" Поиск
set incsearch
"set hlsearch
set smartcase
"set mouse=a
syntax on " Enable syntax highlighting
filetype plugin indent on
set binary
autocmd FileType ruby,eruby,yaml,puppet set ai sw=2 sts=2 et
autocmd FileType python,lua,html,js set ai sw=4 sts=4 et
"autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/
set pastetoggle=<F2>
map <F10> :%s/\s\+$//<C-M>
map <F6> :NERDTreeToggle<C-M>
cabbrev llvim
\ lvim /\<lt><C-R><C-W>\>/gj
\ **/*<C-R>=(expand("%:e")=="" ? "" : ".".expand("%:e"))<CR>
\ <Bar> lw
\ <C-Left><C-Left><C-Left>
map <F3> :llvim<C-M>
map <C-T> :tabnew
""" " Русские символы as commands
""" 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 Ё ~
""" 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 , ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment