1
0
Fork 0
mirror of synced 2024-12-25 00:03:20 -05:00

moved all from .vim_runtime to .vim folder

This commit is contained in:
Mirosław Pragłowski 2014-05-09 23:15:33 +02:00
parent 24e46e563d
commit 34dc9f67a0
4 changed files with 21 additions and 21 deletions

View file

@ -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 <leader>ct :cd ~/Desktop/Todoist/todoist<cr>
map <leader>cw :cd ~/Desktop/Wedoist/wedoist<cr>
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 ;-)

View file

@ -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

View file

@ -44,8 +44,8 @@ endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Fast editing and reloading of vimrc configs
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
map <leader>e :e! ~/.vim_runtime/my_configs.vim<cr>
autocmd! bufwritepost vimrc source ~/.vim_runtime/my_configs.vim
map <leader>e :e! ~/.vim/my_configs.vim<cr>
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

View file

@ -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 <leader>f :MRU<CR>
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