~quaff/vim-dotfiles

quaff's neovim dotfiles.

ec43239 fix: keybind to make linux+toshy work with supermaven

5 months ago

6508130 fix: support breaking changes for latest codecompanion.nvim

5 months ago

#quaff's neovim dotfiles

This is a neovim setup for myself. Feel free to use it if you'd like!

#Installation

To install, clone this repo then symlink the following:

ln -s <working_directory>/neovimrc.lua ~/.config/nvim/init.lua
ln -s <working_directory>/coc-settings.json ~/.config/nvim/coc-settings.json
ln -s <working_directory>/lua ~/.config/nvim/lua

Note: If exists, don't forget to backup init.lua first.

Now you're ready to run nvim!


the following Ubuntu (or equivalent) packages need to be installed:

exuberant-ctags

Plugins & Bundles included:

" system
nvim-tree/nvim-tree.lua
junegunn/fzf
junegunn/fzf.vim
lpinilla/vim-codepainter
segeljakt/vim-silicon
nvim-lua/plenary.nvim
nvim-telescope/telescope.nvim
folke/which-key.nvim
rcarriga/nvim-notify
goolord/alpha-nvim
echasnovski/mini.bufremove

" editor
gpanders/editorconfig.nvim
joonty/vim-taggatron
windwp/nvim-autopairs
kylechui/nvim-surround
Konfekt/FastFold
numToStr/Comment.nvim
sindrets/diffview.nvim
NeogitOrg/neogit
rhysd/git-messenger.vim
lewis6991/gitsigns.nvim

" completion
neoclide/coc.nvim
nvim-treesitter/nvim-treesitter
nvim-treesitter/nvim-treesitter-textobjects
jmbuhr/otter.nvim
dmmulroy/ts-error-translator.nvim
github/copilot.vim
olimorris/codecompanion.nvim

" theme
folke/tokyonight.nvim
stevearc/dressing.nvim
nvim-tree/nvim-web-devicons
norcalli/nvim-colorizer.lua
nvim-lualine/lualine.nvim
akinsho/bufferline.nvim
lukas-reineke/indent-blankline.nvim
lukas-reineke/virt-column.nvim

" language specific
MrAlejandro/vim-phpdoc
heavenshell/vim-jsdoc
HerringtonDarkholme/yats.vim
VidocqH/data-viewer.nvim

Autocomplete is provided by coc.nvim, which will install the following extensions:

coc-json
coc-fzf-preview
coc-highlight
coc-html
coc-css
coc-stylelintplus
coc-biome
coc-eslint
coc-tsserver
coc-svelte
coc-prettier
@yaegassy/coc-intelephense
@yaegassy/coc-laravel
coc-php-cs-fixer
coc-yaml
coc-toml
coc-prisma
coc-rust-analyzer
coc-markdownlint
coc-markdown-preview-enhanced
coc-webview
coc-docker
coc-sh
coc-snippets
coc-lua

tmux needs tpm to be installed, you can install tpm by running:

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Next, copy/symlink .tmux.conf to your home dir. Start tmux for the first time, and hit this keyboard shortcut: CTRL+a+I, this will install tpm plugins.

Once you've done that, you'll need to do the following:

cp -R ./tmux-dracula-scripts/* ~/.tmux/plugins/tmux/scripts/

Reload of the config file with CTRL+a+R, and you're all set.


To enable undercurl in tmux + neovim:

infocmp > /tmp/$TERM.ti

Edit /tmp/$TERM.ti and add Smulx=\E[4\:%p1%dm,, after smul=\E[4m, in the file. Then run:

tic -x /tmp/$TERM.ti