DDCODE

Share programming skills from Magic Oriental

upArrow

How does vim set the indentation of gg=G to 4 characters

 May 11, 2019   question, vim

The normal tab indent is 4 characters
However, the batch indent is 8 characters (such as gg=G, 20G=40G)
How do I set it to indent only 4 characters?

set tabstop=4

Related Posts:

  • Vim indentation is aligned in vim mode, but it is…
  • When Vim pastes the code, it displays the level…
  • When vim edits an html file, the indentation of the…
  • Vim profile indentation problem
  • How to provide different indentation widths for…
  • On the Indentation of Brackets in vim
  • How to Set Automatic Indentation of Annotation Lines…
  • The character library with Android system does not…
  • Look for cloud notes that support code indentation…
<< : NERDTree is not an editor command Vim failed to install clang_complete, please help >>

Related Posts:

  • Vim indentation is aligned in vim mode, but it is…
  • When Vim pastes the code, it displays the level…
  • When vim edits an html file, the indentation of the…
  • Vim profile indentation problem
  • How to provide different indentation widths for…
  • On the Indentation of Brackets in vim
  • How to Set Automatic Indentation of Annotation Lines…
  • The character library with Android system does not…
  • Look for cloud notes that support code indentation…

Tags

Android android-studio apache c c++ centos Css css3 Database Docker Eclipse Express Front end git GitHub golang Html html5 Ios java javascript Jquery Laravel linux macos mongodb mysql Nginx node.js npm objective-c php Programmer python redis ruby shell Spring Sql Swift ubuntu vim vue.js Web xcode

Powered by MyWiki WordPress Theme