datarockets / dotfiles

Configuration files for zsh, vim, and tmux
MIT License
11 stars 1 forks source link

Vim configuration (.vimrc) #2

Open evgenTraytyak opened 8 years ago

evgenTraytyak commented 8 years ago

Need to choose vim bundler and default packages and write .vimrc file.

dzhlobo commented 8 years ago

@evgenTraytyak, what do you use for vim packages management?

evgenTraytyak commented 8 years ago

I use NeoBundle.

evgenTraytyak commented 8 years ago

@Proghat i can write my plugins list

dzhlobo commented 8 years ago

@evgenTraytyak, please.

evgenTraytyak commented 8 years ago

.vimrc

"--------------------------------------------------
" Bundles

" Let NeoNeoBundle manage NeoNeoBundle
NeoBundle 'Shougo/neobundle.vim'

" Instlall vimrpoc. is uses by unite and neocomplcache
" for async searches and calls
NeoBundle 'Shougo/vimproc', {
\ 'build' : {
\     'mac' : 'make -f make_mac.mak',
\     'unix': g:make
\    },
\ }
evgenTraytyak commented 8 years ago

Unite neosnipper

" Some support functions used by delimitmate, and snipmate
NeoBundle 'vim-scripts/tlib'

" Plugin for fuzzy file search, most recent files list and much more
NeoBundle 'Shougo/unite.vim'

" Snippets engine with good integration with neocomplcache
NeoBundle 'Shougo/neosnippet'

" Default snippets for neosnippet, i prefer vim-snippets
"NeoBundle 'Shougo/neosnippet-snippets'

" Default snippets
NeoBundle 'honza/vim-snippets'
evgenTraytyak commented 8 years ago

vim-surround vim-fugitive nerdtree

" Editorconfig for vim
NeoBundle 'editorconfig/editorconfig-vim'

" Great file system explorer, it appears when you open dir in vim
" Allow modification of dir, and may other things
" Must have
NeoBundle 'scrooloose/nerdtree'

" Add smart commands for comments like:
" gcc - Toggle comment for the current line
" gc  - Toggle comments for selected region or number of strings
" Very usefull
NeoBundle 'tomtom/tcomment_vim'

" Best git wrapper for vim
NeoBundle 'tpope/vim-fugitive'

" Fix-up dot command behavior
" it's kind of service plugin
NeoBundle 'tpope/vim-repeat'

" Add usefull hotkey for operation with surroundings
" cs{what}{towhat} - inside '' or [] or something like this allow
" change surroundings symbols to another
" and ds{what} - remove them
NeoBundle 'tpope/vim-surround'
evgenTraytyak commented 8 years ago
"--------------------------------------------------
" Syntax highlight

" Jade
NeoBundle 'digitaltoad/vim-jade'

" Slim
NeoBundle 'slim-template/vim-slim'

" Scss
NeoBundle 'cakebaker/scss-syntax.vim'

" HTML5 + inline SVG omnicomplete funtion, indent and syntax for Vim.
NeoBundle 'othree/html5.vim'

" Provides support for expanding abbreviations similar to emmet
NeoBundle 'mattn/emmet-vim'

" Highlights the matching HTML tag when the cursor
" is positioned on a tag.
NeoBundle 'gregsexton/MatchTag'

" Add Support css3 property
NeoBundle 'hail2u/vim-css3-syntax'
evgenTraytyak commented 8 years ago

That's not all.. :smile:

evgenTraytyak commented 8 years ago

done #11

dzhlobo commented 3 years ago

I use vim and I would love to have at least minimal vim config in the dotfiles. I often struggle to enable line numbers in vim on servers and other things.

@lazycoder9, maybe you can share your config? How do you manage vim plugins?

DDKatch commented 3 years ago

@dzhlobo I've cleaned and added some comments to my vim config recently, so it is pretty much understandable even for the beginner. Although the cleaning has not finished yet(lines/paragraphs marked with !!!), it is enough to start code in ruby(for sure) right after the installation of the plugins.