Setup vim / plugins
This commit is contained in:
parent
635d6894df
commit
20431429bb
4 changed files with 21 additions and 4 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
|||
[submodule ".oh-my-zsh"]
|
||||
path = .oh-my-zsh
|
||||
url = https://github.com/robbyrussell/oh-my-zsh.git
|
||||
[submodule "/home/atomaka/.vim/bundle/vundle"]
|
||||
path = /home/atomaka/.vim/bundle/vundle
|
||||
url = http://github.com/gmarik/vundle.git
|
||||
|
|
1
.vim/bundle/vundle
Submodule
1
.vim/bundle/vundle
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 3dcb0c32991026d0d226aaad57b622c6553cd0db
|
20
.vimrc
20
.vimrc
|
@ -1,3 +1,17 @@
|
|||
" Plugins
|
||||
execute pathogen#incubate()
|
||||
execute pathogen#infect()
|
||||
|
||||
set rtp+=~/.vim/bundle/vundle/
|
||||
call vundle#rc()
|
||||
|
||||
Bundle 'gmarik/vundle'
|
||||
|
||||
Bundle 'tpope/vim-rails'
|
||||
Bundle 'tpope/vim-repeat'
|
||||
Bundle 'tpope/vim-surround'
|
||||
Bundle 'vim-scripts/ruby-matchit'
|
||||
|
||||
" Options
|
||||
set nocompatible " Disable vi compatibility
|
||||
set ffs=unix,dos " File format prefer unix endings
|
||||
|
@ -26,11 +40,8 @@ set softtabstop=2
|
|||
set shiftwidth=2
|
||||
set expandtab
|
||||
|
||||
" Plugins
|
||||
execute pathogen#incubate()
|
||||
execute pathogen#infect()
|
||||
|
||||
" Filetype stuff
|
||||
syntax on
|
||||
filetype on
|
||||
filetype plugin on
|
||||
filetype indent on
|
||||
|
@ -44,6 +55,7 @@ imap <C-s> <esc>:w<CR>
|
|||
let mapleader = ","
|
||||
|
||||
map <Leader>s :e ~/Source/
|
||||
map <Leader>nc :Nyancat<cr>
|
||||
|
||||
" Set style
|
||||
set guifont=Ubuntu\ Mono\ 10
|
||||
|
|
1
README
1
README
|
@ -5,4 +5,5 @@ git clone repo
|
|||
mv dotfiles/* .
|
||||
git submodule update --init
|
||||
source .zshrc
|
||||
:BundleInstall inside of vim
|
||||
|
||||
|
|
Loading…
Reference in a new issue