aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
authorjason2017-04-20 16:36:34 -0600
committerjason2017-04-21 11:39:13 -0600
commitcfce7547cd36c8ab7f53fb620e0297e722761d8d (patch)
treeefedc1d027779445575e55af2805386702e50513 /vim/vimrc
parentf176cf30293cf2793f83026a3587752b69b128a9 (diff)
downloaddotfiles-cfce7547cd36c8ab7f53fb620e0297e722761d8d.tar.gz
dotfiles-cfce7547cd36c8ab7f53fb620e0297e722761d8d.zip
Update move in scripts, add bin scripts
Diffstat (limited to 'vim/vimrc')
-rwxr-xr-xvim/vimrc91
1 files changed, 0 insertions, 91 deletions
diff --git a/vim/vimrc b/vim/vimrc
deleted file mode 100755
index 4e1757c..0000000
--- a/vim/vimrc
+++ /dev/null
@@ -1,91 +0,0 @@
1set nocompatible " disable vi settings
2
3set noerrorbells " don't play a noise in macvim
4set vb " flash the screen
5set number " display line numbers
6set bs=2 " allow backspacing over everything in insert mode
7set ai " always set autoindenting on
8set nobackup " don't keep a backup file
9set viminfo='20,\"50 " read/write a .viminfo file, don't store more
10 " than 50 lines of registers
11set history=50 " keep 50 lines of command line history
12set ruler " show the cursor position all the time
13set nowrap " make sure that long lines don't wrap
14set laststatus=2 " Make sure the status line is always displayed
15filetype plugin on
16
17" Switch syntax highlighting on
18syntax enable
19
20" Display bufnr:filetype (dos,unix,mac) in status line
21set statusline=%<%n:%f%h%m%r%=%{&ff}\ %l,%c%V\ %P
22"
23" Hide the mouse pointer while typing
24" The window with the mouse pointer does not automatically become the
25" active window
26" Right mouse button extends selections
27" Turn on mouse support
28set mousehide
29set nomousefocus
30set mousemodel=extend
31set mouse=a
32set colorcolumn=80
33
34" Show paren matches for 5 tenths of a second
35set showmatch
36set matchtime=5
37
38" Setup tabs for 4 spaces
39set tabstop=4
40set shiftwidth=4
41set softtabstop=4
42set textwidth=78
43set smarttab
44set shiftround
45set expandtab
46
47if $TERM_PROGRAM =~ 'APPLE'
48 colorscheme synic
49else
50 set t_Co=256
51 colorscheme synic
52endif
53
54set runtimepath+=~/.vim/vim-addon-manager
55
56filetype indent plugin on | syn on
57
58fun! SetupVAM()
59 let c = get(g:, 'vim_addon_manager', {})
60 let g:vim_addon_manager = c
61 let c.plugin_root_dir = expand('$HOME', 1) . '/.vim/vim-addons'
62
63 " Force your ~/.vim/after directory to be last in &rtp always:
64 " let g:vim_addon_manager.rtp_list_hook = 'vam#ForceUsersAfterDirectoriesToBeLast'
65
66 " most used options you may want to use:
67 " let c.log_to_buf = 1
68 " let c.auto_install = 0
69 let &rtp.=(empty(&rtp)?'':',').c.plugin_root_dir.'/vim-addon-manager'
70 if !isdirectory(c.plugin_root_dir.'/vim-addon-manager/autoload')
71 execute '!git clone --depth=1 git://github.com/MarcWeber/vim-addon-manager '
72 \ shellescape(c.plugin_root_dir.'/vim-addon-manager', 1)
73 endif
74
75 " This provides the VAMActivate command, you could be passing plugin names, too
76 call vam#ActivateAddons([], {})
77endfun
78call SetupVAM()
79
80" ACTIVATING PLUGINS
81
82" OPTION 1, use VAMActivate
83VAMActivate github:scrooloose/nerdtree Gundo github:jmcantrell/vim-virtualenv bufexplorer.zip
84
85" OPTION 2: use call vam#ActivateAddons
86" call vam#ActivateAddons([PLUGIN_NAME], {})
87" use <c-x><c-p> to complete plugin names
88
89" OPTION 3: Create a file ~/.vim-srcipts putting a PLUGIN_NAME into each line
90" See lazy loading plugins section in README.md for details
91" call vam#Scripts('~/.vim-scripts', {'tag_regex': '.*'})