Grimoire-
Command
.es

GNU+Linux command memo

vim : open files indented in spaces or in tabs

Vim code

Ouvrir des fichiers (par exemple Python) indentés en espaces ou en tabulations

$ vim -c "set expandtab" -c "set smarttab" (1)
$ vim -c "set noexpandtab" -c "set nosmarttab" -c "set tabstop=4" (2)
$ vim +retab! (3)
1 Open space indented file
2 Open tab indented file (tabs of 4 spaces)
3 Convert spaces into tabs or reverse the operation

Selection

  • Check SSD remaining lifetime
  • Save data from lost partition
  • Cipher external Android SDcard
  • Recommanded Firefox addons
  • doc_crawler.py : Extract site PDFs
  • 20 mémos "ligne de commande"
  • [Mémo 8] compression de fichiers
  • [Mémo 10] explorer le matériel
  • Tectonique de la pâte thermique
  • Doc. AsciiDoctor en français
  Articles | Command.es | Mémos

Themes  

  • Artix
  • Debian
  • Fairphone
  • Firefox
  • Git
  • JavaScript
  • KVM
  • Memo
  • Nim
  • Python
  • SSH
  • Tor
  • Xorg
  • adminsys
  • android
  • asciidoc
  • benchmark
  • bluetooth
  • code
  • comfort
  • compression
  • database
  • date
  • game
  • hardware
  • install
  • metadata
  • mount
  • music
  • mutt
  • network
  • optimize
  • regex
  • repair
  • security
  • shell
  • storage
  • vim

Sponsor

Meta-Press.es: search-engine

Liberapay   Patreon

Support via BTC 12z7pK5YFcmG7PGJ985dFtnRzwtxDVDmwc

A propos  Flux