Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Git/share/vim/ |
Upload File : |
" Setting some decent VIM settings for programming set ai " set auto-indenting on for programming set showmatch " automatically show matching brackets. works like it does in bbedit. set vb " turn on the "visual bell" - which is much quieter than the "audio blink" set ruler " show the cursor position all the time set laststatus=2 " make the last line where the status is two lines deep so you can see status always set backspace=indent,eol,start " make that backspace key work the way it should set nocompatible " vi compatible is LAME set background=dark " Use colours that work well on a dark background (Console is usually black) set showmode " show the current mode syntax on " turn syntax highlighting on by default " Show EOL type and last modified timestamp, right after the filename set statusline=%<%F%h%m%r\ [%{&ff}]\ (%{strftime(\"%H:%M\ %d/%m/%Y\",getftime(expand(\"%:p\")))})%=%l,%c%V\ %P "------------------------------------------------------------------------------ " Only do this part when compiled with support for autocommands. if has("autocmd") "Set UTF-8 as the default encoding for commit messages autocmd BufReadPre COMMIT_EDITMSG,git-rebase-todo setlocal fileencodings=utf-8 "Remember the positions in files with some git-specific exceptions" autocmd BufReadPost * \ if line("'\"") > 0 && line("'\"") <= line("$") \ && expand("%") !~ "COMMIT_EDITMSG" \ && expand("%") !~ "ADD_EDIT.patch" \ && expand("%") !~ "addp-hunk-edit.diff" \ && expand("%") !~ "git-rebase-todo" | \ exe "normal g`\"" | \ endif autocmd BufNewFile,BufRead *.patch set filetype=diff autocmd BufNewFile,BufRead *.diff set filetype=diff autocmd Syntax diff \ highlight WhiteSpaceEOL ctermbg=red | \ match WhiteSpaceEOL /\(^+.*\)\@<=\s\+$/ autocmd Syntax gitcommit setlocal textwidth=74 endif " has("autocmd")