neovim-config-wsl2 icon indicating copy to clipboard operation
neovim-config-wsl2 copied to clipboard

🍕 Inspiring from siduck76/neovim-dots but wsl2

Neovim Config for WSL2 🎵

🍕 Inspiring from siduck76/neovim-dots but wsl2

Main

🙈 Differentation

  • Support clipboard in WSL2 by using win32yank
  • Use ToggleTerm for terminal
  • Use Dashboard for dashboard
  • Use ScrollView for scrollbar
  • Use Glow to review markdown
  • Use Colorizer to review color
  • Support fuzzy find gitmoji
  • Show EOL icon
  • Alway show help in right
  • Show nvim-tree in right
  • Install plugin manually

🗺 Mappings

  • Moving line up, down by Alt + k/j
  • Open terminal Alt + t
  • Comment code Space + /
  • Preview markdown Space + r
  • Find file Space + p
  • Find gitmoji Space + e

🚀 LSP config

  • Support javascript, typescript
  • Support svelte
  • Support CSS
  • Support golang
  • Support python

🔧 Neoformat

  • Go: goimport, gofumpt
  • CSS: prettier
  • Javascript: prettier
  • Markdown: prettier

🍔 Plugins

Plugin Repository
dashboard-nvim https://github.com/glepnir/dashboard-nvim
galaxyline.nvim https://github.com/glepnir/galaxyline.nvim
gitsigns.nvim https://github.com/lewis6991/gitsigns.nvim
glow.nvim https://github.com/npxbr/glow.nvim
lsp-trouble.nvim https://github.com/folke/lsp-trouble.nvim
lspkind-nvim https://github.com/onsails/lspkind-nvim
neoformat https://github.com/sbdchd/neoformat
neoscroll.nvim https://github.com/karb94/neoscroll.nvim
nvim-autopair https://github.com/windwp/nvim-autopairs
nvim-base16 https://github.com/chriskempson/base16-vim
nvim-bufferline.lua https://github.com/akinsho/nvim-bufferline.lua
nvim-colorizer.lua https://github.com/norcalli/nvim-colorizer.lua
nvim-comment https://github.com/terrortylor/nvim-comment
nvim-compe https://github.com/hrsh7th/nvim-compe
nvim-lspconfig https://github.com/neovim/nvim-lspconfig
nvim-scrollview https://github.com/dstein64/nvim-scrollview
nvim-toggleterm.lua https://github.com/akinsho/nvim-toggleterm.lua
nvim-tree.lua https://github.com/kyazdani42/nvim-tree.lua
nvim-treesitter https://github.com/nvim-treesitter/nvim-treesitter
nvim-ts-rainbow https://github.com/p00f/nvim-ts-rainbow
nvim-web-devicons https://github.com/kyazdani42/nvim-web-devicons
plenary.nvim https://github.com/nvim-lua/plenary.nvim
popup.nvim https://github.com/nvim-lua/popup.nvim
telescope.nvim https://github.com/nvim-telescope/telescope.nvim
vim-closetag https://github.com/alvan/vim-closetag
vim-easy-align https://github.com/junegunn/vim-easy-align
vim-illuminate https://github.com/RRethy/vim-illuminate
vim-jsdoc https://github.com/heavenshell/vim-jsdoc
vim-move https://github.com/matze/vim-move
vim-surround https://github.com/tpope/vim-surround

📷 Screenshot

Golang

Golang project

Python

Python project

Javscript

Javascript project

Dashboard

Dashboard

Telescope

Telescope

Gitmoji

Gitmoji

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT