Skip to content
Jumogehn H edited this page Dec 11, 2023 · 37 revisions

Install procedure in Windows and Linux is as shown below:

For Ubuntu/Raspbian/...

  1. sudo apt install vim cscope snapd
  2. (sudo snap install universal-ctags)
  3. sudo apt install exuberant-ctags
  4. git clone https://github.com/Jeonghum/vimrc.git
  5. openup /vimrc and run install.sh(/bin/bash ./install.sh or /bin/ksh ./install.sh)
  6. run vim and :PluginInstall
  7. (universal-ctags 가 라즈베리파이 우분투에서 이상동작한 경험이 있다.... 진정 universal 버전이 exubrant 버전보다 좋은 것인가...)

For Windows

  1. install gvim
  2. install 7zip
  3. set an environement variable HOME to C:\Users\{your windows user directory}
  4. git clone this project
  5. openup the project - .\vimrc and run install.bat in it
  6. run gvim and :PluginInstall
  7. 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

https://stackoverflow.com/questions/5288875/how-to-expand-collapse-a-diff-sections-in-vimdiff/5292629#5292629

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

https://vimawesome.com/

https://kldp.org/node/125263

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 \

Clone this wiki locally