{"id":19065314,"url":"https://github.com/tonyho/vim","last_synced_at":"2026-05-15T06:30:17.004Z","repository":{"id":9506305,"uuid":"11400701","full_name":"tonyho/VIM","owner":"tonyho","description":"Vim[contain configuration files]:can used in both in windows MacOS and linux.","archived":false,"fork":false,"pushed_at":"2022-10-12T06:06:35.000Z","size":20661,"stargazers_count":16,"open_issues_count":0,"forks_count":26,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-02T14:14:41.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tonyho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-14T09:01:00.000Z","updated_at":"2024-10-11T15:01:45.000Z","dependencies_parsed_at":"2023-01-11T20:12:32.175Z","dependency_job_id":null,"html_url":"https://github.com/tonyho/VIM","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyho%2FVIM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyho%2FVIM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyho%2FVIM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonyho%2FVIM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonyho","download_url":"https://codeload.github.com/tonyho/VIM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240118431,"owners_count":19750491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T00:49:31.703Z","updated_at":"2026-05-15T06:30:16.590Z","avatar_url":"https://github.com/tonyho.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"Vim/Gvim/MacVim\n===\n\n I found this vim package in[ Here](http://www.oschina.net/code/snippet_574132_13357 \"OSChina\") and I modify some of the configurations and Add two registry file to add two entry (`open in gvim tab` and `Open with gvim`) in Windows right click context menu.\n\n----------\n\n# For Windows: #\n1. After clone the this repo, move this repo directory to where you want to place. \n2. Add the path to system environment variable[path], if you want to using the ctags and cscope.\n3. Modify the path string where store the gvim.exe in registry file `EditWithVim-tab.reg`  and  `EditWithVim.reg`. The default is `D:\\\\software\\\\gVimPortable\\\\vim73\\\\gvim.exe\\`\n4. Double click the registry files to merge them to system. As the registry file name imply, each of them will add a enty in right click context menu.\n\n# For Linux #\n\n1. Clone this repo. eg: \n\n `mkdir ~/github`  \n\n `cd ~/github` \n\n `git clone https://github.com/tonyho/VIM.git`\n\n2. Install the vim(or gvim) using the proper commands, for example in Ubuntu: \n\n `sudo apt-get install vim`\n \n3. Install the cscope, ctags and taglist plugin. eg: \n\n `sudo apt-get install ctags cscope`\n \n4.Symbol link the .vimrc and .gvimrc. Or make a soft link to it:\n\n `cd ~ \u0026\u0026 ln -s  ~/github/VIM/_vimrc  ~/.vimrc`\n\n `cd ~ \u0026\u0026 ln -s  ~/github/VIM/_gvimrc  ~/.gvimrc`\n\n5. Move the vimfiles directory to you home directory, and rename it to .vim,or make a soft link to it: \n\n `ln -s  ~/github/VIM/vimfiles/ .vim` \n\nthen clone the vundle:\n\n `git clone https://github.com/VundleVim/Vundle.vim.git  ~/.vim/bundle/vundle`\n\n# For Cygwin #\n\nThese is no much different between cygwin and linux to use vim.  \n\n# For MacOS #\nClone this repo. eg:\n\n    mkdir ~/github\n    cd ~/github\n    git clone https://github.com/tonyho/VIM.git\n\nInstall the macvim, for someone using the homebrew, use below commands:\n\n    brew install macvim\n\nInstall the cscope, ctags:\n\n    brew install ctags\n    brew install cscope\n\nMove the _vimrc file to you home directory, and rename it to .vimrc. Or make ln to it `cd ~ \u0026\u0026 ln -s  ~/github/VIM/_vimrc  .vimrc`\n\nMove the vimfiles directory to you home directory, and rename it to .vim,or ln it `ln -s  ~/github/VIM/vimfiles/ .vim` ;then clone the vundle:\n\nAdd the macvim's executive files' path to environment variable PATH by appending the below line to the end of file ~/.bash_profile file:\n    export PATH=$PATH:/usr/local/opt/macvim/bin/\n\n# Post clone, we should install the plugins and fonts#\n## Plugins\nSince we use the vundle to manage the plugins, we should install the plugins. Open a terminal, then open the vim:\n    `vim`\nIn Vim, we just call the PluginInstall to let the vundle install all the needed plugins:\n    `:PluginInstall`\nAfter do this, the vundle will auto install the plugins. \n\nIf error occurs, use the `l` to see the logs, or save it the a file. Usually, there're 2 kinds of error:\n\n1. Git repo not existed anymore: for this situation, we need to search in github to a new repo, see the _vimrc content for reference.\n2. Plugin directory already existed in vimfiles/vundle, so just delete it.\n\n## Install Fonts\nInstall fonts placed in user_fonts directory, or install all the powerline fonts:\n\n```shell\n# clone\ngit clone https://github.com/powerline/fonts.git --depth=1\n# install\ncd fonts\n./install.sh\n```\n\nAbout the vundle, you can refer this artcle: [How To Use Vundle to Manage Vim Plugins on a Linux VPS](https://www.digitalocean.com/community/tutorials/how-to-use-vundle-to-manage-vim-plugins-on-a-linux-vps)\n\n## Install YouCompeleteMe\nIf you have golang installled use following:\n    ` ~/.vim/bundle/YouCompleteMe/install.py  --go-completer`\n\nOtherwise, install it without golang support:\n    ` ~/.vim/bundle/YouCompleteMe/install.py`\n    \n# Some plugins' KeyBinding: #\n## SrcExpl: \n\n1. F5--\u003e Open the source explorer window  \n1. F3--\u003e Previous Definition \n1. F4--\u003e Next Definition\n1. F6--\u003e Goto definition\n1. SPACE --\u003e Back from the Definition\n\n## TagList and Tagbar\n1. tl--\u003e taglist, list the tag generated by ctags\n1. tb--\u003e tagbar, like the taglist\n\n## NerdTree\n1. F2--\u003e Nerd Tree sidebar\n\n## Switch buffers\n### In Gvim\n1. Ctrl+Tab--\u003e Switch to next buffer\n1. Ctrl+Shift+Tab--\u003e Switch back to previous buffer\n\n### In vim\n1. :bnext--\u003e Switch to next buffer\n1. :bprev--\u003e Switch back to previous buffer\n\n## Python indent\n1. =--\u003e indent the selected(visual mode) python code\n\n## CtrlP\n1. Ctrl + p--\u003e Ctrlp plugin for search\n\n## Others\n1. cM--\u003e Remove the ^M string at the end of line\n1. cS--\u003e Remove the space string at the end of line\n1. :ToggleWhitespace: Display or hide the highlight for the training space\n1. :StripWhitespace--\u003e Remove the space string at the end of line\n \n\n## tabular\nSee the [tabular plugin vimcast](http://vimcasts.org/episodes/aligning-text-with-tabular-vim/)\n\n## ScreenShot\nA MacVim screenshot:\n\n![ScreenShot](https://raw.githubusercontent.com/tonyho/VIM/master/docs/MacVimScreenCast.jpg?raw=true \"MacVim\")\n----------\n\n----------\n\n## Reference\nRef config [Reference config](https://github.com/ashfinal/vimrc-config)\n\nPowerLine fonts [PowerLine Fonts](hhttps://github.com/powerline/font)\n\nMarkdown CheatSheet [Markdown cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)\n    \n## ChangeLog\n### 2017-12-28\n1. Change the PowerLine to airline with buffer file list at status bar\n1. Add Gvim rc\n1. Change fonts to RobotoMono\n1. Replace Syntastic with YouCompelteMe\n1. Add python relatives\n1. Using PaperColor color theme for Gvim/VIM, for this theme support many other plugins\n1. Add golang plugin: 'fatih/vim-go'\n1. Add ctrlp plugin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonyho%2Fvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonyho%2Fvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonyho%2Fvim/lists"}