1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 11:30:29 +01:00

Small fixes to the Windows part of the config

This commit is contained in:
2014-10-07 19:34:46 +02:00
parent 7521d31361
commit cea39c30b0
3 changed files with 27 additions and 6 deletions

15
.vimrc
View File

@@ -3,7 +3,11 @@ set nocompatible "VIM over VI
" NeoBundle conf {{{
if has('vim_starting')
set runtimepath+=~/.vim/bundle/neobundle.vim/
if has('win32')
set runtimepath+=$HOME/vimfiles/bundle/neobundle.vim/
else
set runtimepath+=$HOME/.vim/bundle/neobundle.vim/
endif
endif
call neobundle#begin(expand('~/.vim/bundle/'))
@@ -40,7 +44,6 @@ NeoBundle "scrooloose/nerdtree"
NeoBundle "scrooloose/syntastic"
NeoBundle "sjl/gundo.vim"
NeoBundle "skammer/vim-css-color"
NeoBundle "taylor/ctags.vim"
NeoBundle "terryma/vim-multiple-cursors"
NeoBundle "tpope/vim-fugitive"
NeoBundle "tpope/vim-repeat"
@@ -80,9 +83,11 @@ set hidden "Keep hidden windows
set history=1000 "Keep 1000 lines of command line history
set laststatus=2 "Always show statusbar
set lazyredraw "Don't update screen while executing macros
if !has('win32')
try
set listchars=tab:▸―,trail"Strings to use in 'list' mode. list is off by default.
endif
catch /E474:/
set listchars=tab:>-,trail:. "Failsafe for Windows and non-unicode envs
endtry
set number "show line numbers
" Show ruler and set format of statusline
@@ -512,7 +517,7 @@ if $TERM == 'linux' && !has('gui_running')
colorscheme pablo
endif
if has('win32')
source $VIM/vimfiles/winrc.vim
source $HOME/vimfiles/winrc.vim
endif
"}}}
" vim:ts=4:sw=4:wrap:fdm=marker:

17
README.rst Normal file
View File

@@ -0,0 +1,17 @@
vim config
==========
This repository contains my Vim config just for convenience in making the copy
of it.
After cloning, it is necessary to install NeoBundle_. Possibly the easiest way
to make it (as described in the NeoBundle README file) is like this:
.. code::shell-session
$ curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh | sh
And than, just make the symlink to the `.vimrc` file to the home directory.
.. _NeoBundle: https://github.com/Shougo/neobundle.vim

View File

@@ -1,6 +1,5 @@
set fileencoding=utf-8
set guifont=DejaVu_Sans_Mono:h9:cEASTEUROPE
set listchars=tab:>-,trail:.
set guioptions=ceg
set enc=utf-8