GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — learn/doc/linux_setup at main · gyuho/learn

Expand file tree

/

linux_setup

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

linux_setup

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
bashrc.sh
bashrc.sh
 
 
update-bashrc.sh
update-bashrc.sh
 
 
update-vimrc.sh
update-vimrc.sh
 
 
vimrc.vim
vimrc.vim
 
 

README.md

Outline

back to contents

linux setup

Some of my favorite tools: arch linux, vim.

  • Reference
  • vim

↑ top




Reference

  • Learn Enough Command Line to Be Dangerous by Michael Hartl
  • The art of command line

↑ top




vim

           l
          /
         k
        /
       j
      /
     h
  • i : insert mode
  • o : insert a new line and start insert mode
  • : + 1 : beginning of a file
  • G : end of a file
  • 0 : beginning of a line
  • $ : end of a line
  • ctrl + w, s : split horizontally
  • ctrl + w, v : split vertically
  • ctrl + w, arrow : move between panels - ctrl + w, ctrl + w : move between panels - ctrl + w, q : close a panel
  • :vertical resize +10 : horizontal increase
  • F2 : toggle NerdTree
  • F3 : cycle NerdTree
  • F3, m, a : create a new file from NerdTree
  • shift + r : refresh NerdTree
  • g + c : toggle comments
  • d + d : delete the current line
  • d + w : delete the next word
  • d + → : delete the character after cursor
  • d + ← : delete the character before cursor
  • b : beginning of present or previous word
  • w : beginning of next word
  • e : end of present word
  • ea : append at the end of word
  • A : append at the end of line
  • b + v + e : select the current word
  • d + a + w : delete the current word
  • c + a + w : delete the current word, and insert
  • y : copy the selected characters
  • yy : copy the entire line
  • “ + + + y : copy to clipboard
  • u : undo
  • ctrl + r : undo the undo
  • P : paste before the cursor
  • p : paste after
  • /, n : find, and next
  • :%s/old/new/gc : find, and replace
  • . : prepend in comparison with the line above
  • ctrl + n, i : expand selection, and edit
  • ctrl + z : go back to terminal
  • fg : come back to vim
  • ctrl + p : in insert mode, autocomplete
  • ctrl + p : in visual mode, fuzzy file search
  • ctrl + p, p : in visual mode, repeat fuzzy file search
  • space + w : :w
  • space + q : :q
  • NUMBER + >: indent the visual select lines

↑ top




You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.