From 34dc9f67a0728c56cc2067f0fb587c892c330893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miros=C5=82aw=20Prag=C5=82owski?= Date: Fri, 9 May 2014 23:15:33 +0200 Subject: [PATCH] moved all from .vim_runtime to .vim folder --- README.md | 16 ++++++++-------- bootstrap.sh | 14 +++++++------- vimrcs/extended.vim | 6 +++--- vimrcs/plugins_config.vim | 6 +++--- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 6286df77..cd7f7772 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,15 @@ The basic version is basically just one file and no plugins. You can check out [ This is useful to install on remote servers where you don't need many plugins and you don't do many edits. - git clone git://github.com/amix/vimrc.git ~/.vim_runtime - sh ~/.vim_runtime/install_basic_vimrc.sh + git clone git://github.com/amix/vimrc.git ~/.vim + sh ~/.vim/install_basic_vimrc.sh ## How to install the Awesome version? The awesome version includes a lot of great plugins, configurations and color schemes that make Vim a lot better. To install it simply do following: - git clone git://github.com/amix/vimrc.git ~/.vim_runtime - sh ~/.vim_runtime/install_awesome_vimrc.sh + git clone git://github.com/amix/vimrc.git ~/.vim + sh ~/.vim/install_awesome_vimrc.sh I also recommend using [Source Code Pro font from Adobe](http://store1.adobe.com/cfusion/store/html/index.cfm?event=displayFontPackage&code=1960) (it's free and awesome font for writing and programming). The Awesome vimrc is already setup to try to use it @@ -36,7 +36,7 @@ Use [msysgit](http://msysgit.github.com/) to checkout the repository and run the Simply just do a git rebase! - cd ~/.vim_runtime + cd ~/.vim git pull --rebase @@ -104,15 +104,15 @@ Remove all clutter and focus only on the essential. Similar to iA Writer or Writ ## How to include your own stuff? -After you have installed the setup you can create **~/.vim_runtime/my_configs.vim** to fill in any configurations that are important for you. For instance, my **my_configs.vim** looks like this: +After you have installed the setup you can create **~/.vim/my_configs.vim** to fill in any configurations that are important for you. For instance, my **my_configs.vim** looks like this: - ~/.vim_runtime (master)> cat my_configs.vim + ~/.vim (master)> cat my_configs.vim map ct :cd ~/Desktop/Todoist/todoist map cw :cd ~/Desktop/Wedoist/wedoist You can also install your own plugins, for instance, via pathogen we can install [vim-rails](https://github.com/tpope/vim-rails): - cd ~/.vim_runtime + cd ~/.vim git clone git://github.com/tpope/vim-rails.git bundle/vim-rails Now you have vim-rails installed ;-) diff --git a/bootstrap.sh b/bootstrap.sh index e8330afc..3fa8d518 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,14 +1,14 @@ -cd ~/.vim_runtime +cd ~/.vim -echo 'set runtimepath+=~/.vim_runtime +echo 'set runtimepath+=~/.vim -source ~/.vim_runtime/vimrcs/basic.vim -source ~/.vim_runtime/vimrcs/filetypes.vim -source ~/.vim_runtime/vimrcs/plugins_config.vim -source ~/.vim_runtime/vimrcs/extended.vim +source ~/.vim/vimrcs/basic.vim +source ~/.vim/vimrcs/filetypes.vim +source ~/.vim/vimrcs/plugins_config.vim +source ~/.vim/vimrcs/extended.vim try -source ~/.vim_runtime/my_configs.vim +source ~/.vim/my_configs.vim catch endtry' > ~/.vimrc diff --git a/vimrcs/extended.vim b/vimrcs/extended.vim index 255a31cf..bd59c15f 100644 --- a/vimrcs/extended.vim +++ b/vimrcs/extended.vim @@ -44,8 +44,8 @@ endif """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Fast editing and reloading of vimrc configs """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -map e :e! ~/.vim_runtime/my_configs.vim -autocmd! bufwritepost vimrc source ~/.vim_runtime/my_configs.vim +map e :e! ~/.vim/my_configs.vim +autocmd! bufwritepost vimrc source ~/.vim/my_configs.vim """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" @@ -53,7 +53,7 @@ autocmd! bufwritepost vimrc source ~/.vim_runtime/my_configs.vim " means that you can undo even when you close a buffer/VIM """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" try - set undodir=~/.vim_runtime/temp_dirs/undodir + set undodir=~/.vim/temp_dirs/undodir set undofile catch endtry diff --git a/vimrcs/plugins_config.vim b/vimrcs/plugins_config.vim index 1b1746ad..98608ac3 100644 --- a/vimrcs/plugins_config.vim +++ b/vimrcs/plugins_config.vim @@ -8,8 +8,8 @@ """""""""""""""""""""""""""""" " => Load pathogen paths """""""""""""""""""""""""""""" -call pathogen#infect('~/.vim_runtime/sources_forked/{}') -call pathogen#infect('~/.vim_runtime/bundle/{}') +call pathogen#infect('~/.vim/sources_forked/{}') +call pathogen#infect('~/.vim/bundle/{}') call pathogen#helptags() """""""""""""""""""""""""""""" @@ -35,7 +35,7 @@ map f :MRU if has("win16") || has("win32") " Don't do anything else - let g:yankring_history_dir = '~/.vim_runtime/temp_dirs/' + let g:yankring_history_dir = '~/.vim/temp_dirs/' endif