Skip to content

Instantly share code, notes, and snippets.

@robbie-cao
Created October 19, 2015 13:24
Show Gist options
  • Save robbie-cao/c54153e36e7a1110875e to your computer and use it in GitHub Desktop.
Save robbie-cao/c54153e36e7a1110875e to your computer and use it in GitHub Desktop.
[?1049h[?1h=[?1l>[?1049l[?1049h[?1h=[?1l>[?1049l[?1049h[?1h=[?1l>[?1049l[?1049h[?1h=[?25lError detected while processing function MarkdownPreviewInit:
line 4:
Traceback (most recent call last):
 File "<string>", line 1, in <module>
 File "/Users/robbie/GitHub/config-vim/bundle/markdown-preview.vim/pythonx/markdown_init.py", line 3, in <module>
 import os, vim, platform, commands, shutil, sys
ImportError: No module named platform[?1000h[?1000l
Press ENTER or type command to continue[?12l[?25h[?1000h[?12;25h[?12l[?25h[?25lE325: ATTENTION
Found a swap file by the name "~/.vimswap/README.md.swp"
owned by: robbie dated: Mon Oct 19 02:39:08 2015
file name: ~robbie/GitHub/config-vim/README.md
modified: YES
user name: robbie host name: robc-mbp.lan
process ID: 87244
While opening file "README.md"
dated: Mon Oct 19 21:10:33 2015
NEWER than swap file!
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r README.md"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/Users/robbie/.vimswap/README.md.swp"
to avoid this message.
[?1000l
Swap file "~/.vimswap/README.md.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: [?12l[?25h[?1000h[?25l"README.md" [RO] 70L, 1590C
Error detected while processing /Users/robbie/GitHub/config-vim/bundle/ultisnips/autoload/UltiSnips.vim:
line 15:
Traceback (most recent call last):
 File "<string>", line 1, in <module>
ImportError: No module named UltiSnips
Error detected while processing function UltiSnips#FileTypeChanged:
line 1:
Traceback (most recent call last):
 File "<string>", line 1, in <module>
NameError: name 'UltiSnips_Manager' is not defined
line 2:
Traceback (most recent call last):
 File "<string>", line 1, in <module>
NameError: name 'UltiSnips_Manager' is not defined
line 1:
Traceback (most recent call last):
 File "<string>", line 1, in <module>
NameError: name 'UltiSnips_Manager' is not defined
line 2:
Traceback (most recent call last):
 File "<string>", line 1, in <module>
NameError: name 'UltiSnips_Manager' is not defined[?1000l[?1000h[?1000l[?1000h
Error detected while processing function youcompleteme#Enable..<SNR>215_SetUpPython:
line 33:
Traceback (most recent call last):[?1000l
Press ENTER or type command to continue[?12l[?25h[?1000h
[?25lError detected while processing function youcompleteme#Enable..<SNR>215_SetUpPython:
line 33:
 File "<string>", line 4, in <module>[?1000l
Press ENTER or type command to continue[?12l[?25h[?1000h
[?25lError detected while processing function youcompleteme#Enable..<SNR>215_SetUpPython:
line 33:
ImportError: No module named subprocess[?1000l
Press ENTER or type command to continue[?12l[?25h[?1000h README.md   ◀◀ buffers [?25l 1 # Vim configuration$
 2 $
 3 **[Robbie Cao](<mailto: robbie.cao@gmail.com>)**$
 4 $
 5 ## Information$
 6 $
 7 This is the .vimrc file of [Robbie Cao](<mailto: robbie.cao@gmail.com>).$
 8 Much of it is beneficial for general use, I would recommend$
 9 picking out the parts you want and understand.$
 10 $
 11 Major of those config are from:$
 12 $
 13 - [spf13](https://github.com/spf13)/[spf13-vim](https://github.com/spf13/spf13-vim)$
 14 - [wklken](https://github.com/wklken)/[k-vim](https://github.com/wklken/k-vim)$
 15 $
 16 Thank [spf13](https://github.com/spf13) and [wklken](https://github.com/wklken) !$
 17 $
 18 ## Installation$
 19 $  20 1. Clone a copy to your local$
 21 $
 22   ```$
 23   $ git clone git@github.com:robbie-cao/config-vim.git$
 24   ```$
 25 $
 26 2. Install dependence packages$
 27   - ctags, ag(the_silver_searcher)$
 28   $
 29   - ubuntu$
 30 $
 31   ```$
 32   $ sudo apt-get install ctags$
 33   $ sudo apt-get install build-essential cmake python-dev #编译YCM自动补全插件依赖$
 34   $ sudo apt-get install silversearcher-ag$
 35   ```$ 36   $ 37   - mac$
 38 $ 39   ```$ 40   $ brew install ctags$ 41   $ brew install the_silver_searcher$
 42   ```$ 43 $ 44 3. Run install.sh$ 45 $[?1000l[?1000h[?1000l[?1000h[?1000l[?1000h NORMAL ▶ ⎇ master ▶ README.md ◀ mkd.markdown ◀ utf-8[unix] ◀ 188 words ❮ 27% ¶ 19: 1 ◀ ! trailing[28] [?12l[?25h[?25l<20> $1. Clone a copy to your local$ 8%20:[?12l[?25h[?25l::[?12l[?25hq[?25l[?12l[?25ha[?25l[?12l[?25h [?25l
[?1000l[?1000h[?1000l[?1l>[?12l[?25h[?1049l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment