Edytuj stronę Odnośniki Fold/unfold all ODT export Ta strona jest tylko do odczytu. Możesz wyświetlić źródła tej strony ale nie możesz ich zmienić. ====== Vim konfiguracja ====== [[http://www.vim.org/scripts/script.php?script_id=213|c.vim : C/C++ IDE plugin]] {{http://lug.fh-swf.de/vim/vim-c/c-hotkeys.pdf|The key mappings of this plugin}}\\ [[http://vim.wikia.com/wiki/Use_Vim_like_an_IDE|Use Vim like an IDE]]\\ Kilka przydatnych ustawień, które można dodać do pliku ''~/.vimrc'' " detect the type of file filetype on " load filetype plugins filetype plugin on " syntax highlighting on syntax on " command-line completion operates in an enhanced mode set wildmenu " use mouse everywhere set mouse=a " don't make noise on error messages set noerrorbells " show matching brackets for a moment set showmatch " how automatic formatting is to be done set formatoptions=tcrqn " take indent for new line from previous line set autoindent " smart autoindenting for C programs set smartindent " do c-style indenting set cindent " tab spacing (settings below are just to unify it) set tabstop=8 " unify set softtabstop=8 " unify set shiftwidth=8 " real tabs please! set noexpandtab " do not wrap lines set nowrap " use tabs at the start of a line, spaces elsewhere set smarttab Kilka przydatnych wtyczek: * [[https://github.com/scrooloose/syntastic|syntastic]] - sprawdzanie składni przy zapisie pliku * [[http://www.vim.org/scripts/script.php?script_id=273|taglist]] * [[http://www.vim.org/scripts/script.php?script_id=2540|snipMate]] - uzupełnianie kodu