Skip to content

wzhzzmzzy/LunarVim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LunarVim Configuration

Development configuration for personal use.

Neovide + macOS + LunarVim, and you will get awesome fluent development experience.

Requirements

  • Neovim@^0.9
  • LunarVim@^1.4

Optional

  • macOS
  • Neovide

Usage

cd ~/.config
git clone https://github.com/wzhzzmzzy/LunarVim.git lvim

Feature

Neovide & MacOS Key mappings

In lua/universal/key-mappings.lua Add the common shortcut key in macOS Neovide is a standalone NeoVim GUI Client writen in Rust

  • Command + a: ggVG(select all)
  • Command + F: telescope live_grep (will bring selected text in visual mode)
  • Command + {: <cmd>b#<cr>(previous buffer, use commonly used shortcut key for switching to previous tab in macos)
  • Command + }: <cmd>bnext<cr>(next buffer)
  • Command + w: <cmd>BufferKill<cr>(kill current buffer)

...and more

Support Framework & Languages

  • Vue@2(vetur)
  • Vue@3(volar)
  • JavaScript/TypeScript(tsserver, not ts_ls because lunarvim use [email protected])
    • DenoJS(deno_ls, only launch when deno.jsonc? is present)
    • ESlint(eslint_d)
    • Prettier(prettier)
  • CSS
    • UnoCSS
    • TailwindCSS
  • Rust

About Vue & Neovide

I didn't find a way to support Vue@2 and Vue@3 in the same config, so vue@3 is default support, vue@2 need one more action.

Here is alias example for fish

# neovide
alias nvim="set -x LVIM_VETUR_ENABLE 0 && neovide --neovim-bin lvim"
alias nvim-vue2="set -x LVIM_VETUR_ENABLE 1 && neovide --neovim-bin lvim"

# Lvim
alias lvim="set -x LVIM_VETUR_ENABLE 0 && lvim"
alias lvim-vue2="set -x LVIM_VETUR_ENABLE 1 && lvim"

Plugins

See all additional plugins in lua/plugins/user/

...and more

About

Personal nvim conf based on LunarVim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages