From bb0c041d5e59fa0ce3729f1e15452e4cf04b4550 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 20 Mar 2019 22:46:24 +0100 Subject: [PATCH] automatically toggle line numbers for buffers --- .config/nvim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d1af74a..194edf8 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -38,6 +38,9 @@ silent! if plug#begin('~/.local/share/nvim/plugged') Plug 'tpope/vim-sensible' " add seamless movement between vim and tmux, switch windows with C-hjkl Plug 'christoomey/vim-tmux-navigator' +" automatically switch between relative and absolute numbers as buffers move +" into / out of focus (requires number & relativenumber to be set) +Plug 'jeffkreeftmeijer/vim-numbertoggle' " Workflow Plug 'tpope/vim-commentary' " easily toggle comments for lines, paragraphs etc with gc