diff --git a/README.md b/README.md index d413593e..a27fe45a 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,8 @@ If you omit the key combo, you'll get a list of all the maps. You can do the sam * `Cmd-j` and `Cmd-k` to move up and down roughly by functions * `Ctrl-o` - Old cursor position - this is a standard mapping but very useful, so included here * `Ctrl-i` - opposite of Ctrl-O (again, this is standard) + * `,tn` - Toggles between absolute and relative line numbers + * `:NumbersEnable` - Enable automatic toggling between absolute (insert mode) and relative (normal mode) line numbers #### LustyJuggler diff --git a/vim/plugin/settings/yadr-numbers.vim b/vim/plugin/settings/yadr-numbers.vim new file mode 100644 index 00000000..396c666e --- /dev/null +++ b/vim/plugin/settings/yadr-numbers.vim @@ -0,0 +1 @@ +:nnoremap ,tn :NumbersToggle diff --git a/vim/vundles.vim b/vim/vundles.vim index 1645067c..7dcaa509 100644 --- a/vim/vundles.vim +++ b/vim/vundles.vim @@ -102,5 +102,6 @@ Bundle "airblade/vim-gitgutter.git" Bundle "bogado/file-line.git" Bundle "tpope/vim-rvm.git" Bundle "nelstrom/vim-visual-star-search" +Bundle "myusuf3/numbers.vim.git" "Filetype plugin indent on is required by vundle filetype plugin indent on