Skip to content

Instantly share code, notes, and snippets.

@pavel-odintsov pavel-odintsov/vimrc
Last active Apr 22, 2019

Embed
What would you like to do?
vimrc_odintsov
"
" First of all, pleae install Neobundle: mkdir -p ~/.vim/bundle
" git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
"
" Fix arrow keys that display A B C D on remote shell:
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath^=~/.vim/bundle/neobundle.vim/
" Required:
call neobundle#begin(expand('~/.vim/bundle/'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" My Bundles here:
NeoBundle 'fatih/vim-go'
" Refer to |:NeoBundle-examples|.
" Note: You don't set neobundle setting in .gvimrc!
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
set fileencodings=utf-8,cp1251,koi8-r,cp866
syntax on
" Размер табулации по умолчанию
colorscheme default
" Number of space charasters inserted by indentation ">" and "<"
set shiftwidth=4
set softtabstop=4
" How much spaces we have in tab
set tabstop=4
set bs=2 " без этого бекспейс будет жутко криво работать
set nonu nu
set foldcolumn=0 " Левая колонка фолдинга
set foldenable
set incsearch " Поиск по набору текста
" Выключаем надоедливый "звонок"
set novisualbell
set t_vb=
" Convert all tab symbols to spaces
set expandtab
" Set automatic indent
set autoindent
set showmode " показывает в каком режиме работаешь
set ignorecase "игнорировать прописные/строчные при поиске
set hlsearch "при поиске помечать все найденные строки
set ruler
set t_vb=
" set dir=~/.vim " Все swap файлы будут помещаться в эту папку; ну их нафик
set visualbell " Включает виртуальный звонок (моргает, а не бибикает при ошибках)
" Uncomment the following to have Vim jump to the last position when
" reopening a file
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g'\"" | endif
endif
set mouse=
set ttymouse=
@pavel-odintsov

This comment has been minimized.

Copy link
Owner Author

pavel-odintsov commented Jan 12, 2016

Big thanks to Sergei Mamonov!

@rooty0

This comment has been minimized.

Copy link

rooty0 commented Jan 13, 2016

How do you manage your plugins? pathogen, vundle?

@pavel-odintsov

This comment has been minimized.

Copy link
Owner Author

pavel-odintsov commented Jan 31, 2016

NeoBundle :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.