تبلیغات
 :set number
:filetype plugin on
let g:acp_behaviorKeywordLength = 1
:set tabstop=8
:set expandtab
:set softtabstop=4
:set shiftwidth=4
:set omnifunc=syntaxcomplete#Complete
:setlocal foldmethod=indent
:set t_Co=256
:set nowrap
:set guioptions=rb
:colorscheme molokai
:set guicursor+=i:blinkwait10
:set nocp
:set clipboard=unnamed
:set clipboard=unnamedplus
:set expandtab
:set autoindent
:set cindent
:set si " Smart indent
:syntax enable
:set showmatch " Show matching brackets
:set hlsearch " Highlight in search
:set ignorecase " Ignore case in search
:set noswapfile " Avoid swap files
:set mouse=a " Mouse Integration
:inoremap        (  ()<Left>
:inoremap        "  ""<Left>
:inoremap        `  ``<Left>
:inoremap        '  ''<Left>
:inoremap        [  []<Left>
:inoremap      {  {}<Left>
:autocmd FileType c,cpp,java,scala let b:comment_leader = '// '
:autocmd FileType sh,ruby,python   let b:comment_leader = '# '
:noremap <silent> #6 :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR>
:noremap <silent> #7 :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR>
:noremap <silent> #5 :!./% <CR>