Skip to content

yofreOrmaza/DeltaNvim

Repository files navigation

GitHub last commit (branch) GitHub top language GitHub Release



🧠 Animation of a moving sine wave ∿👨‍💻 with Copilot enabled in DeltaNvim

Requirements:

  • Python>3
  • PIP to the latest version with
    • Windows: python.exe -m pip install --upgrade pip
    • Linux(Ubuntu): sudo apt install pip
    • Linux (Arch Linux) sudo pacman -S python-pip
  • Git
  • Nodejs, Npm
    • Windows: nodejs website
    • Linux(Ubuntu):
      sudo apt install curl
      curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
      source ~/.bashrc
      nvm list-remote
      nvm install v<LTSversion>
      nvm list
      nvim install lts/...
      nvm use v<LTSversion>
  • Deno
    • Windows:
    • Linux/Mac:
      • curl -fsSL https://deno.land/install.sh | sh
  • Neovim
    • Windows:
      • In Windows Powershell Install Chocolatey (Do not install Chocolatey through the nodejs installer, but from the script on the web site)
      • As ADMINISTRATOR Install Neovim on Windows Powershell through Chocolatey
    • Linux(Ubuntu):
      sudo apt-get install software-properties-common
      sudo add-apt-repository ppa:neovim-ppa/unstable
      sudo apt-get update
      sudo apt-get install neovim
      sudo apt install python3-neovim
      sudo apt-get install python-dev python-pip python3-dev python3-pip
    • Linux (Arch Linux) sudo pacman -S neovim

Usage

🖥️ Windows
  • Clone the repository to the location AppData/Local/
  • From the terminal, go to the AppData/Local/DeltaNvim/ folder
  • Give permissions to the install.ps1 file with Set-ExecutionPolicy Bypass -Scope Process -Force, and execute it with .\install.ps1
  • Restart the terminal
💻 Linux
  • Clone the repository to the location .config/
  • From the terminal, go to the .config/DeltaNvim/ folder
  • Give permissions to the install.sh file with chmod +x install.sh, and execute it with ./install
  • Restart the terminal

  • In the windows terminal enter DeltaNvim using dnvim
  • To find the configuration folder for DeltaNvim type from neovim :echo stdpath('config')
  • Recommended font: In the fonts folder there is a set of JetBrains fonts, from File Explorer select all fonts and right click on install. Then from the windows console configuration (powershell or cmd) go to the Profiles section and select Defaults, then select Appearance, and in the Font face box select a JetBrains font (JetBrainsMono Nerd Font Mono as a personal recommendation) This font allows the display of icons for both folders and file type, and also for special characters that aesthetically improve the visualization of the code. And finally click on save.

Features

  • Integrated terminal with Ctrl + j
  • LSP server manager, DAP servers, linters and formatters with :Mason
  • A file explorer tree with Ctrl + b
  • Quick and easy mappings (👀 check lua/plugins/keymaps.lua file)
  • Quickly navigate between functions, classes and methods using the hierarchical file view with ts
  • Identification of problems in the code by precise diagnostics 🕵🏻‍♂️ with tt
  • Available code actions 💡 press space + as to display the options (in this case the space key corresponds to the <leader> key)
  • Start or invoke Github Copilot with the command :Copilot setup
    • Use the command :Copilot enable to enable the plugin
    • Use the command :Copilot disable to disable the plugin
    • Use Tab to accept the suggestions
  • Markdown preview with :PeekOpen and :PeekClose (You can check 👀 the lua/plugins/peekdeltanvim.lua file if you want to modify the Live Server settings, such as the default browser for the preview and so on)
  • Support for KaTex for mathematical formulas in Markdown files:
    $$
    E = mc^2
    $$
    
    $E = mc^2$