{"id":19840043,"url":"https://github.com/kwakwaversal/vimfiles","last_synced_at":"2025-02-28T19:17:59.744Z","repository":{"id":40232303,"uuid":"88719569","full_name":"kwakwaversal/vimfiles","owner":"kwakwaversal","description":"My ~/.vim directory. All hail vim.","archived":false,"fork":false,"pushed_at":"2024-11-28T23:50:54.000Z","size":156,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T11:28:07.517Z","etag":null,"topics":["pathogen","vim"],"latest_commit_sha":null,"homepage":null,"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/kwakwaversal.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-19T08:19:18.000Z","updated_at":"2024-11-28T23:50:58.000Z","dependencies_parsed_at":"2024-11-12T12:39:19.680Z","dependency_job_id":null,"html_url":"https://github.com/kwakwaversal/vimfiles","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/kwakwaversal%2Fvimfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwakwaversal%2Fvimfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwakwaversal%2Fvimfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwakwaversal%2Fvimfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kwakwaversal","download_url":"https://codeload.github.com/kwakwaversal/vimfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241209712,"owners_count":19927737,"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":["pathogen","vim"],"created_at":"2024-11-12T12:25:24.726Z","updated_at":"2025-02-28T19:17:59.724Z","avatar_url":"https://github.com/kwakwaversal.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vimfiles\nMy ~/.vim directory. All hail vim.\n\n# Installation\nPlugins are managed using the [Pathogen] plugin manager and tracked using `git\nsubmodule` . Use the `--recursive` option when cloning this repository to\nautomatically download and install them.\n\n```bash\ngit clone --recursive https://github.com/kwakwaversal/vimfiles.git ~/.vim\n```\n\nSet up a symbolic link to this repository's `vimrc` file if using an older\nversion of vim. (Newer versions pick up the existence of the `.vim` folder and\ncontained `vimrc` file.)\n\n```bash\nln -s ~/.vim/vimrc ~/.vimrc\n```\n\nIf a vim plugin has been added after you cloned this repository, you need to\nreinitialise the git submodules and update them.\n\n```bash\ngit submodule update --init\n```\n\n## [coc.vim](https://github.com/neoclide/coc.nvim)\n\nThe plugin coc.vim requires additional configuration. The below is entered\ndirectly from within `vim` itself.\n\n```\n:call coc#util#install()\n:CocInstall coc-tsserver coc-eslint coc-json coc-prettier\n```\n\n# Updating vim\n\nUpdate/install the latest version of vim (optionally with clipboard support).\n\n```console\napt-get install libx11-dev libxt-dev libperl-dev ncurses-dev python python-dev\ngit clone --depth 1 https://github.com/vim/vim\n# python3\n./configure --disable-gui --enable-perlinterp --enable-python3interp=yes --with-features=huge --with-compiledby=inside --with-x\n# python2\n./configure --disable-gui --enable-perlinterp --enable-pythoninterp=yes --with-features=huge --with-compiledby=inside --with-x\nmake -j8\nmake install\n```\n\nAlternatively see https://github.com/jjangsangy/Dotfiles/wiki/Debian-Vim for\nmore complete instructions.\n\n# Environment\nMy environment consists of [Terminator], using the [Powerline font][Powerline\nfonts] `Liberation Mono for Powerline`.\n\n# Vim plugins\n[Pathogen] is used as the plugin manager of choice.\n\n* [ack-vim](https://github.com/mileszs/ack.vim) searching files\n* [solarized](https://github.com/altercation/vim-colors-solarized) colour scheme\n* [vim-airline](https://github.com/vim-airline/vim-airline) status/tabline\n* [vim-airline-themes](https://github.com/vim-airline/vim-airline-themes) airline themes\n* [vim-commentary](https://github.com/tpope/vim-commentary) comment stuff out\n* [vim-cucumber](https://github.com/tpope/vim-cucumber) cucumber indentation, highlighting etc.\n* [vim-dockerfile](https://github.com/ekalinin/Dockerfile.vim) syntax highlighting for Dockerfiles\n* [vim-expand-region](https://github.com/terryma/vim-expand-region) quickly expand visual selection\n* [vim-fugitive-gitlab](https://github.com/shumphrey/fugitive-gitlab.vim) fugitive+gitlab integration\n* [vim-fugitive](https://github.com/tpope/vim-fugitive) git wrapper\n* [vim-fzf](https://github.com/junegunn/fzf.vim#commands) finding files\n* [vim-javascript](https://github.com/pangloss/vim-javascript) Vastly improved Javascript indentation and syntax support in Vim\n* [vim-gitgutter](https://github.com/airblade/vim-gitgutter) git line diffs in the \"gutter\"\n* [vim-pgsql](https://github.com/exu/pgsql.vim) Vim Postgresql syntax file\n* [vim-perl](https://github.com/vim-perl/vim-perl) perl 5 and 6 support\n* [vim-projectionist](https://github.com/tpope/vim-projectionist.git) cycle between related files\n* [vim-repeat](https://github.com/tpope/vim-repeat) add vim repeat feature to extra plugins (e.g., surround)\n* [vim-surround](https://github.com/tpope/vim-surround) manipulate surroundings in pairs\n* [vim-tmux-navigator](https://github.com/christoomey/vim-tmux-navigator) navigate between vim and tmux splits\n* [vim-typescript](https://github.com/leafgarland/typescript-vim) syntax files for typescript\n* [vim-unimpaired](https://github.com/tpope/vim-unimpaired) helpful mappings\n* [vimux](https://github.com/benmills/vimux) interact with tmux from vim\n\nRemoved\n\n* [salt-vim](https://github.com/saltstack/salt-vim) working on [SaltStack] files\n\n## Adding a new plugin\nThe Vim plugins are managed using `git submodule`.\n\n```bash\ngit submodule add https://github.com/vim-perl/vim-perl.git bundle/vim-perl\n```\n\n## Initializing plugins\nWhen using these `vimfiles` from multiple machines, git submodules might be\nadded in a commit from another machine so might need to be initialized.\n\n```bash\ngit submodule init\ngit submodule update\n```\n\n## Updating plugins\nIn the master branch, recursively update all plugins to the latest version.\n\n```bash\ngit submodule update --init --recursive\ngit submodule foreach --recursive git fetch\ngit submodule foreach git pull --ff-only origin master\n```\n\n## Resetting plugins\nIf you've updated some plugins and they're causing issues or you don't want to\ncommit the updated version you can reset them:\n\n```bash\ngit submodule update --init\ngit submodule update --init vim-ultisnips\n```\n\n## Removing plugins\n\n```bash\ngit submodule deinit -f -- bundle/vim-powerline\ngit rm --cached bundle/vim-powerline\n```\n\nSee [https://stackoverflow.com/questions/10168449/git-update-submodule-recursive]\nfor more information.\n\n# neovim\n\n```\npip3 install --upgrade pip\npip3 install --user neovim\nmkdir ~/.vim/tmp\n```\n\nInstall `makedeb` and build `neovim` package.\n\n```\n# If you're running in a noninteractive environment (such as in CI or on a server), change `-ci` to `-c`.\nbash -ci \"$(wget -qO - 'https://shlink.makedeb.org/install')\"\n\nsudo apt install cmake\ngit clone https://mpr.makedeb.org/neovim\ncd neovim/\nmakedeb -si\n```\n\n```\n# ~/.config/nvim/init.vim\nset runtimepath^=~/.vim runtimepath+=~/.vim/after\nlet \u0026packpath = \u0026runtimepath\nsource ~/.vim/vimrc\nset viminfo='10,\\\"100,:20,%,n~/.nviminfo\n```\n\nSee: https://github.com/deoplete-plugins/deoplete-jedi/wiki/Setting-up-Python-for-Neovim#using-virtual-environments\n\n# References\n* [Faster and more natural splits](https://robots.thoughtbot.com/vim-splits-move-faster-and-more-naturally)\n* [Guide to modern web development with neovim](https://medium.freecodecamp.org/a-guide-to-modern-web-development-with-neo-vim-333f7efbf8e2)\n* [How to boost your vim productivity](https://github.com/sheerun/blog/blob/master/_posts/2014-03-21-how-to-boost-your-vim-productivity.markdown)\n* [tmux and vim](https://blog.bugsnag.com/tmux-and-vim/) productivity gains\n    shortcuts to move effortlessly between vim and tmux splits and panes, using\n    the vimux plugin and more.\n* [Using tab pages](http://vim.wikia.com/wiki/Using_tab_pages)\n* [Vim foldding](https://medium.com/vim-drops/javascript-folding-on-vim-119c70d2e872)\n* [Vim genius](http://www.vimgenius.com/) online flashcard-style vim game\n* [Vim tips and tricks](https://www.cs.swarthmore.edu/help/vim/home.html)\n    contains useful tips on reformatting text.\n\n[Pathogen]: https://github.com/tpope/vim-pathogen\n[Powerline fonts]: https://github.com/powerline/fonts\n[SaltStack]: https://saltstack.com/\n[Terminator]: https://gnometerminator.blogspot.co.uk/p/introduction.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkwakwaversal%2Fvimfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkwakwaversal%2Fvimfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkwakwaversal%2Fvimfiles/lists"}