Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemason committed Jun 3, 2022
1 parent 0275827 commit ab426b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ If you'd like to open the result in a split, simply pipe `Ouroboros` to `vsplit`

```viml
autocmd! Filetype c,cpp noremap<buffer> <leader>sv :vsplit \| Ouroboros<CR> " open result in a
vertical split
nautocmd! Filetype c,cpp noremap<buffer> <leader>sh :split \| Ouroboros<CR> " open result in a
horizontal split
autocmd! Filetype c,cpp noremap<buffer> <leader>sv :vsplit \| Ouroboros<CR> " open result in a vertical split
autocmd! Filetype c,cpp noremap<buffer> <leader>sh :split \| Ouroboros<CR> " open result in a horizontal split
```

*NOTE:* This command _does nothing_ unless used in a file ending in `.cpp`,`.hpp`,`.c` or `.h`.
Expand Down
2 changes: 1 addition & 1 deletion doc/ouroboros.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Switching between files is as easy as calling:
I highly suggest binding this to allow quick switching at will:
>
" Example keybinding:
noremap <leader>sw :Ouroboros<CR>
autocmd! Filetype c,cpp map<buffer> <C-e> :Ouroboros<CR>
>
Note
Expand Down

0 comments on commit ab426b1

Please sign in to comment.