Entab / Detab in VIM
In normal text editors, you select the block of text and then press Tab to entab and Shift + Tab to detab. How do I entab or detab a selected block of text in VIM? ...
In normal text editors, you select the block of text and then press Tab to entab and Shift + Tab to detab. How do I entab or detab a selected block of text in VIM? ...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #define TAB_STOP 8 /* replaces tabs from input with the proper amount of blank spots */ int Detab() { int c, x; int column; x = column = 0; while((c=getchar())!=EOF) { if(c == '\n') /* reseting counter if newline */ { putchar(...