Skip to content

Commit

Permalink
Documentation fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ton van den Heuvel committed Sep 15, 2010
1 parent 5fcb1fc commit f7b2fb2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions README
Expand Up @@ -5,19 +5,19 @@ When editing multiple files oftentimes it would be nice to be able to go back
and forth between the last edited files, just like a web browser allows the
user to navigate web pages forward and backward in history. The standard
:bn(ext) and :bp(revious) Vim commands allow to switch between next and
previous buffers respectively, but they do no take the history of the last used
files into account. Instead, they use the order in which the files were opened,
which can cause confusion in case the user expects to navigate forward and
backwards in history. For example, in case the user opened the files A, B, C
in the order:
previous buffers respectively, but they do no take into account the history of
the last used files. Instead, they use the order in which the files were
opened, which can cause confusion in case the user expects to navigate forward
and backwards in history. For example, in case the user opened the files A, B,
and C in the order:

A, B, C

an the navigation history would be
and the navigation history would be:

A, B, C, B

then :bp(revious) in the last buffer (B) would open up buffer A, where C is
preferable. This buffer supplies the user with the commands :BufSurfNext
and :BufSurfPrevious to navigate buffers forward and backward according to the
viewing history.
preferable. This plugin supplies the user with the commands :BufSurfForward
and :BufSurfBack to navigate buffers forwards and backwards according to the
navigation history.
12 changes: 6 additions & 6 deletions doc/bufsurf.txt
Expand Up @@ -19,17 +19,17 @@ previous buffers respectively, but they do no take the history of the last
used files into account. Instead, they use the order in which the files were
opened, which can cause confusion in case the user expects to navigate forward
and backwards in history. For example, in case the user opened the files A,
B, C in the order:
B, and C in the order:

A, B, C

an the navigation history would be
and the navigation history would be

A, B, C, B

then :bp(revious) in the last buffer (B) would open up buffer A, where C is
preferable. This buffer supplies the user with the commands :BufSurfNext and
:BufSurfPrevious to navigate buffers forward and backward according to the
preferable. This buffer supplies the user with the commands :BufSurfForward
and :BufSurfBack to navigate buffers forwards and backwards according to the
navigation history.

The latest version of this plugin is available at:
Expand Down Expand Up @@ -75,8 +75,8 @@ No default keymappings are provided, but can easily be defined by the user.
For example, to map Control+I to :BufSurfBack, and Control+O to
:BufSurfForward, include the following lines in your Vim configuration:

nmap <silent> <C-i> :BufSurfPrevious<CR>
nmap <silent> <C-o> :BufSurfNext<CR>
nmap <silent> <C-i> :BufSurfBack<CR>
nmap <silent> <C-o> :BufSurfForward<CR>


LICENSE *bufsurf-license*
Expand Down

0 comments on commit f7b2fb2

Please sign in to comment.