Coder Social home page Coder Social logo

vim's Introduction

Vim Configuration Readme

This repository contains my Vim configuration files including plugins, key mappings, and user interface settings. The following sections describe the plugins used, configuration options, and key mappings.

Plugins

The following plugins are used in this configuration:

  • junegunn/vim-easy-align: A plugin that allows easy alignment of text.
  • honza/vim-snippets: A collection of snippets for various programming languages.
  • preservim/nerdtree: A tree explorer plugin.
  • tpope/vim-fireplace: A Clojure REPL plugin.
  • rdnetto/YCM-Generator: A plugin that generates .ycm_extra_conf.py files for the YouCompleteMe plugin.
  • nsf/gocode: A plugin that provides autocompletion for Go programming language.
  • junegunn/fzf: A fuzzy file finder plugin.
  • ~/my-prototype-plugin: A custom plugin.
  • neoclide/coc.nvim: A language server protocol plugin.
  • rhysd/vim-clang-format: A plugin that allows running clang-format from Vim.
  • jiangmiao/auto-pairs: A plugin that automatically adds closing brackets, quotes, and other characters.
  • prettier/vim-prettier: A plugin that allows formatting code with Prettier.

Configuration Options

Formatting g:prettier#autoformat: Enables automatic formatting with Prettier on save. autocmd BufWritePre,FileWritePre *.{js,jsx,ts,tsx,css,scss,less,json,graphql,md} call prettier#autoformat(): Runs Prettier on save for supported file types. nmap :ClangFormat : Runs clang-format on the current file when is pressed. let g:clang_format#style = 'Google': Sets the Google style for clang-format. Auto Save let g:auto_save = 1: Enables auto-save on Vim startup. let g:auto_save_events = ["InsertLeave", "TextChanged"]: Sets events that trigger auto-save.

Custom Colorscheme

image image

Installtion

Clone the repository to your local machine by running the following command in your terminal:

https://github.com/Iam-Arjun23/Vim-Config.git

Navigate to the cloned repository by running:

cd Vim-Config

Copy the vimrc file to your home directory by running:

cp vimrc ~/.vimrc

This will copy the Vim configuration file to your home directory and rename it to .vimrc.

Install the Vim plugin manager, Plug, by running:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

This will download and install the Plug plugin manager.

Launch Vim and run the :PlugInstall command to install the plugins specified in the vimrc file.

:PlugInstall

This will download and install all the plugins listed in the vimrc file.

That's it! You can now start using your new Vim configuration. Try opening a file in Vim and see if everything works as expected.

If you encounter any issues, feel free to open an issue on the repository and we'll do our best to help you out.

vim's People

Contributors

arjxm avatar

Watchers

 avatar

vim's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.