diff options
| author | jason | 2017-04-20 16:36:34 -0600 |
|---|---|---|
| committer | jason | 2017-04-21 11:39:13 -0600 |
| commit | cfce7547cd36c8ab7f53fb620e0297e722761d8d (patch) | |
| tree | efedc1d027779445575e55af2805386702e50513 /vim/vimrc | |
| parent | f176cf30293cf2793f83026a3587752b69b128a9 (diff) | |
| download | dotfiles-cfce7547cd36c8ab7f53fb620e0297e722761d8d.tar.gz dotfiles-cfce7547cd36c8ab7f53fb620e0297e722761d8d.zip | |
Update move in scripts, add bin scripts
Diffstat (limited to 'vim/vimrc')
| -rwxr-xr-x | vim/vimrc | 91 |
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 @@ | |||
| 1 | set nocompatible " disable vi settings | ||
| 2 | |||
| 3 | set noerrorbells " don't play a noise in macvim | ||
| 4 | set vb " flash the screen | ||
| 5 | set number " display line numbers | ||
| 6 | set bs=2 " allow backspacing over everything in insert mode | ||
| 7 | set ai " always set autoindenting on | ||
| 8 | set nobackup " don't keep a backup file | ||
| 9 | set viminfo='20,\"50 " read/write a .viminfo file, don't store more | ||
| 10 | " than 50 lines of registers | ||
| 11 | set history=50 " keep 50 lines of command line history | ||
| 12 | set ruler " show the cursor position all the time | ||
| 13 | set nowrap " make sure that long lines don't wrap | ||
| 14 | set laststatus=2 " Make sure the status line is always displayed | ||
| 15 | filetype plugin on | ||
| 16 | |||
| 17 | " Switch syntax highlighting on | ||
| 18 | syntax enable | ||
| 19 | |||
| 20 | " Display bufnr:filetype (dos,unix,mac) in status line | ||
| 21 | set 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 | ||
| 28 | set mousehide | ||
| 29 | set nomousefocus | ||
| 30 | set mousemodel=extend | ||
| 31 | set mouse=a | ||
| 32 | set colorcolumn=80 | ||
| 33 | |||
| 34 | " Show paren matches for 5 tenths of a second | ||
| 35 | set showmatch | ||
| 36 | set matchtime=5 | ||
| 37 | |||
| 38 | " Setup tabs for 4 spaces | ||
| 39 | set tabstop=4 | ||
| 40 | set shiftwidth=4 | ||
| 41 | set softtabstop=4 | ||
| 42 | set textwidth=78 | ||
| 43 | set smarttab | ||
| 44 | set shiftround | ||
| 45 | set expandtab | ||
| 46 | |||
| 47 | if $TERM_PROGRAM =~ 'APPLE' | ||
| 48 | colorscheme synic | ||
| 49 | else | ||
| 50 | set t_Co=256 | ||
| 51 | colorscheme synic | ||
| 52 | endif | ||
| 53 | |||
| 54 | set runtimepath+=~/.vim/vim-addon-manager | ||
| 55 | |||
| 56 | filetype indent plugin on | syn on | ||
| 57 | |||
| 58 | fun! 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([], {}) | ||
| 77 | endfun | ||
| 78 | call SetupVAM() | ||
| 79 | |||
| 80 | " ACTIVATING PLUGINS | ||
| 81 | |||
| 82 | " OPTION 1, use VAMActivate | ||
| 83 | VAMActivate 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': '.*'}) | ||