Are you bored of using standard vim editor?
Do you really want to style and customise your vim editor? Then what you are waiting for.
Just follow the instruction given in the README.md file and impress your friends with it.;-)
After adding and installing plugin “YouCompleteMe” for auto-complete I was getting message while opening any file with vim.
“The ycmd server SHUT DOWN (restart with :YcmRestartServer)”
Even after running command :YcmRestartServer the problem stucked. After searcing on internet, I ran the python script “install.py” under “$HOME/.vim/bundle/YouCompleteMe”
The following table contains some of vim basic commands and the commands run for my vimrc file.
|Type v, yank lines then press Ctrl-c||It will copy lines in visual mode. It will work if you copy this .vimrc file.|
|Tap Esc, then Ctrl -p||It will paste lines in normal mode. It will work if you copy this .vimrc file.|
|:Te filename||It will open that file within the vim editor. You can also select file instead of typing filename. For that type :Te and then open NerdTree(Ctrl +n) and select the exact file.|
|gt||Switch between the files opened with :Te command.|
|Ctrl + ww||Switch between the files opened with :Te command.|
|Ctrl-P||It enables the search within the vim. It uses plugin ctrlp.vim.|
|:sp filename||Split the layout vertically. It means the vim window is divided in two parts upper and lower.|
|:vs filename||Split the layout horizontally. It means the vim window is divided in two parts left and right.|
|:b buffer_number||Switch to that particular buffer.|
|:ls||List all buffers. Buffers are the files open in that vim session.|
|0||To reach the beginning of a line.|
|$||To reach end of a line.|
|*||Move to the next occurrence of the word under cursor.|
|#||Move to the previous occurrence of the word under cursor.|
|gg||To reach beginning of a file.|
|G||To reach end of a file.|
|o||To insert text into a new line.|
|dw||Deletes the first word on the right side of the cursor.|
|.||To repeat the previous command.|
|x||To delete a character.|
|d$||Delete from cursor to the end of current line.|
|5yy||Copy 5 lines.|
|line_no>>G||To go to particular line number.|
|Yank lines,then type :e filename.||Copy-paste from one file to other. Filename is the destination file where you want to paste the lines.|