Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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
Appearance settings

VS Code Vim bindings I use often.

NotificationsYou must be signed in to change notification settings

davidisfelix/vscodevim-bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Welcome to my personal repository where I store all the most commonly usedVS Code Vim commands. This is a collection of useful shortcuts and commands that enhance my productivity when usingVim insideVS Code.

📝 Table of Contents


🔑 Basic Commands

These are some of the essential Vim commands I use frequently inVS Code:

  • :w — Save the file 💾
  • :q — Quit the editor ❌
  • :wq — Save and quit 💾❌
  • :x — Save and close if there are changes 💾🔒
  • :e <file> — Open a file 📂

🎯 Text Object Commands

Text objects allow you to quickly select or manipulate parts of your text.

  • yi" — Yank everythinginside double quotes (") 📋
  • ya" — Yank everythinginside double quotesincluding the quotes 📝
  • yi' — Yank everythinginside single quotes (') 📋
  • ya' — Yank everythinginside single quotesincluding the quotes 📝
  • vi" — Visually select everythinginside double quotes 🔲
  • va" — Visually select everythinginside double quotesincluding the quotes 🔲
  • D - Delete everything after cursor

🔄 Search and Replace

Search and replace is made easy with Vim commands:

  • /text — Search for the texttext 🔍
  • :%s/old/new/g — Replace all occurrences ofold withnew in the file 🔄
  • :noh — Remove search highlight 🚫

📜 Command List

Here’s a list of all the commands I’ve stored in this repo:

  • yi" — Yank everything inside double quotes 📋
  • ya" — Yank everything inside double quotesincluding the quotes 📝
  • yi' — Yank everything inside single quotes 📋
  • ya' — Yank everything inside single quotesincluding the quotes 📝
  • vi" — Select everything inside double quotes 🔲
  • va" — Select everything inside double quotesincluding the quotes 🔲
  • :w — Save the file 💾
  • :q — Quit the editor ❌
  • :wq — Save and quit 💾❌
  • :x — Save and close if there are changes 💾🔒
  • :e <file> — Open a file 📂
  • /text — Search for the texttext 🔍
  • :%s/old/new/g — Replace all occurrences ofold withnew 🔄
  • :noh — Remove search highlight 🚫

Super helpful

Copy and replace text inside quotes

  • yi" to yank text inside double quotes
  • :%s/ to search and replace
  • ctrl + r then" to past yanked text
  • /<text-to-replace-with> andenter

About

VS Code Vim bindings I use often.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp