Skip to content

CSaintos/PDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDE

  • My Personal Development Environment
  • Custom child config of NvChad

Showcase

nvdash editor

Requirements

  • Install Neovim
  • (Optional) Install Nushell my personal favorite shell.
  • (Optional) Install Ripgrep Telescope grep improvement.
  • Install a NerdFont and set the nerdfont in your preferred terminal.
  • NPM is necessary for building one of the plugins.
  • If on Windows, Create a System environment variable
    • XDG_CONFIG_HOME = C:/Users/<user>/.config
  • Delete old neovim folders:
# Unix Bash 
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim

# Windows Powershell
rm ~/AppData/Local/nvim-data -Recurse -Force

Install

  • git clone https://github.com/CSaintos/PDE.git ~/.config/nvim && nvim
  • Wait for Lazy to install plugins then wait for Mason to install all lsps, formaters, debuggers, and linters before quiting :qa.
  • If you decide to use a shell other than ✨nushell✨, then you will need to update the options.lua file.
    • set sh = to your preferred shell
    • set shellcmdflag = to your shell's command flags (or remove this option)
  • Current bug with nushell and Lazy: markdown-preview will need to be installed manually due to unable to invoke nushell.
    • locate markdown-preview in nvim-data/lazy/markdown-preview/app, and run npm install
  • (Optional) To get the vue-language-server working you may need to install the vls parser. Execute npm install -g vls
  • (Optional) To get the javascript/typescript linting engine to work. Execute npm i -g vscode-langservers-extracted

Language Support

  • Various (programming/scripting/markup) languages listed below are supported natively using this configuration.
  • The list also gives brief instructions on how to setup these languages on your machine.

LaTeX

  • Prerequisites:
    • Install TeX Live (Contains Latex compiler and latexmk (build system))
    • Install Perl Language (Various external plugins, packages, and tools (such as vimtex) of Latex require a native install of Perl)

C++

  • Prerequisites:
    • Install a Cpp compiler suite.
      • Windows
        • msys2
        • Start the MSYS2 application, run pacman -Syu to update packages.
        • Install clang: pacman -S mingw-w64-ucrt64-x86_64-clang
          • If clang --version isn't working, make sure to add the bin to system path (environment variables)
    • Create a Clangd config.
      • ex:
CompileFlags:
  Compiler: clang++.exe
  Add: ["--target=x86_64-w64-windows-gnu"]
  Remove: -f*
Diagnostics:
  UnusedIncludes: None
  • Requirements
    • Any cpp project will need a compile_commands.json (Compilation database)
    • It will be used by clangd (for linting and code completions). So it only needs minimal info as below
[
  {
    "directory": "<absolute_path_to_project_dir>",
    "arguments": [
      "clang++.exe",
      "-I<include_dir>"
    ],
    "file": "./<path_to_any_cpp_file_in_project>.cpp"
  }
]

Documentation

  • :h lazy.nvim - Lazy Plugin Manager docs
  • :h nvui - NvChad UI/base46 docs
  • <space>ch - Keymaps

Special thanks to

About

My personal development environment (Neovim)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages