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:
15
.vimrc
15
.vimrc
@@ -3,7 +3,11 @@ set nocompatible "VIM over VI
|
|||||||
|
|
||||||
" NeoBundle conf {{{
|
" NeoBundle conf {{{
|
||||||
if has('vim_starting')
|
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
|
endif
|
||||||
|
|
||||||
call neobundle#begin(expand('~/.vim/bundle/'))
|
call neobundle#begin(expand('~/.vim/bundle/'))
|
||||||
@@ -40,7 +44,6 @@ NeoBundle "scrooloose/nerdtree"
|
|||||||
NeoBundle "scrooloose/syntastic"
|
NeoBundle "scrooloose/syntastic"
|
||||||
NeoBundle "sjl/gundo.vim"
|
NeoBundle "sjl/gundo.vim"
|
||||||
NeoBundle "skammer/vim-css-color"
|
NeoBundle "skammer/vim-css-color"
|
||||||
NeoBundle "taylor/ctags.vim"
|
|
||||||
NeoBundle "terryma/vim-multiple-cursors"
|
NeoBundle "terryma/vim-multiple-cursors"
|
||||||
NeoBundle "tpope/vim-fugitive"
|
NeoBundle "tpope/vim-fugitive"
|
||||||
NeoBundle "tpope/vim-repeat"
|
NeoBundle "tpope/vim-repeat"
|
||||||
@@ -80,9 +83,11 @@ set hidden "Keep hidden windows
|
|||||||
set history=1000 "Keep 1000 lines of command line history
|
set history=1000 "Keep 1000 lines of command line history
|
||||||
set laststatus=2 "Always show statusbar
|
set laststatus=2 "Always show statusbar
|
||||||
set lazyredraw "Don't update screen while executing macros
|
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.
|
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
|
set number "show line numbers
|
||||||
|
|
||||||
" Show ruler and set format of statusline
|
" Show ruler and set format of statusline
|
||||||
@@ -512,7 +517,7 @@ if $TERM == 'linux' && !has('gui_running')
|
|||||||
colorscheme pablo
|
colorscheme pablo
|
||||||
endif
|
endif
|
||||||
if has('win32')
|
if has('win32')
|
||||||
source $VIM/vimfiles/winrc.vim
|
source $HOME/vimfiles/winrc.vim
|
||||||
endif
|
endif
|
||||||
"}}}
|
"}}}
|
||||||
" vim:ts=4:sw=4:wrap:fdm=marker:
|
" vim:ts=4:sw=4:wrap:fdm=marker:
|
||||||
|
|||||||
17
README.rst
Normal file
17
README.rst
Normal 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
|
||||||
Reference in New Issue
Block a user