Giter Site home page Giter Site logo

dotvim's Introduction

๐Ÿฅž DotVim

My Vim Configuration Files with plugins. Used latest in Manjaro Linux. I usually use it to write some Python, C/C++, java and React etc. It uses Vim-Plug to manage Plugins.

Vim Version

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 26 2020 11:45:38)

Included patches: 1-148

Compiled by Arch Linux(Manjaro OS)

Screenshot

On StartUp

screenshot

NerdTree Plugin

screenshot

Tagbar Plugin

screenshot

UndoTree Plugin

screenshot

Short Keys

  • nerdtree toggle: ,d
  • rainbowparentheses toggle: ,r
  • vimshell toggle: ,m
  • tagbar toggle: ,t
  • undotree toggle: ,U
  • spell checking toggle: ,ss
  • paste toggle: <F2>
  • toggle uppercase/lowercase: ~
  • switch window: <C-UpDownLeftRight>
  • resize window: <A-UpDownLeftRightEnter>
  • continue indent text to left or right on select/normal mode: > <
  • Split: :sp Vertical Split: vs
NerdCommenter
  • comment/uncomment: ,cc/,cu
  • comment toggle: ,c<space>
  • comment sexy : cs
Vim-Surround
  • wrap { \ } for a word: ysiw{
  • delete wrap { around word: ds{
  • wrap entire line { : yss{ for parentesis (: yssb
  • change wrap { with [ : cs{[
  • Surround in Visual Mode : S<p class="important">
Utilsnips
  • expand trigger: Tab
  • jump forward trigger: <C-b>
  • jump backward trigger: <C-z>
Vim-multiple-cursors
  • start multicursor: <C-n>
  • next multicursor : <C-n>
  • skip multicursor : <C-x>
  • previous multicursor removing current : <C-p>
  • stop multicursor: v
  • select all multicursors: <A-n>
  • Cancel multicursor: Esc
Python(Insert Mode)
  • $r : return
  • $i : import
  • $p : print
  • ,1 : /class ,C : ?class
  • ,2 : /def ,D : ?def
JavaScript(Import Mode)
  • $r : return
Fugitive
  • git status: :G
  • git <command>: :G<command>
  • git <operation>: :Git <operation>
  • webpage repository: Gbrowse

Upgrading

For Upgrading all Plugins

Manually you can do

  cd ~/.vim
  git submodule foreach git pull origin master

or use Vim-Plug updating and upgrading in vim using :PU command

Removing

For Removing a Plugin

After removing line in plug line in vimrc file do :PlugClean to remove plugin directory from plugged directory.

  cd ~/.vim
  rm -rf plugged/submodule
  git submodule deinit -f -- plugged/submodule
  rm -rf .git/modules/plugged/submodule

Then

 git rm -f plugged/submodule

Note: plugged/submodule (no trailing slash) or, if you want to leave it in your working tree and have deleted the plugin

  git rm --cached plugged/submodule

Plugins

use vim-plug manage plugins๏ผš the .vimrc will automatic download the vim-plug

dotvim's People

Contributors

kingavatar avatar

Stargazers

 avatar

Watchers

 avatar

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.