InfoHeap
Tech tutorials, tips, tools and more
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Vim tutorials

  • Character toggle case
  • Go back to last edited line
  • Move to matching bracket
  • Multiline search replace with confirmation
  • Open vim at previous location
  • Vim mini cheat sheet
  • Vim redo (undo of last undo)
  • show line numbers
 
  • Home
  • > Tutorials
  • > Vim

Vim – highlight and move to matching bracket

By admin on Jan 12, 2016

To find and move to matching bracket (curly, square or round) use the following command inside vim once you are in one of the brackets.

[ESC] + %

vim-bracket-match-1vim-bracket-match-2

In case you want to just highlight/view the matching bracket, repeat the above command 2 times.

Suggested posts:

  1. Bash check if file begins with a string
  2. Mac – how to copy, alias, move using drag/drop and mouse pointer indicators for these
  3. Python re (regex) match examples
  4. Python re (regex) search examples
  5. Bash – pass all arguments from one script to another
  6. How to do recursive grep with specific file pattern
  7. Phantomjs – how to check what resources are being requested by a page
  8. Mac – print java home on command line
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Linux, Mac, Tutorials, Ubuntu Linux, Vim
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries

Copyright © 2023 InfoHeap.

Powered by WordPress