-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Install procedure in Windows and Linux is as shown below:
For Ubuntu/Raspbian/...
- sudo apt install vim cscope snapd
- (sudo snap install universal-ctags)
- sudo apt install exuberant-ctags
- git clone https://github.com/Jeonghum/vimrc.git
- openup /vimrc and run install.sh(/bin/bash ./install.sh or /bin/ksh ./install.sh)
- run vim and :PluginInstall
- (universal-ctags 가 라즈베리파이 우분투에서 이상동작한 경험이 있다.... 진정 universal 버전이 exubrant 버전보다 좋은 것인가...)
For Windows
- install gvim
- install 7zip
- set an environement variable HOME to C:\Users\{your windows user directory}
- git clone this project
- openup the project - .\vimrc and run install.bat in it
- run gvim and :PluginInstall
- add %HOME%\.vim_tools at the bottom of your PATH variable
You are done! Don't look below.... those are not for anyone else but me
Personal memo : https://stackoverflow.com/questions/3713765/viewing-all-git-diffs-with-vimdiff
http://seungigi.blogspot.kr/2012/02/vimdiff.html
git bash setting tip: https://medium.com/@violetboralee/windows-%EC%82%AC%EC%9A%A9%EC%9E%90%EB%A5%BC-%EC%9C%84%ED%95%9C-git-bash-%EC%84%A4%EC%A0%95-ac50acb34c46
https://github.com/VundleVim/Vundle.vim
I will add update below :
diff --git a/mkcscope.sh b/mkcscope.sh index 9807dc4..0368d16 100755 --- a/mkcscope.sh +++ b/mkcscope.sh @@ -2,7 +2,7 @@
rm -rf cscope.files cscope.out
-find pwd ( -name '.c' -o -name '.cpp' -o -name '.cc' -o -name '.h' -o -name '.hpp' -o -name '.java' -o -name '.s' -o -name '.S' -o -name '.inc' -o -name '.def' ) -print > cscope.files
+find pwd ( -name '.c' -o -name '.cpp' -o -name '.cc' -o -name '.h' -o -name '.hpp' -o -name '.java' -o -name '.s' -o -name '.S' -o -name '.inc' -o -name '.def' ! -type l ) -print > cscope.files
cscope -i cscope.files
diff --git a/mkctags.sh b/mkctags.sh index f7b970d..191962d 100755 --- a/mkctags.sh +++ b/mkctags.sh @@ -2,6 +2,6 @@
rm -rf tags
-ctags --langmap=C++:+.inc+.def --c++-kinds=+p --fields=+iaS --sort=foldcase -R . +ctags --langmap=C++:+.inc+.def --c++-kinds=+p --fields=+iaS --sort=foldcase --links=no -R .
--- a/mkcscope.sh +++ b/mkcscope.sh @@ -2,7 +2,7 @@
rm -rf cscope.files cscope.out
-find pwd ( -name '.c' -o
+find pwd -P ( -name '.c' -o
-name '.cpp' -o
-name '.cc' -o
-name '*.h' -o \