Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwilm/i3-vim-focus
Vim plugin for seamless navigation between i3 and vim
https://github.com/jwilm/i3-vim-focus
i3 i3wm vim vim-plugins
Last synced: 22 days ago
JSON representation
Vim plugin for seamless navigation between i3 and vim
- Host: GitHub
- URL: https://github.com/jwilm/i3-vim-focus
- Owner: jwilm
- Created: 2017-01-29T23:50:57.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-15T22:58:26.000Z (almost 3 years ago)
- Last Synced: 2024-10-05T01:27:17.077Z (about 1 month ago)
- Topics: i3, i3wm, vim, vim-plugins
- Language: Rust
- Size: 16.6 KB
- Stars: 57
- Watchers: 4
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Vim plugin for seamless i3/vim navigation
=========================================Allows i3 direction keys to control vim splits and i3 windows seamlessly
The `i3-vim-focus` folder has a Rust program that should be installed on the
user's path. It can be build with `cargo build --release`.No changes are necessary to the .vimrc.
Every instance of vim must be launched with a `--servername` argument that
starts with `VIM:` and must be unique. One way to do achieve this is by using an
alias for vim, like so:```bash
alias vim='/usr/local/bin/vim --servername "VIM:$RANDOM"'
```The i3 config needs to be updated with the following bindings.
```
bindsym --release $mod+h exec --no-startup-id "i3-vim-focus left"
bindsym --release $mod+j exec --no-startup-id "i3-vim-focus down"
bindsym --release $mod+k exec --no-startup-id "i3-vim-focus up"
bindsym --release $mod+l exec --no-startup-id "i3-vim-focus right"
```Finally, this project needs to be installed as a vim plugin using
something like pathogen.