Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

vim replace tabs with spaces

" Vi:

" To replace tabs with spaces whilst typing
set tabstop=4 shiftwidth=4 expandtab
Comment

vim set tab to 4 spaces

set ts=4 sw=4 expandtab
Comment

linux vim set tab to 4 spaces

set ts=4 sw=4
Comment

vim change all spaces to tabs

:%retab!
Comment

vim convert tabs to spaces

:set tabstop=4
Comment

vim convert tabs to spaces

:retab
Comment

linux vim set tab to 4 spaces

syntax enable
Comment

vim convert tabs to spaces

:set expandtab
Comment

PREVIOUS NEXT
Code Example
Shell :: convert mkv to mp4 
Shell :: install docker compose ubuntu 20.04 
Shell :: install docker machine 
Shell :: new screen linux 
Shell :: how to install cab file in ubuntu 
Shell :: powershell add line to beginning of file 
Shell :: netspeed ubuntu 20.04 
Shell :: bash remove string from string 
Shell :: create new remote branch 
Shell :: how to edit crontab macos 
Shell :: git squash commit 
Shell :: push amended commit 
Shell :: pimcore setup / installation 
Shell :: linux user all permissions 
Shell :: install virtual environmnet windows 
Shell :: check if bash variable is undefined 
Shell :: kibana download 
Shell :: insomnia 
Shell :: Jenkins ssh credentials in pipeline 
Shell :: download mongodb ubuntu 20.04 
Shell :: install docker machine ubuntu 
Shell :: awk field separator space 
Shell :: view certificate openssl 
Shell :: git make directory 
Shell :: git log --oneline 
Shell :: linux mount sd card 
Shell :: split vim window 
Shell :: git rebase branch 
Shell :: how to view the list of your environments in your terminal or Anaconda prompt 
Shell :: connect to git repo with ssh-rsa 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =