8000 GitHub - jcmspg/nvim-configs: my nvim configuration
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jcmspg/nvim-configs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim and Zsh Configuration Setup




This repository contains configurations for Neovim and Zsh, including plugins and settings for a personalized development environment. Follow the instructions below to set up and install everything.



Image

Neovim Configuration

Plugins Used

  • awesome-vim-colorschemes: Provides a collection of beautiful color schemes for Vim.
  • vim-airline: A lightweight statusline and tabline plugin for Vim.
  • nerdtree: A tree explorer plugin for Vim.
  • vim-devicons: Adds file type icons to Vim plugins and improves the appearance of NERDTree.
  • vim-terminal: Embed a terminal in Neovim for a better integrated development environment.
  • tagbar: Provides an easy way to browse the tags of the current file.
  • coc.nvim: A completion framework for Neovim that uses Language Server Protocol (LSP) to provide auto-completion, diagnostics, and more for various programming languages.
  • delimitMate: Provides auto-closing of quotes, parens, brackets, etc.
  • context.vim: Shows the context of the currently visible part of a file in the statusline.
  • copilot.vim: Provides integration with GitHub Copilot for code suggestions and completions.

Installation Steps

  1. Clone this repository to your local machine:
git clone https://github.com/jcmspg/nvim-configs.git
  1. Install Neovim if you haven't already. Refer to the official documentation for instructions specific to your operating system.
  2. Navigate to the directory containing your Neovim configuration files.
  3. Install the Vim-Plug plugin manager by following the instructions on the Vim-Plug GitHub page.
  4. If you're using Vimscript (init.vim), paste the following configuration into your init.vim file:
call plug#begin('~/.vim/plugged')

" List of plugins...

call plug#end()
  1. If you're using Lua (init.lua), you can use Plug with lua as well. Example:
-- Specify a directory for plugins
vim.cmd('call plug#begin(\'~/.vim/plugged\')')

-- List of plugins...

vim.cmd('call plug#end()')
  1. Launch Neovim and run :PlugInstall to install the plugins managed by Vim-Plug.
  2. Verify that the configuration is working as expected.



Zsh Configuration

Image

Theme used

The Zsh theme used in this configuration is agnoster.

Plugins Used

Installation Steps

  1. Install Oh My Zsh if you haven't already. You can install it via curl or wget:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

or

sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
  1. Replace the default Zsh theme in your ~/.zshrc file with agnoster:
ZSH_THEME="agnoster"
  1. Save your changes and restart your terminal.
  2. If you want to use additional plugins, add them to the plugins array in your ~/.zshrc file.
  3. Verify that the Zsh configuration is applied correctly.



Additional Setup

  1. Environment Variables:

  • If you have any specific environment variables you need to set, you can add them to your ~/.zshrc file using the export command. For example:
export MY_VARIABLE="value"
  1. Aliases and Functions:

  • You can define custom aliases and functions in your ~/.zshrc file to streamline your workflow. For example:
alias ll="ls -l"
  1. Key Bindings

  • Customize key bindings according to your preferences by adding them to your ~/.zshrc file. For example:
bindkey "^[[A" history-search-backward
  1. Additional Plugins

  • Explore additional plugins available for Oh My Zsh and other plugin managers to enhance your shell experience. You can find a list of plugins in the Oh My Zsh Wiki or other plugin repositories.
  1. Tips and Tricks:

  • Take advantage of Zsh features such as globbing, brace expansion, and command substitution to write more efficient and concise shell scripts.
  • Consider setting up a dotfiles repository to manage and version control your configuration files across different machines.
  1. Backup and Version Control:

  • Before making any changes to your configuration files, it's recommended to create a backup or commit your changes to a version control system like Git. This ensures you can easily revert changes if needed and keep track of your configuration history.

More Info

Troubleshooting

  • If you encounter any issues during setup, the wiki page to this repository is still under development, so, as of now, google is your best friend for solutions or workarounds. Also, don't forget to RTFM.

Contributing

  • Contributions are welcome!

License

  • This project is licensed under the MIT License. Make sure to read and understand the terms before using or modifying the configurations.

  • For questions, feedback, or support, feel free to reach out

About

my nvim configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0