add gif to readme

This commit is contained in:
BZ 2020-06-26 18:35:48 +02:00
parent 7c3260950a
commit 4bb71c272e
1 changed files with 13 additions and 6 deletions

View File

@ -1,8 +1,16 @@
AwesomeWM - Vim - Tmux Navigator AwesomeWM - Vim - Tmux Navigator
================== ==================
This plugin lets you navigate seamlessly between system windows, vim splits and tmux panes using a consisent set of hotkeys. <p align="center">
Based on [christoomey/vim-tmux-navigator](https://github.com/christoomey/vim-tmux-navigator) and [fogine/vim-i3wm-tmux-navigator](https://github.com/fogine/vim-i3wm-tmux-navigator). <img src="https://s7.gifyu.com/images/magic2c10caab0952e59d4.gif">
</p>
`awesomewm-vim-tmux-navigator` lets you navigate seamlessly between system windows, vim splits and tmux panes using a consisent set of hotkeys.
It's based on [christoomey/vim-tmux-navigator](https://github.com/christoomey/vim-tmux-navigator) and [fogine/vim-i3wm-tmux-navigator](https://github.com/fogine/vim-i3wm-tmux-navigator).
How does it work
------------
The plugin detects the focused application and simulates the correct keypresses so you can forget whether you are using tmux, vim, or another application.
Installation Installation
------------ ------------
@ -10,12 +18,11 @@ Installation
### AwesomeWM ### AwesomeWM
Clone the repo. Clone the repo.
``` ```
cd ~/.config/awesome git clone https://github.com/intrntbrn/awesomewm-vim-tmux-navigator ~/.config/awesome/awesomewm-vim-tmux-navigator
git clone https://github.com/intrntbrn/awesomewm-vim-tmux-navigator
``` ```
This path is hardcoded in some configuration files. It's not recommended to change the path since it's hardcoded in some configuration files.
Add your preferred navigation keybinds to `rc.lua` (e.g. <kbd>Mod4</kbd>+<kbd>arrow</kbd> or <kbd>Mod4</kbd>+<kbd>hjkl</kbd>) Add your preferred navigation (focus) keybinds to `rc.lua` (e.g. <kbd>Mod4</kbd>+<kbd>arrow</kbd> or <kbd>Mod4</kbd>+<kbd>hjkl</kbd>)
``` ```
require("awesomewm-vim-tmux-navigator"){ require("awesomewm-vim-tmux-navigator"){