xonecas.io
2780
D2

dotfiles-2014 / commit bed6f99

Atom is sucking all the memory on my laptop, vim to the rescue (bye Atom)

Sean2016-09-02 bed6f99392e91572715a593eaa142955ac0e629b parent 2c8076c

2 files changed

install.py+8−15
@@ -2,7 +2,6 @@
22 """ Instalation script for Sean's dev environment.
33 """
44
5-#import argparse
65 import sys
76
87 from os import makedirs
@@ -26,8 +25,9 @@ VIM_COLORS = join(HOME, ".vim", "colors")
2625 TMUX_CONF = join(HOME, ".tmux.conf")
2726 BASHRC = join(HOME, ".bashrc")
2827
28+
2929 def clean():
30- """ This rests everything """
30+ """ This resets everything """
3131
3232 if exists(VIMRC):
3333 remove(VIMRC)
@@ -35,11 +35,11 @@ def clean():
3535 if exists(VIM):
3636 rmtree(VIM)
3737
38- if exists(TMUX_CONF):
39- remove(TMUX_CONF)
38+ # if exists(TMUX_CONF):
39+ # remove(TMUX_CONF)
4040
41- if exists(BASHRC):
42- remove(BASHRC)
41+ # if exists(BASHRC):
42+ # remove(BASHRC)
4343
4444
4545 def create_vim_bundle():
@@ -78,13 +78,6 @@ def clone_plugins():
7878 foldername = splitext(basename(plugin_url))[0]
7979 call(["git", "clone", plugin_url, join(bundle, foldername)])
8080
81- # included in my repo of 256 colors
82- # vimbrant = "https://raw.githubusercontent.com/thayerwilliams/vimbrant/master/vimbrant.vim"
83- # vimbrant_out = join(VIM_COLORS, "vimbrant.vim")
84- # if not exists(VIM_COLORS):
85- # makedirs(VIM_COLORS)
86- # call(["curl", "-L", vimbrant, "-o", vimbrant_out])
87-
8881
8982 def setup_vim():
9083 """ copy the vim file and supporting files """
@@ -98,10 +91,10 @@ def main():
9891 clean()
9992
10093 # tmux
101- #copyfile(join(PWD, "tmux.conf"), TMUX_CONF)
94+ # copyfile(join(PWD, "tmux.conf"), TMUX_CONF)
10295
10396 # bashrc
104- #copyfile(join(PWD, "bashrc"), BASHRC)
97+ # copyfile(join(PWD, "bashrc"), BASHRC)
10598
10699 # vim
107100 create_vim_bundle()
vim_plugins.txt+3−2
@@ -1,5 +1,6 @@
11 https://github.com/tpope/vim-fugitive.git
2-https://github.com/noahfrederick/vim-noctu.git
3-https://github.com/sjl/badwolf.git
42 https://github.com/wincent/command-t.git
53 https://github.com/scrooloose/syntastic.git
4+https://github.com/sjl/badwolf.git
5+https://github.com/YorickPeterse/happy_hacking.vim.git
6+https://github.com/aliou/moriarty.vim.git