Skip to content

A Programmer's Blog

about C/C++, Java, Linux …

  • Markdown to Html Converter

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

  • asciidoc
  • auto scaling
  • 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
  • Metrics Driven Development
  • Multi-configuration Job
  • MySQL
  • Nginx
  • nodejs
  • performance
  • React
  • redis
  • Screenshot
  • serverless
  • serverless-scriptable-plugin
  • SQS
  • unlink
  • vim
  • VPS
  • warmup
  • Windows
  • Wordpress
  • zip

Recent Posts

  • Metrics Driven Development – What I did to 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

  • cannot create /dev/stdout: No such device or address on Capture console output when using child_process.execSync in node.js
  • Google App Engine - Intermittent 502 / connection reset by peer - Tutorial Guruji on Analyze ‘Connection reset’ error in Nginx upstream with keep-alive enabled
  • 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

Meta

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