/nvimflex

Fast custom terminal and neovim like ide

Primary LanguageShell

Faster Customizer

This repo help you to customize your terminal and hyperextensible text editor for your terminal


How will install we?

Step by step, to install it manually or automatically

What will install we?

Terminal Applications IDE
ZSH Curl Neovim
Oh-my-zsh Git Lazy.nvim
Powerlevel10k Python3 Treexplorer
NerdFont Pip3 Shorthands
Plugins Nodejs Dependencies
Autocomplete Live-server Telescope
Autosuggestions LSPs
Highlighting nvim-cmp

Auto-install

[!TIP] Verify cURL have installed in your system

To install cURL:

# Use your package installer
sudo apt install curl

To more information: Click here in Documentation.

Execute to auto-install

sh -c "$(curl -fsSL https://raw.githubusercontent.com/braiicano/neovimflex/termflex)"

Or download installer and run

./Downloadfolder/termflex

Manual

In references links are all sources to install manually the programs

Step by step for install:

For terminal

  • ZSH and tools:

    • Install ZSH
    sudo apt install -y zsh
    • Install Oh-My-Zsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
    curl -fLo "<FONT NAME> Nerd Font Complete.otf" 
    https://github.com/ryanoasis/nerd-fonts/raw/HEAD/patched-fonts/<FONT_PATH>/complete/<FONT_NAME>%20Nerd%20Font%20Complete.otf
    • Install Powerlevel10k
    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
    • Plugins:

      • Autocomplete
      git clone https://github.com/marlonrichert/zsh-autocomplete $HOME/.oh-my-zsh/custom/plugins/zsh-autocomplete
      • Autosuggestions
      git clone https://github.com/zsh-users/zsh-autosuggestions $HOME/.oh-my-zsh/custom/plugins/zsh-autosuggestions
      • Highlighting
      git clone https://github.com/zsh-users/zsh-syntax-highlighting $HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

Tools

  • cURL
    • sudo apt install curl -y
  • GIT
    • sudo apt install git -y
  • Python3
    • sudo apt install python3 python3-pip
  • Nodejs
    • sudo apt install nodejs && sudo npm install -g live-server

IDE

  • Neovim

    • Install neovim:
      • sudo apt install neovim
    • Install nvim.flex
      • git clone https://github.com/braiicano/nvimflex "$HOME/.config/nvim"
  • Dependencies

    • Lazy.nvim

      • Make init file
      cat << EOF > "$HOME/.config/nvim/init.lua"
      --Install first time Lazy
      local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
      if not vim.loop.fs_stat(lazypath) then
      vim.fn.system({
          "git",
          "clone",
          "--filter=blob:none",
          "https://github.com/folke/lazy.nvim.git",
          "--branch=stable", -- latest stable release
          lazypath
      })
      end
      vim.opt.rtp:prepend(lazypath)
      
      --To use Lazy
      require("lazy").setup("nvimflex.plugins")
      EOF
    • Nvim-treesiter

      cat << EOF > "$HOME/.config/nvim/nvimflex/plugins/treesiter.lua
      return{
          "nvim-treesitter/nvim-treesitter",
          dependencies = {
          "nvim-treesitter/nvim-treesitter-textobjects",
          },
          build = ":TSUpdate",
          event = "VeryLazy",
      }
      EOF
    • Plenary.nvim

      Installing automatic when charge Telescope

    • Telescope

      cat << EOF > "$HOME/.config/nvim/nvimflex/plugins/telescope.lua"
      return {
          "nvim-telescope/telescope.nvim",
          tag = "0.1.5",
          dependencies = { 'nvim-lua/plenary.nvim' }
      
      }
      EOF
    • nvim-lspconfig LSP is incluyed in Neovim

    • nvim-cmp

      cat << EOF > "$HOME/.config/nvim/nvimflex/plugins/cmp.lua"
      return{
          "hrsh7th/nvim-cmp",
          dependencies = {
              "neovim/nvim-lspconfig",
              "hrsh7th/cmp-nvim-lsp",
              "hrsh7th/cmp-buffer",
              "hrsh7th/cmp-path",
              "hrsh7th/cmp-cmdline",
              "hrsh7th/nvim-cmp",
              "L3MON4D3/LuaSnip",
              "saadparwaiz1/cmp_luasnip",
          }
      }
      EOF

For more plugins or tools visit github repositories

hrsh7th/nvim-cmp

nvim-telescope/telescope.nvim

nvim-treesitter/nvim-treesiter

neovim/nvim-lspconfig

Color scheme

More plugins


References links

Name Link Description
Zsh Source Is an interactive and it is also a powerful scripting language
Oh my zsh Github Is a framework for managing zsh
Powerlevel10k Github Is a theme for zsh
Nerd Fonts Web Iconic font aggregator, collection, and patcher
Autocomplete Github For autocomplete in real time
Autosuggestion GIthub It suggests commands as you type based on history and completions
Highlighting Github This provides syntax highlighting for the shell zsh
cURL Web cmd line tool and library for transferring data with URLs
GIT Web For version controls
Python3 Web It's a programming language that lets you work quickly
Pip3 Web Package manager for python
Node js Web Cross-platform JavaScript runtime environment
Live-server Source This is a little development server with live reload capability
Neovim Web Hyperextensible Vim-based text editor
Lazy.nvim Github Is a modern plugin manager for Neovim
Telescope GIthub Is a highly extendable fuzzy finder over lists
Treesitter Github Highlight parser tool for neovim
LSP Github Language Server Program for neovim
nvim-cmp Github A completion engine plugin for neovim