Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Add experimental support for nvim #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,14 @@ To upgrade bundles to their latest version, use the bang version:

vim +PluginInstall! +qall # or run :PluginInstall! within Vim

## neovim support (experimental)

Follow the normal installation instructions, then run:

ln -s ~/.vim ~/.config/nvim

## tmux support (optional)

If you will be using VIM with tmux for remote pairing or window management, see
the [pivotal/tmux-config README](https://github.com/pivotal/tmux-config).

10 changes: 10 additions & 0 deletions init.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
" escape to get out of terminal mode
tnoremap <Esc> <C-\><C-n>

" ctrl keys to navigate from terminal mode
tnoremap <C-h> <C-\><C-N><C-w>h
tnoremap <C-j> <C-\><C-N><C-w>j
" tnoremap <C-k> <C-\><C-N><C-w>k
tnoremap <C-l> <C-\><C-N><C-w>l

source ~/.vimrc