SkillAgentSearch skills...

Lesvim

Nvim config focus on Javascript, Typescript, Rust and Lua - ๐Ÿš€ ๐Ÿ’ช ( Fast and Powerfull ) - Deno and other typescript LSP working well together

Install / Use

/learn @MiaadTeam/Lesvim

README

<!-- PROJECT LOGO --> <br /> <p align="center"> <img src="https://user-images.githubusercontent.com/6236123/194855268-2608742d-ccf2-4767-923e-2e4a99ac8642.png" alt="Lesvim Nvim Screenshot" /> </p> <p align="center"> <h1 align="center"><a href="https://github.com/MiaadTeam/lesvim"><span align='center'>LESVIM</span> </a></h1> <h3 align="center"> <code>LESVIM</code> hosts custom <a href="https://github.com/neovim/neovim"><span align='center'>Nvim</span> </a> configuration for all the platforms, focused on JavaScript, TypeScript, Rust and Lua</h3> <br /> <p align="center"> <a href='https://github.com/MiaadTeam/lesvim/graphs/contributors'> <img alt="GitHub contributors" src="https://img.shields.io/github/contributors/MiaadTeam/lesvim?style=for-the-badge"> </a> <a href='https://github.com/MiaadTeam/lesvim/issues'> <img alt="GitHub issues" src="https://img.shields.io/github/issues/MiaadTeam/lesvim?style=for-the-badge"> </a> </p> <p align="center"> <br /> ยท <a href="https://github.com/MiaadTeam/lesvim/issues">Report Bug</a> ยท <a href="https://github.com/MiaadTeam/lesvim/issues">Request Feature</a> </p> </p> <details open="open"><summary>Table of Contents</summary> </details>

About The Project

We want to create an awesome Development Environment's so a big part of this document is not about Neovim, we briefly talk about the terminal emulator and prompt and other terminal tools, that make possible the whole Development Life live in Terminal.

<img width="1680" alt="Screen Shot 1400-08-18 at 19 05 55" src="https://user-images.githubusercontent.com/6236123/194859831-711b6d8c-ac49-4de3-8cfe-f89b5950c16c.png"> <img width="1680" alt="Screen Shot 1400-08-18 at 23 11 12" src="https://user-images.githubusercontent.com/6236123/140993424-525cf9d2-4530-4412-9f4b-44d29cfa9964.png">

Getting Started

Recommendation

  • We highly recommend using Linux or Mac as your operating system.

  • Please install the nightly build of Neovim, You need at least version 0.8.

  • Using Wezterm as your default Terminal emulator.

    It is a GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

    It's my wezterm.lua, you should put it in $HOME/.config/wezterm/wezterm.lua:

  • Using Fish SHELL as your default Shell.

    It is a user-friendly command-line shell.

    It's my config.fish, you should put it in $HOME/.config/fish/config.fish: please note that you should be install eza zoxide and starship to avoid throwing error for functions and init command in the config file

  • Using starship as your default Shell prompt.

    It is the minimal, blazing-fast, and infinitely customizable prompt for any shell!

    It's my starship.toml, you should put it in $HOME/.config/starship.toml

  • Using lazygit or GitUI for interacting with GIT it's is:

    Simple terminal UI for git commands,

    Blazing ๐Ÿ’ฅ fast terminal-UI for git written in rust ๐Ÿฆ€

    It's my GitUI VIM Like keybinding, you should put it in $HOME/.config/gitui/key_bindings.ron

  • Using eza as a ls command in the terminal:

    A modern replacement for โ€˜lsโ€™.

    I personally set ll alias to eza --tree --level=2 -a --long --header --accessed with this functions in fish shell:

    function ll --wraps=ls --wraps=eza --description 'List contents of directory using eza tree'
        eza --tree --level=2 -a --long --header --accessed --git $argv
    end
    
  • Using zoxide as a cd command in terminal:

    A smarter cd command. Supports all major shells.

  • Using RipGrep as a replacement for grep:

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

  • Using Bat as a replacement for cat:

    A cat(1) clone with wings.

  • Using fd as a replacement for find:

    A simple, fast, and user-friendly alternative to 'find'

  • Using gnu-sed sed (stream editor) is a non-interactive command-line text editor:

    sed is commonly used to filter text, i.e., it takes text input, performs some operation (or set of operations) on it, and outputs the modified text. sed is typically used for extracting part of a file using pattern matching or substituting multiple occurrences of a string within a file.

    MacOs: you need run brew install gnu-sed

you can read a little bit more about the above utils in this article if you want.

Prerequisites

  • Install Rust

  • Install Node JS

  • Install Deno

  • Install Neovim

    • please install the nightly version of Neovim and install LuaJit.
  • Install Cascadia Code, Hack Nerd and Adobe Arabic fonts

  • Install Meslo Nerd Font patched

  • If you decide to use the luffy windline config, install Fira Code iCursive S12.

  • Installing the Formatter

    The major problem regarding the performance of IDE or IDE-Like is owing to the process of formatting documents. So we aim to speed up this process as much as possible.

    We are trying to format documents with utils written in rust RUST

    • Install dprint and set it to your $PATH (Pluggable and configurable code formatting platform written in Rust.)

    • It's my dprint.json file, you should put it in $HOME/.config/dotfiles/dprint/dprint.json

    • Install stylua and set it to your $PATH (An opinionated Lua code formatter written in rust)

    • It's my stylua.toml file, you should put it in $HOME/.config/dotfiles/stylua.toml

    • Install prettier globally: npm i -g prettier (Sorry for using this poorly performing package, however, we need it just for a few filetypes)

  • Install LSPs

    Deno and Rust LSPs are installed and attached to the relevant buffer when you execute the nvim command on your proper root project. if you want to use denolsp just create a deno.json file in the root of you project, and run the nvim command on the root working directory.

    • For installing tsserver LSP just run: npm install -g typescript typescript-language-server. You can read the rest of its doc here

    • For installing cssls LSP just run: npm i -g vscode-langservers-extracted. You can read the rest of its doc here

    • For installing emmet-ls LSP just run: npm install -g emmet-ls. You can read the rest of its doc here

    • For installing sumneko_lua LSP read this doc and this doc

      briefly i used this way for mac and linux:

      1. Install [ninja](https://github.com/ninja-build/ninja/wiki/Pre-built-N

Related Skills

View on GitHub
GitHub Stars210
CategoryDevelopment
Updated5mo ago
Forks20

Languages

Lua

Security Score

82/100

Audited on Nov 2, 2025

No findings