Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Contains guides and instructions that allow one to quickly set up vim for an efficient dev's workflow

License

NotificationsYou must be signed in to change notification settings

cardboardcode/quick_vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

This document providesguides andinstructions on how to quickly set up vim as part of an efficient developer's workflow.

Shortcuts 🎹

  • i => EnterInsert mode.
  • Esc => ExitInsert mode.
  • yy => Copy entire line into vim clipboard.
  • p => Paste clipboard content.
  • dd => Delete entire line where cursor is currently positioned.
  • Shift +Z +Z => Exitvim editor.
  • Shift +G => Go to end-of-file.

Configuration 📔

Copy the following in the the file~/.vimrc onLinux orC:\Users\%USERNAME%\_vimrc onWindows . If the file does not exist, create it usingcd $HOME && touch .vimrc command:

" Allow easier navigation of vim editor via mouse clicks as well as copying of text outside of vim.setmouse=a" Prevent sections in .md files from collapsing unexpected and causing dev frustrations.setnofoldenable" Prevent vim from automatically shrinking paragraphs for easier editing.setsecuresetclipboard=unnamedplus" Allow lines copied in vim to be pasted onto global clipboard.setnumber" Display line number when editing.setnoswapfile" Optional - Prevent backup files from being generated automatically.setnobackup" Optional - Prevent backup files from being generated automatically.setnowritebackup" Optional - Prevent backup files from being generated automatically.

Plugin Install

Follow the instructions below to install plugins usingVundle. ForVundle installation instructions, please refer to the officialVundle GitHub page.

  1. Include the following plugin statement in.vimrc or_vimrc between the two lines as shown below:
callvundle#begin()Plugin'<github/url_slug>'" Eg. Plugin 'plasticboy/vim-markdown'callvundle#end()
  1. Run:PluginInstall to install the newly added plugin.
vim# Within the vim shell:PluginInstall

Plugin Removal

Follow the instructions below to remove plugins usingVundle.

vim# Within the vim shell:PluginClean# Indicate y to continue.

Windows Installation

  1. Installvim viaChocolatey. Open a command prompt with administrative rights:
choco install vim -y
  1. Configurevim via modifying the file,C:\tools\vim\_vimrc:
notepad C:\tools\vim\_vimrc

You can configure based on theConfigurations recommended settings above.

References

About

Contains guides and instructions that allow one to quickly set up vim for an efficient dev's workflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp