It's a crash because of TeamViewer installation, it has been reported to TeamViewer developer team. Meanwhile a solution is proposed by gerlosgm which works perfectly fine for me.
Thanks for the solution :)
# My custom prompt for normal user
PS1="\[$(tput setaf 2)\]\n[\w]\n# \[$(tput sgr0)\]"# My custom prompt for root user
PS1="\[$(tput setaf 1)\]\n[\w]\n# \[$(tput sgr0)\]"vi filenamevi editor is a default editor of all Unix systems. It has several modes. Make sure that your terminal has correct settings, vt100 emulation works good if you are logged in using pc.
autocmd FileType python set omnifunc=pythoncomplete#Complete autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS autocmd FileType html set omnifunc=htmlcomplete#CompleteTags autocmd FileType css set omnifunc=csscomplete#CompleteCSS autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags autocmd FileType php set omnifunc=phpcomplete#CompletePHP autocmd FileType ruby,eruby set omnifunc=rubycomplete#Complete autocmd FileType c set omnifunc=ccomplete#Complete
DESCRIPTION: Marks are useful when you are working in various places of a file or working in various files. You may need to jump to that place quite frequently. At this situation marks just do great.
1. List all marks :marks - Shows a list of marks 2. Marked file places, and global file places m - start marking a-z - for places within file A-Z - for places within global 3. Go to specified mark g' - start mark selection a-z - for places within file A-Z - for places within global i.e. g'C will go to C marked file place g'c will go to c marked place within the file 4. Deleting marks :delmarks a b C V - deletes the provided marks i.e. a b C and V
DESCRIPTION: Now about some buffers. These are files loaded in your current session of VIM.
5. List all buffers :buffers - to see all buffers list in current session 6. Working with buffer(s) :b 1 - b stands for buffer and 1 stands for the buffer number. This will load the buffer number 1 to your VIM window Alternatively you can give the name of the file and press <tab> to crawl all the relative names. 7. Deleting buffer(s) :bdelete! N1 N2 ... :bdelete! {bufname} N1 N2 stands for buffer number to delete alternatively you can give the buffer name and press <tab> to select the exact file you want to unload from buffer list
a) <Esc> - Normal
b) i - Insert
c) v - Visual
1. Opening Vim vim - open vim [filename] - open a file 2. Quit, and save :q! - quit without saving :q - quit :w - write :wq or :x - write and quit 3. Cursor moving k up h l left right j down ^ - content beginning of the line $ - end of line w - move by a word b - move backward by a ward gg - go to the head of the file <shift>+g - go to the end of the file :number - to line number of { - previous paragraph } - next paragraph 4. Editing feature i - insert before the cursor a - append after the cursor o - new line below O - new line above 5. Copy(Yank), paste, and delete yy - copy the whole line yw - copy the word y^ - copy to the beginning of line from cursor position y$ - copy to the end of the line from cursor position p - paste np - where n represents number of times to paste dd - delete the current line dw - delete the current word d^ - delete to the beginning of the line from cursor position d$ - delete to the end of the line from cursor position 6. Visual mode v - select within line V - select lines 7. Formating < - shift back > - shift forward == auto indent 8. Repeating . - repeats the previous command
:%!python -m json.tool