Skip to content

A Programmer's Blog

about C/C++, Java, Linux …

Tag: vim

Use space instead of Tab in vim

Author Wei XuPosted on May 8, 2012Tags linux, vimLeave a comment on Use space instead of Tab in vim

Use the following settings in ~/.vimrc file:

set expandtab " use space instead of tab
set tabstop=4 " set tab width to 4 spaces
set shiftwidth=4 " auto indented with the reindent operations
Author Wei XuPosted on May 8, 2012Tags linux, vimLeave a comment on Use space instead of Tab in vim

Tags

  • accent
  • asciidoc
  • AWS
  • AWS Lambda
  • blank image
  • Branch
  • C
  • c++
  • Clean up
  • close
  • code reading
  • compression
  • console output
  • Continuous Integration
  • dns
  • ebook
  • encryption
  • execSync
  • Functional Test
  • Git
  • google search
  • java
  • javascript
  • Jenkins
  • kindle
  • linux
  • Multi-configuration Job
  • MySQL
  • Nginx
  • nodejs
  • performance
  • React
  • redis
  • Screenshot
  • serverless-scriptable-plugin
  • socks5
  • SQS
  • ssh tunnel
  • stream processing
  • unlink
  • vim
  • VPS
  • Windows
  • Wordpress
  • zip

Recent Posts

  • Metrics Driven Development – How did I reduce AWS EC2 costs to 27% and improve 25% in latency December 31, 2017
  • Improve performance of React Server Side Render by warming up service December 11, 2017
  • Analyze ‘Connection reset’ error in Nginx upstream with keep-alive enabled November 12, 2017
  • How To: Create Subscription Filter in CloudWatch using serverless June 26, 2017
  • Troubleshooting of blocked requests when fetching messages from hundreds SQS queues June 26, 2017

Recent Comments

  • Metrics Driven Development – How did I reduce AWS EC2 costs to 27% and improve 25% in latency – A Programmer's Blog on Analyze ‘Connection reset’ error in Nginx upstream with keep-alive enabled
  • Ranjith Gowda on Notes for playing with ptrace on 64 bits Ubuntu 12.10
  • Wei Xu on HOW TO: Create ssh tunnel at boot time under Ubuntu
  • H Chan on HOW TO: Create ssh tunnel at boot time under Ubuntu
  • node.js – 无法创建/ dev / stdout:没有这样的设备或地址 - 算法网 on Capture console output when using child_process.execSync in node.js

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
A Programmer's Blog Proudly powered by WordPress