Skip to content

Instantly share code, notes, and snippets.

@belukov
Last active February 8, 2018 15:42
Show Gist options
  • Select an option

  • Save belukov/34b10e4a0e0b3623a652 to your computer and use it in GitHub Desktop.

Select an option

Save belukov/34b10e4a0e0b3623a652 to your computer and use it in GitHub Desktop.
syntax on
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#begin()
Plugin 'tomlion/vim-solidity'
call vundle#end()
filetype plugin indent on
" To ignore plugin indent changes, instead use:
" filetype plugin on
set ffs=unix,dos,mac
set fencs=utf-8,cp1251,koi8-r,ucs-2,cp866,latin1
set encoding=utf-8
"set tenc=cp1251
set tenc=utf-8
" search
set hlsearch
set incsearch
set ignorecase
set smartcase
" tabs: php case
"set shiftwidth=4
"set tabstop=4
"set softtabstop=4
" tabs: node.js case
set smarttab
set expandtab
set shiftwidth=2
set tabstop=2
" folding
set foldmethod=marker
set foldmarker={{{,}}}
au BufReadPost *.sh,*.conf set foldmethod=indent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment