Holiday idle come to nothing, on their own set up an environment, including: Tools: Ssh,vim Environment: Jdk,hadoop in this record, the next use 1. Tool classThe two commonly used tools for SSH and Vim are two commands:Vim command: sudo apt-get
When you write a script, you can add copyright information so that the maximum usability of the script is where the individual labor isThe following is the automatic configuration to add copyright information when Vim writes a scriptEdit in the user'
Detailed reference http://www.runoob.com/linux/linux-vim.htmlI insertI Line Header InsertionA Line End InsertionFN +←, beginning of the lineFN +→, end of linefn +↑, PAGE upfn +↓, PAGE Down
[Ctrl] + [f]
Screen "Down" to move one
1. Vim Editor1.1 Vim BasicsVIM has two modes: normal mode, insert mode and last line mode, normal mode can use command, insert mode for editing text use, last line mode for command lineInput I will enter insert mode at the cursor, press ESC to exit
: Ve vertically Open Directory structure: S Level Open Directory structureOriginal: Https://stackoverflow.com/questions/14385379/explore-filesystem-directories-in-vimThe best-of-explore filesystem/directories in Vim is the one, the best suits your
Open vim config file (e.g. sudo, or su into root mode)1.sudo VIM/ETC/VIM/VIMRCAdd a row2.set tabstop=4Exit Save3.:wq AdvancedAfter adding the following code to the. VIMRC, restart Vim to create 4 spaces by pressing TAB:Set ts=4 (Note: TS is the
Transferred from: http://blog.csdn.net/jiaolongdy/article/details/17889787/
Vundle is a git repository-based plug-in management software. Vundle simplifies the installation of plug-ins to resemble the Yum software installation process, as long
Vim has no menu, only commands.VIM Exit command "reprint":Note: These commands have a colon before them:When you are finished editing the document, you are ready to exit VI when you return to the shell, you can use one of the following methods.In
Linux uses Vim/vi to encrypt and decrypt filesfirst, using VIM/VI encryption:Advantages: After encryption, if you do not know the password, you can not see the plaintext, including the root user can not see;Cons: Obviously let others know encryption,
Why use VIM? Because of the feature of color display, and also support many program syntax, VIM can help you to debug the program directly. But after the SECURECRT connection Linux display is black and white, feeling very uncomfortable!!What to
Vim's browsingFull page Flip Ctrl-f ctrl-bF is forword B is backwardTurn Half pageCtrl-d Ctlr-uD=down U=upRoll one lineCTRL-E ctrl-yZZ allows the cursor to reside in the center of the screen.ZT keeps the cursor on the top row of the screen t=topZB
Set Autoreadsyntax on "set number" filetype ident on "set Autoindent" set Expandtabset cindentset shiftwidth=4autocmd filety PE make setlocal noexpandtabset tabstop=4set showmatchset matchtime=1set smartindentset scrolloff=3set nocompatible "No Vim
1. Click the ESC key, which means Vim is ready to accept the order.2. Then directly tap the keyboard input command.This step requires that you do not attempt to use the mouse to find anywhere on the screen where you want any input commands.You just
Cat commandImplement merging of several files, and add one or several files to another file.Tar commandPackage a file or directory into a file-C Create a new tar file-t lists the directory names in the tar file-V displays detailed file or directory
The function of Vim editor in Linux is very powerful, many commonly used shortcut keys are very convenient, here will I learn the introduction of vim some of the commonly used shortcut keys to share to everyone, hope to help you.Original address:
In the process of learning to use VIM, we know that in vim, the paste copy of the command is y/p, but we always encounter such a problem: How to paste the contents of vim inside the vim or copy of the content of the vim outside to paste into
One, vim python automatic completion plug-in: pydictionYou can implement the following Python code auto-completion:1. Simple python keyword completion2.python function Completion with parentheses3.python Module Completion4.python module internal
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/97/C8/wKioL1kyuIOB8DIuAAAQijajlbg671.png "title=" Clipboard.png "alt=" Wkiol1kyuiob8diuaaaqijajlbg671.png "/>pydiction can be we use the TAB key to automatically complement the Python code
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.