• Edit
  • Delete

Debian Cheatsheet

Toolkit packages

  • apt-get install vim net-tools

VIM

No copy paste in vim

  • vi /usr/share/vim/vim80/defaults.vim
  • Comment out mouse lines
    • " In many terminal emulators the mouse works just fine.  By enabling it you
      " can position the cursor, Visually select and scroll with the mouse.
      "if has('mouse')
      "  set mouse=a
      "endif

Settings

  • vim
    • :mkvimrc
    • :q!
  • vi ~/.vimrc
    • add at the end of file
    • " other stuff
      set bg=light    "because I'm working with white terminal background color
      set paste       "no autoindent when pasting

Backports

https://backports.debian.org/Instructions/

  • vi /etc/apt/sources.list
  • apt-get update
  • apt-get -t stretch-backports install my-package