{"id":18003009,"url":"https://github.com/zmactep/spacevim.d","last_synced_at":"2025-04-04T09:20:21.031Z","repository":{"id":143004066,"uuid":"180583260","full_name":"zmactep/spacevim.d","owner":"zmactep","description":"My configuration for SpaceVim","archived":false,"fork":false,"pushed_at":"2019-04-15T06:57:50.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T19:53:26.283Z","etag":null,"topics":["configuration","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/zmactep.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":"2019-04-10T13:03:22.000Z","updated_at":"2019-04-15T06:57:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1334137-ea96-4ead-ad34-a31eef2e5783","html_url":"https://github.com/zmactep/spacevim.d","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/zmactep%2Fspacevim.d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmactep%2Fspacevim.d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmactep%2Fspacevim.d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmactep%2Fspacevim.d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmactep","download_url":"https://codeload.github.com/zmactep/spacevim.d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149489,"owners_count":20891954,"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":["configuration","vim"],"created_at":"2024-10-29T23:25:09.563Z","updated_at":"2025-04-04T09:20:21.011Z","avatar_url":"https://github.com/zmactep.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpaceVim Configuration\n\nThis is my SpaveVim configuration for a good life with Haskell, Rust, Python and Markdown.\nTo use this you'll need a small preparation of the system. The instruction is suitable for MacOS.\n\n## Install\n\n### Preparation for haskell\n\n```bash\n$ curl -sSL https://get.haskellstack.org/ | sh\n$ stack setup\n$ git clone git@github.com:haskell/haskell-ide-engine.git\n$ cd haskell-ide-engine\n$ vim shake.yaml # change resolver to a latest lts from stackage\n$ vim stack-8.6.4.yaml # change resolver to a latest lts from stackage\n$ stack install shake\n$ stack ./install.hs hie-8.6.4\n$ stack ./install.hs build-doc-8.6.4\n```\n\n### Preparation for Rust\n\n```bash\n$ curl https://sh.rustup.rs -sSf | sh\n$ rustup update stable\n$ rustup toolchain install stable\n$ rustup component add rls-preview rust-analysis rust-src\n```\n\n### Preparation for Python\n\n```bash\n$ brew install python\n$ pip3 install flake8 yapf autoflake isort ipython python-language-server\n```\n\n### Preparation for Markdown\n\n```bash\n$ brew install node\n$ npm install -g remark\n$ npm install -g remark-cli\n$ npm install -g remark-stringify\n```\n\n### Preparation for a good life\n\nOne of the most annoying things in Vim for me is that the hotkeys do not work on russian keyboard layout. We can fix it with a plugin, that will change layout to basic US keyboard every time we will go to a Normal mode. It will also save the current layout before the switch to go back when you need it. The [plugin ](https://github.com/lyokha/vim-xkbswitch) itself is already bundled to this configuration. But we also need to install a [tool](https://github.com/vovkasm/input-source-switcher) to switch layouts from console.\n\nI have prepared a Homebrew formula for that:\n```ruby\nclass InputSourceSwitcher \u003c Formula\n  desc \"Command line input source switcher for Mac.\"\n  homepage \"https://github.com/vovkasm/input-source-switcher\"\n  url \"https://github.com/vovkasm/input-source-switcher/archive/v0.3.tar.gz\"\n  sha256 \"c4bb51aae132e672c886ed8add7e31300be21569ec3e2867639e6ee23b38d049\"\n  depends_on \"cmake\" =\u003e :build\n\n  def install\n    system \"cmake\", \".\", *std_cmake_args\n    system \"make\", \"install\"\n  end\n\n  test do\n    system \"#{bin}/issw\", \"-l\"\n  end\nend\n```\n\nWe can install it using brew:\n```bash\n$ brew create https://github.com/vovkasm/input-source-switcher/archive/v0.3.tar.gz\n$ # fix the formula like it is shown above\n$ brew install input-source-switcher\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmactep%2Fspacevim.d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmactep%2Fspacevim.d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmactep%2Fspacevim.d/lists"}