Code Monkey home page Code Monkey logo

easy-navigate.vim's Introduction

easy-navigate.vim

Commonly used navigation keymaps for Vim

Storing them in a separate plugin like this to keep .vimrc clean

Install

Using Vundle plugin manager

Plugin 'NLKNguyen/easy-navigate.vim'

Or manually copy easy-navigate.vim to ~/.vim/plugin/

Keymaps

Navigate Between Buffers

Keys Action Equivalence
]b Go to next buffer :bnext
[b Go to previous buffer :bprevious
]B Go to last buffer :blast
[B Go to first buffer :bfirst

Navigate Between Tabs

Keys Action Equivalence
]t Go to next tab :tabnext
[t Go to previous tab :tabprevious
]T Go to last tab :tablast
[T Go to first tab :tabfirst
,` Open a new tab :tabnew
,1 Go to tab #1 1gt
,2 Go to tab #2 2gt
,3 Go to tab #3 3gt
,4 Go to tab #4 4gt
,5 Go to tab #5 5gt
,6 Go to tab #6 6gt
,7 Go to tab #7 7gt
,8 Go to tab #8 8gt
,9 Go to tab #9 9gt
,- Open file browser in new tab :Texplore

Navigate Between Quickfix Errors

Keys Action Equivalence
]q Go to next error :cnext
[q Go to previous error :cprevious
]Q Go to last error :clast
[Q Go to first error :cfirst

Navigate Between Location List Items

Keys Action Equivalence
]l Go to next item :lnext
[l Go to previous item :lprevious
]L Go to last item :llast
[L Go to first item :lfirst

Navigate Between Wrapped Lines These don't affect the usual behavior of the motion keys

Keys Action Equivalence
j Go down a line or wrapped line gj
k Go up a line or wrapped line gk

##Related Project

vim-unimpaired

easy-navigate.vim's People

Contributors

chechorp avatar nlknguyen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.