{"id":21520273,"url":"https://github.com/mrnkr/nvim-config","last_synced_at":"2026-02-09T14:35:39.251Z","repository":{"id":97409072,"uuid":"322435639","full_name":"mrnkr/nvim-config","owner":"mrnkr","description":"My minimal neovim config for javascript development","archived":false,"fork":false,"pushed_at":"2024-05-19T18:20:51.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T16:52:02.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://neovim.io/","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/mrnkr.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":"2020-12-17T23:18:28.000Z","updated_at":"2024-05-19T18:20:54.000Z","dependencies_parsed_at":"2023-07-22T21:00:06.655Z","dependency_job_id":null,"html_url":"https://github.com/mrnkr/nvim-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrnkr/nvim-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrnkr%2Fnvim-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrnkr%2Fnvim-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrnkr%2Fnvim-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrnkr%2Fnvim-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrnkr","download_url":"https://codeload.github.com/mrnkr/nvim-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrnkr%2Fnvim-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29269017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-24T01:01:27.989Z","updated_at":"2026-02-09T14:35:39.224Z","avatar_url":"https://github.com/mrnkr.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# init.vim\n\nMy nvim config, from Uruguay to the world xD\n\nI wanted to keep it as minimal as possible. The goal is to work with react+node while being able to find my files using fzf, finding text within them using `Ag` and having keybindings be as similar to `vscode`'s as possible.\n\nYou may love vscode's way of solving conflicts, I know I do. If that's the case, the tool I chose to deal with git conflicts which I found to be the simplest and closest to vscode's offering is [conflict-marker.vim](https://github.com/rhysd/conflict-marker.vim), it's just so simple.\n\n## Installation steps\n\n1. Install nvim\n\n```zsh\nbrew install nvim\n```\n\n2. Clone this repo to `~/.config/nvim`\n\n3. Install [vim-plug](https://github.com/junegunn/vim-plug) if it's not already installed on your system\n\n```zsh\nsh -c 'curl -fLo \"${XDG_DATA_HOME:-$HOME/.local/share}\"/nvim/site/autoload/plug.vim --create-dirs \\\n       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'\n```\n\n4. Install [Ag](https://github.com/ggreer/the_silver_searcher) if you don't have it already.\n\n```zsh\nbrew install the_silver_searcher\n```\n\n5. Open nvim and run `:PlugInstall`\n\n## Useful tips\n\n### Searching within a file\n\n1. Press `/`.\n2. Type the search pattern.\n3. Press `Enter` to perform the search.\n4. Press `n` to find the next occurrence or `N` to find the previous occurrence.\n\n### Nevigate through the entire project using a tree view (NERDTree)\n\nTap `Ctrl+B` and you'll toggle NERDTree like you toggle the file explorer in VSCode.\n\n### Searching in all files\n\nTap `Ctrl+F` to use `Ag` to look for any given text in all your files known by git\n\n### Look for a file by name\n\nTap `Ctrl+P` to bring up `fzf` and start typing your filename\n\n### Split screen\n\n1. Tap `Ctrl+W` and then `V` (for vertical split) or `S` (for horizontal split).\n2. Tap `Ctrl+W` and then either `L` or `H` to navigate between vertical splits OR `J` or `K` to navigate between horizontal splits.\n\n### Copying text\n\n1. Go into `VISUAL` mode.\n2. Select all the text you want to copy.\n3. Use key combo `\"+y` to copy to the OS clipboard OR just `y` to copy within VIM.\n\n### Vertical split to compare uncommitted changes to a file with HEAD\n\n`:Gdiffsplit` does this for you.\n\n### Looking at previous revisions of a file with vim-fugitive and vim-unimpaired\n\n1. `:Gclog -10 %` will load the last ten commits that affected the currently open file into the quickfix list.\n2. To navigate between revisions just use `[q` and `]q`.\n\n### Solving git conflicts with conflict-marker.vim\n\n- Navigate between conflict markers using `[x` and `]x`.\n- Use bindings to choose what version you want to keep:\n  - `ct` to keep incoming version\n  - `co` to keep current version\n  - `cb` to keep both versions\n  - `cB` to keep both versions in reverse order\n  - `cn` to keep nothing\n\n### Going back to previous cursor position\n\nPress `Ctrl+O`.\n\n### Show symbol documentation in ts/js\n\nPress `Shift+K`.\n\n#### Some other coc.nvim shortcuts\n\n- `gd` =\u003e go to definition\n- `gi` =\u003e go to implementation\n- `gr` =\u003e find all references\n- `]c` =\u003e go to next issue (error or warning)\n- `[c` =\u003e go to previous issue (error or warning)\n- `:CocDiagnostics` =\u003e show a list of all errors || warnings and take me there when I choose one\n\n### Going to the beginning/end of a file\n\n- `gg` to go to the beginning of the current file.\n- `G` to go to the end of the current file.\n\n### Debugging with vimspector\n\n- First remember to configure your project to use vimspector. For this create a `.vimspector.json` file and check out the [reference docs](https://puremourning.github.io/vimspector/configuration.html#adapter-configurations) to see how to write it.\n- Use the following hotkeys to debug\n  - `F5` to start debugging\n  - `F9` to toggle a breakpoint in the current line\n  - `F10` to step over\n  - `F11` to step into\n  - `F12` to step out\n\n## Potential problems\n\n- You may have `coc.nvim` throw some errors because python is not properly configured. If the language is already installed the error might be you don't have the `neovim` package installed, which can easily be solved by running `pip install neovim`\n- Does the thing look ugly AF with tons of unsupported characters? You're just missing a font, a [`Nerd Font`](https://www.nerdfonts.com/) in particular! Install one (or all fonts using the script they provide) from their repo [right here](https://github.com/ryanoasis/nerd-fonts) and set one to your terminal profile, the one I like is `Ubuntu Nerd Font Mono`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrnkr%2Fnvim-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrnkr%2Fnvim-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrnkr%2Fnvim-config/lists"}