Navigation in VIM Editor

    Navigation in VIM is so easy and handy. Almost all the operation are used by only ONE keystroke, Don't you believe this? Go through this post...
    Basic motions
    • j: move down one line
    • k: move up one line
    • h: move left one character
    • l: move right one character
    Moving within the line
    • 0: move to the beginning of the line
    • $: move to the end of the line
    • ^: move to the first non-blank character in the line
    • t": jump to right before the next quotes
    • f": jump and land on the next quotes
    Moving by word
    • w: move forward one word
    • b: move back one word
    • e: move to the end of your word
    • W: move forward one big word
    • B: move back one big word
    Moving by sentence or paragraph
    • ): move forward one sentence
    • }: move forward one paragraph
    Moving within the screen
    • H: move to the top of the screen
    • M: move to the middle of the screen
    • L: move to the bottom of the screen
    • gg: go to the top of the file
    • G: go to the bottom of the file
    • ^U: move up half a screen
    • ^D: move down half a screen
    • ^F: page down
    • ^B: page up
    Other motions
    • ^E: scroll up one line
    • ^Y: scroll down one line
    Note : ^ indicates ctrl + 

    Comments

    Popular posts from this blog

    MBR partitioning with 'parted' utility

    Disk Partitioning: MBR vs GPT

    Replace default splash screen in Yocto