dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 28e97624caa129028c3280318d36727fb66e3b92
parent eab6afc10d1e3bac2f6c23cce9a611955ec60666
Author: Yuval Langer <yuval.langer@gmail.com>
Date:   Fri, 24 Jan 2014 20:27:41 +0200

Adding local vimrc, spf13 and before spf13 rc dotfiles

Diffstat:
T.vimrc | 0
A.vimrc-2013-12 | 103+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.vimrc.20131209_1386604044 | 103+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.vimrc.before | 2++
A.vimrc.bundles | 2++
A.vimrc.bundles.local | 3+++
A.vimrc.local | 26++++++++++++++++++++++++++
7 files changed, 239 insertions(+), 0 deletions(-)

diff --git a/.vimrc b/.vimrc diff --git a/.vimrc-2013-12 b/.vimrc-2013-12 @@ -0,0 +1,103 @@ +" Some Linux distributions set filetype in /etc/vimrc. +" Clear filetype flags before changing runtimepath to force Vim to reload them. + +filetype off " required by github.com/gmarik/vundle +filetype plugin indent off + +set runtimepath+=$GOROOT/misc/vim + +set nocompatible " be iMproved + +set rtp+=~/.vim/bundle/vundle/ +call vundle#rc() + + +set runtimepath+=$GOROOT/misc/vim " set by Golang + +Bundle 'gmarik/vundle' + +"Bundle 'jceb/vim-orgmode' +Bundle 'bitc/vim-hdevtools' +Bundle 'lukerandall/haskellmode-vim' +Bundle 'eagletmt/ghcmod-vim' + +Bundle 'hsitz/VimOrganizer' +Bundle 'NrrwRgn' +Bundle 'utl.vim' + +Bundle 'Syntastic' + +Bundle 'VOoM' + +"Bundle 'scrooloose/syntastic' + +Bundle 'Blackrush/vim-gocode' + +Bundle 'ivanov/vim-ipython' + +Bundle 'Python-mode-klen' + +Bundle 'davidhalter/jedi-vim' + +Bundle 'neocomplcache' +Bundle 'neco-ghc' + +set expandtab +set smartindent +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set smarttab +set shiftround +set nojoinspaces + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +" Sample .vimrc file by Martin Brochhaus +" Presented at PyCon APAC 2012 + + +" Automatic reloading of .vimrc +autocmd! bufwritepost .vimrc source % + + +" Better copy & paste +" When you want to paste large blocks of code into vim, press F2 before you +" paste. At the bottom you should see ``-- INSERT (paste) --``. +" Doesn't work on gnome-terminal because of its own keybindings. + +"" set pastetoggle=<F2> +"" set clipboard=unnamed + + +" Rebind <Leader> key +" I like to have it here becuase it is easier to reach than the default and +" it is next to ``m`` and ``n`` which I use for navigating between tabs. +"" let mapleader = "," + + +" Bind nohl +" Removes highlight of your last search +" ``<C>`` stands for ``CTRL`` and therefore ``<C-n>`` stands for ``CTRL+n`` +"noremap <C-n> :nohl<CR> +"vnoremap <C-n> :nohl<CR> +"inoremap <C-n> :nohl<CR> + + +" Quicksave command +"noremap <C-Z> :update<CR> +"vnoremap <C-Z> <C-C>:update<CR> +"inoremap <C-Z> <C-O>:update<CR> + +""""""""""""""""""""""""""""""""""""""""""" + +filetype plugin indent on " required by github/gmarik/vundle +filetype on +syntax on + +set number + + +"https://github.com/hsitz/VimOrganizer/blob/master/INSTALL.txt +au! BufRead,BufWrite,BufWritePost,BufNewFile *.org +au BufEnter *.org call org#SetOrgFileType() diff --git a/.vimrc.20131209_1386604044 b/.vimrc.20131209_1386604044 @@ -0,0 +1,103 @@ +" Some Linux distributions set filetype in /etc/vimrc. +" Clear filetype flags before changing runtimepath to force Vim to reload them. + +filetype off " required by github.com/gmarik/vundle +filetype plugin indent off + +set runtimepath+=$GOROOT/misc/vim + +set nocompatible " be iMproved + +set rtp+=~/.vim/bundle/vundle/ +call vundle#rc() + + +set runtimepath+=$GOROOT/misc/vim " set by Golang + +Bundle 'gmarik/vundle' + +"Bundle 'jceb/vim-orgmode' +Bundle 'bitc/vim-hdevtools' +Bundle 'lukerandall/haskellmode-vim' +Bundle 'eagletmt/ghcmod-vim' + +Bundle 'hsitz/VimOrganizer' +Bundle 'NrrwRgn' +Bundle 'utl.vim' + +Bundle 'Syntastic' + +Bundle 'VOoM' + +"Bundle 'scrooloose/syntastic' + +Bundle 'Blackrush/vim-gocode' + +Bundle 'ivanov/vim-ipython' + +Bundle 'Python-mode-klen' + +Bundle 'davidhalter/jedi-vim' + +Bundle 'neocomplcache' +Bundle 'neco-ghc' + +set expandtab +set smartindent +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set smarttab +set shiftround +set nojoinspaces + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +" Sample .vimrc file by Martin Brochhaus +" Presented at PyCon APAC 2012 + + +" Automatic reloading of .vimrc +autocmd! bufwritepost .vimrc source % + + +" Better copy & paste +" When you want to paste large blocks of code into vim, press F2 before you +" paste. At the bottom you should see ``-- INSERT (paste) --``. +" Doesn't work on gnome-terminal because of its own keybindings. + +"" set pastetoggle=<F2> +"" set clipboard=unnamed + + +" Rebind <Leader> key +" I like to have it here becuase it is easier to reach than the default and +" it is next to ``m`` and ``n`` which I use for navigating between tabs. +"" let mapleader = "," + + +" Bind nohl +" Removes highlight of your last search +" ``<C>`` stands for ``CTRL`` and therefore ``<C-n>`` stands for ``CTRL+n`` +"noremap <C-n> :nohl<CR> +"vnoremap <C-n> :nohl<CR> +"inoremap <C-n> :nohl<CR> + + +" Quicksave command +"noremap <C-Z> :update<CR> +"vnoremap <C-Z> <C-C>:update<CR> +"inoremap <C-Z> <C-O>:update<CR> + +""""""""""""""""""""""""""""""""""""""""""" + +filetype plugin indent on " required by github/gmarik/vundle +filetype on +syntax on + +set number + + +"https://github.com/hsitz/VimOrganizer/blob/master/INSTALL.txt +au! BufRead,BufWrite,BufWritePost,BufNewFile *.org +au BufEnter *.org call org#SetOrgFileType() diff --git a/.vimrc.before b/.vimrc.before @@ -0,0 +1 @@ +/home/yankel/.spf13-vim-3/.vimrc.before +\ No newline at end of file diff --git a/.vimrc.bundles b/.vimrc.bundles @@ -0,0 +1 @@ +/home/yankel/.spf13-vim-3/.vimrc.bundles +\ No newline at end of file diff --git a/.vimrc.bundles.local b/.vimrc.bundles.local @@ -0,0 +1,3 @@ +Bundle 'kien/rainbow_parentheses.vim' +Bundle 'vaxe' +Bundle 'hylang/vim-hy' diff --git a/.vimrc.local b/.vimrc.local @@ -0,0 +1,26 @@ +let g:rbpt_colorpairs = [ + \ ['brown', 'RoyalBlue3'], + \ ['Darkblue', 'SeaGreen3'], + \ ['darkgray', 'DarkOrchid3'], + \ ['darkgreen', 'firebrick3'], + \ ['darkcyan', 'RoyalBlue3'], + \ ['darkred', 'SeaGreen3'], + \ ['darkmagenta', 'DarkOrchid3'], + \ ['brown', 'firebrick3'], + \ ['gray', 'RoyalBlue3'], + \ ['black', 'SeaGreen3'], + \ ['darkmagenta', 'DarkOrchid3'], + \ ['Darkblue', 'firebrick3'], + \ ['darkgreen', 'RoyalBlue3'], + \ ['darkcyan', 'SeaGreen3'], + \ ['darkred', 'DarkOrchid3'], + \ ['red', 'firebrick3'], + \ ] +let g:rbpt_max = 16 + +let g:rbpt_loadcmd_toggle = 0 + +au VimEnter * RainbowParenthesesToggle +au Syntax * RainbowParenthesesLoadRound +au Syntax * RainbowParenthesesLoadSquare +au Syntax * RainbowParenthesesLoadBraces