Browse files

Add golang support

  • Loading branch information...
1 parent e1d17c4 commit 03c6392067210c9303c4459fb38553ce68e4f6f1 @quiteliderally committed May 25, 2013
Showing with 13 additions and 17 deletions.
  1. +3 −0 .gitmodules
  2. +0 −5 vim/README.markdown
  3. +1 −0 vim/bundle/vim-golang
  4. +0 −8 vim/plugin-info.txt
  5. +9 −4 vimrc
View
3 .gitmodules
@@ -41,3 +41,6 @@
[submodule "vim/bundle/tomorrow-theme-vim"]
path = vim/bundle/tomorrow-theme-vim
url = https://github.com/d11wtq/tomorrow-theme-vim.git
+[submodule "vim/bundle/vim-golang"]
+ path = vim/bundle/vim-golang
+ url = https://github.com/jnwhiteh/vim-golang
View
5 vim/README.markdown
@@ -1,5 +0,0 @@
-Quickly install with:
-
- git clone git://github.com/msanders/snipmate.vim.git
- cd snipmate.vim
- cp -R * ~/.vim
1 vim/bundle/vim-golang
@@ -0,0 +1 @@
+Subproject commit e4f4d6ded00b498e517939f9b01c828ec44de110
View
8 vim/plugin-info.txt
@@ -1,8 +0,0 @@
-{
- "name" : "snipmate",
- "version" : "dev",
- "author" : "Michael Sanders <msanders42@gmail.com>",
- "repository" : {"type": "git", "url": "git://github.com/msanders/snipmate.vim.git"},
- "dependencies" : {},
- "description" : "snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim."
-}
View
13 vimrc
@@ -15,7 +15,9 @@ set tagrelative
set wrap
set linebreak
-set number
+set relativenumber
+autocmd InsertEnter * :set number
+autocmd InsertLeave * :set relativenumber
set ttyfast
set lazyredraw
@@ -26,14 +28,17 @@ autocmd FileType python setlocal expandtab shiftwidth=4 tabstop=8 softtabstop=4
"Open file at last edited location
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g'\"" | endif
-call pathogen#infect()
-call pathogen#helptags()
colorscheme xoria256
nmap <Leader>d :let NERDTreeQuitOnOpen = 1<bar>NERDTreeToggle<CR>
nmap <Leader>D :let NERDTreeQuitOnOpen = 0<bar>NERDTreeToggle<CR>
nmap <Leader>l :set list!<CR>
-filetype plugin on
autocmd FileType mail set spell spelllang=en fo+=aw
set undodir^=~/.vim/undo
+
+filetype plugin indent on
+syntax on
+
+call pathogen#infect()
+call pathogen#helptags()

0 comments on commit 03c6392

Please sign in to comment.