{"id":23046777,"url":"https://github.com/ronylee11/ant","last_synced_at":"2025-08-15T00:33:35.442Z","repository":{"id":40379120,"uuid":"495096602","full_name":"ronylee11/ant","owner":"ronylee11","description":"My Alacritty+Neovim+Tmux Build that substantially increases coding/typing productivity aka. my \"workspace\" setup","archived":false,"fork":false,"pushed_at":"2025-03-21T06:05:20.000Z","size":158781,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T04:41:26.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/ronylee11.png","metadata":{"files":{"readme":".github/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":"2022-05-22T15:16:58.000Z","updated_at":"2025-03-21T06:05:23.000Z","dependencies_parsed_at":"2023-11-30T09:29:28.178Z","dependency_job_id":"88bcb330-bdbd-4a73-84b6-6c248a98394f","html_url":"https://github.com/ronylee11/ant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ronylee11/ant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronylee11%2Fant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronylee11%2Fant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronylee11%2Fant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronylee11%2Fant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ronylee11","download_url":"https://codeload.github.com/ronylee11/ant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronylee11%2Fant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270505606,"owners_count":24596501,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12-15T22:29:13.772Z","updated_at":"2025-08-15T00:33:35.430Z","avatar_url":"https://github.com/ronylee11.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is this?\n\nMy Alacritty+Neovim+Tmux Build that substantially increases coding/typing productivity\u003cbr /\u003e\naka. my \"workspace\" setup\n\n# Screenshot\n\nPicture of nvim with Netrw and Floaterm (Iceberg Theme on MacOS, with Italic support)\n![Alt text](./assets/mac-display.png)\nPicture of nvim with NERDTree and Floaterm (Iceberg Theme)\n![Alt text](./assets/iceberg-showcase.jpg)\nPicture of nvim with NERDTree and Floaterm (Catppucin Theme)\n![Alt text](./assets/catppucin-showcase.png)\nPicture of nvim with NERDTree and Floaterm (Gruvbox Theme)\n![Alt text](./assets/gruvbox-showcase.png)\nPicture of alacritty with tmux session\n![Alt text](./assets/alacritty+tmux-showcase.png)\n\n# Installation\n\nInstall alacritty, neovim, tmux using your favourite package manager\u003cbr /\u003e\n(Arch Linux)\n\n```\nsudo pacman -S alacritty neovim tmux\n```\n\nRun the Install script\n\n```\ngit clone --depth 1 https://github.com/ronylee11/ant\ngit submodule init\ngit submodule update\ncd ant\n./install.sh\n```\n\nInstall [Vim-Plug](https://github.com/junegunn/vim-plug)\n\n```\ncurl -fLo ~/.vim/autoload/plug.vim --create-dirs \\\n    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\n```\n\nInstall all the plugins in nvim\n\n```\nnvim ~/.vimrc\n:source %\n:PlugInstall\n```\n\nRun `:checkhealth` to add other dependencies you need\u003cbr /\u003e\nTo Enable Python Support\n\n```\npip install pynvim\nsudo pip install pynvim\n```\n\nInstall [TPM](https://github.com/tmux-plugins/tpm)\n\n```\ngit clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm\n```\n\nRun `tmux`\nThen press CTRL+F, R to source tmux.conf\u003cbr/\u003e\nCTRL+F, Shift+I to install tmux plugins\u003cbr/\u003e\n\nInstall other dependencies\n\n```\nsudo npm i -g bash-language-server\nsudo pacman -S ffmpeg yarn ripgrep\n```\n\nEdit snippets with \u003cbr/\u003e\n:CocCommand snippets.editSnippets\u003cbr/\u003e\nat the end of the file, add\u003cbr/\u003e\n\n```\nsnippet cl \"console.log()\" b\nconsole.log($1);\nendsnippet\n```\n\nEnable Copilot\n\n```\nnpm i -g n\nn install v17\n:Copilot setup\n```\n\nDisable Copilot\n\n```\nlet g:copilot_enabled = 0\n```\n\n# Usage\n\nTmux config from Fatih Arslan\n\n```\n    create a tab: ctrl-f c\n    close a tab: ctrl-f \u0026\n    close a pane: ctrl-f x (this also closes the tab if there is a single pane)\n    create vertical pane: ctrl-f v\n    create horizontal pane: ctrl-f s\n    move between panes: ctrl-f h, ctrl-f j, ctrl-f k and ctrl-f l\n    resize panes: ctrl-f H, ctrl-f J, ctrl-f K and ctrl-f L\n    jump to specific tab: ctrl-f \u003cnumber\u003e, i.e: ctrl-f 3\n```\n\nNeovim config\n\n```\n\tCoc.nvim:\n\t\tShow definition of current word - Shift + K\n\tNERDTree:\n\t\tShow Hidden Files - Shift + B\n\t\tToggle Tree - Ctrl + B\n\t\tSwitch to Next Opened File - Ctrl + RightArrow\n\t\tSwitch to Previous Opened File - Ctrl + LeftArrow\n\t\tToggle Focus to Tree - Ctrl + W + W\n\t\tOpen File in New Tab - T\n\t\tOpen File in Horizontal Split - I\n\t\tOpen File in Vertical Split - S\n\t\tCreate/(Move or Rename)/Delete File - M + A/M/D\n    Refresh/Reload Files - R\n\tFloaterm:\n\t\tToggle Terminal - Alt + Escape\n\t\tTerminal Normal Mode - Escape + Escape\n\t\tTerminal Insert Mode - I\n\tVim-Tmux Navigator:\n\t\tSwitch Focus to Left - Ctrl + H\n\t\tSwitch Focus to Right - Ctrl + L\n\t\tSwitch Focus to Top - Ctrl + K\n\t\tSwitch Focus to Bottom - Ctrl + J\n\tNERDcommenter:\n\t\tComment/Uncomment Line - Ctrl + /\n\t\tComment/Uncomment Multiple Line - (Highlight in Visual Mode) and Ctrl + /\n  Telescope:\n    Search File by Filename - Ctrl + P\n    Search File by Content - Ctrl + N\n  Harpoon:\n    View all marked files - Ctrl + A\n    Mark current file - Alt + A\n    Jump to marked file no 1~5 - Alt + 1~5\n\n\n```\n\n# Plugins\n\n- Coc.nvim - https://github.com/neoclide/coc.nvim\n- Nerdtree - https://github.com/preservim/nerdtree\n- Nerdtree Git Plugin - https://github.com/Xuyuanp/nerdtree-git-plugin\n- Nerdtree Devicons - https://github.com/ryanoasis/vim-devicons\n- Nerdtree Syntax Highlight - https://github.com/tiagofumo/vim-nerdtree-syntax-highlight\n- Nerdtree Visual Selection - https://github.com/PhilRunninger/nerdtree-visual-selection\n- Floaterm - https://github.com/voldikss/vim-floaterm\n- Gruvbox Theme - https://github.com/morhetz/gruvbox\n- Airline - https://github.com/vim-airline/vim-airline\n- Airline Theme - https://github.com/vim-airline/vim-airline-themes#vim-airline-themes\n- Yats TS Syntax - https://github.com/HerringtonDarkholme/yats.vim\n- Vim-Tmux Navigator - https://github.com/christoomey/vim-tmux-navigator\n- Nerdcommenter - https://github.com/preservim/nerdcommenter\n- Treesitter - https://github.com/nvim-treesitter/nvim-treesitter\n\n# FAQ\n\n- How to synchronize sudo nvim and nvim ?\u003cbr /\u003e\n  \u003cbr/\u003e\n  In /etc/xdg/nvim/sysinit.vim, add `source /home/\u003cuser\u003e/.config/nvim/init.vim` \u003cbr /\u003e\n  \u003cbr /\u003e\n  Link Treesitter Modules and Coc Settings\n\n  ```\n  ln -s /home/\u003cuser\u003e/.config/nvim/lua /etc/xdg/nvim/lua\n  ln -s /home/\u003cuser\u003e/.config/nvim/coc-settings.json /etc/xdg/nvim/coc-settings.json\n  ```\n\n  Enable Vim-Plug\n\n  ```\n  ln -s /home/\u003cuser\u003e/.vimrc /root/.vimrc\n  ln -s /home/\u003cuser\u003e/.vim/ /root/.vim\n  ```\n\n  Link Coc Extensions\n\n  ```\n  ln -s /home/\u003cuser\u003e/.config/coc /root/.config/coc\n  ```\n\n  Link Plugins\n\n  ```\n  su\n  cd /root/.local/share/nvim/\n  ln -s /home/\u003cuser\u003e/.local/share/nvim/plugged plugged\n  ```\n\n  Link Python Modules (specifically needing pynvim)\n\n  ```\n  cd /root/.local\n  ln -s /home/\u003cuser\u003e/.local/lib lib\n  ```\n\n- How to fix coc-rainbow-fart not playing audio ?\u003cbr /\u003e\n  \u003cbr /\u003e\n  In ~/.config/coc/extensions/coc-rainbow-fart-data\u003cbr /\u003e\n  Remove ffplay and replace it with a symlink to ffplay installed locally (/bin/ffplay)\u003cbr /\u003e\n  With the command `ln -s /bin/ffplay ffplay`\u003cbr /\u003e\n\n# Repositories\n\n- Github - https://github.com/ronylee11/ant\n- Gitlab - https://gitlab.com/ronylee11/ant\n\n# Useful Resources\n\n- Vim Tutorial - https://www.youtube.com/watch?v=H3o4l4GVLW0\u0026list=PLm323Lc7iSW_wuxqmKx_xxNtJC_hJbQ7R\n- How to add Vim Plugins - https://www.linuxfordevices.com/tutorials/linux/vim-plug-install-plugins\n- Lazygit - https://github.com/jesseduffield/lazygit\n- Ben Awad's Vim configure tutorial - https://www.youtube.com/watch?v=gnupOrSEikQ\n- benbrastmckie's ANT build - https://www.youtube.com/watch?v=Xvu1IKEpO0M\u0026t=226s\n- Fatih Arslan's article about Integrating Alacritty with Tmux - https://arslan.io/2018/02/05/gpu-accelerated-terminal-alacritty/\n- ANT True Color issue - https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6\n- NERDTree Keybind - https://vi.stackexchange.com/questions/9967/how-do-i-open-and-close-nerdtree-toggle-nerdtree-view-using-a-single-keystroke\n- Floaterm Keybind - https://github.com/vim/vim/issues/2216\n- Bind Ctrl+/ - https://stackoverflow.com/questions/9051837/how-to-map-c-to-toggle-comments-in-vim\n- How to search for a specific word in all files - https://stackoverflow.com/questions/38398787/how-do-i-search-in-all-files-of-my-project-using-vim\n- How to set specific tab space - https://stackoverflow.com/questions/1878974/redefine-tab-as-4-spaces\n- How to tab forward and backward in vim - https://stackoverflow.com/questions/4559896/how-to-tab-backwards-remove-a-tab-or-tab-spaces-in-vim\n- Zathura config - https://gist.github.com/michaelmrose/9595075b43f24aa903fa\n- How to reload file - https://vi.stackexchange.com/questions/444/how-do-i-reload-the-current-file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronylee11%2Fant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fronylee11%2Fant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronylee11%2Fant/lists"}