forked from vczh-libraries/Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetup.txt
More file actions
72 lines (60 loc) · 1.38 KB
/
Setup.txt
File metadata and controls
72 lines (60 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
======================
ENVIRONMENT
----------------------
Screen Resolution
sudo gedit /etc/default/grub
CRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
sudo update-grub
reboot
----------------------
Input Method
sudo apt-get install ibus-pinyin
sudo apt-get install ibus-sunpinyin
ibus restart
# Settings->TextEntry: add new input methods
# Use [Win]+[Space] to switch
----------------------
X Server
dbus-launch gedit &
----------------------
.vimrc
set tabstop=4
set number
set hlsearch
set fileencodings=utf-8,ucs-bom,cp936
set nocompatible
filetype off
======================
CLANG-COMPLETE
----------------------
apt-get install
libclang-dev
----------------------
vundle
cd /usr/lib/llvm-3.6/lib
ln -s libclang.so.1 libclang.so
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
----------------------
.vimrc
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'Rip-Rip/clang_complete'
call vundle#end()
filetype plugin indent on
let g:clang_complete_open=1
let g:clang_periodic_quickfix=1
let g:clang_snippets=1
let g:clang_close_preview=1
let g:clang_library_path='/usr/lib/llvm-3.6/lib/'
let g:clang_use_library=1
let g:clang_user_options='-std=c++14'
let g:neocomplcache_enable_at_startup=1
----------------------
vim
:PluginInstall
======================
MISC
make 2>&1 | tee make_log
gedit make_log &
nautilus .