From 6b6eccf959de956c7c4888f6bb9a1f124d23c58d Mon Sep 17 00:00:00 2001 From: chewingbever Date: Sun, 25 Oct 2020 10:10:44 +0100 Subject: [PATCH] Added gb keybinding --- init/coc.vim | 1 + init/plugins.vim | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/init/coc.vim b/init/coc.vim index c378414..dbb445b 100644 --- a/init/coc.vim +++ b/init/coc.vim @@ -23,6 +23,7 @@ nnoremap pwr :CocSearch =expand("") " Go to definition nmap gd (coc-definition) +nmap gb nmap gi (coc-implementation) nmap gr (coc-references) diff --git a/init/plugins.vim b/init/plugins.vim index 6cdf27f..dc7e32e 100644 --- a/init/plugins.vim +++ b/init/plugins.vim @@ -6,7 +6,7 @@ call plug#begin('~/.config/nvim/plugged') " definitions easily. Plug 'ludovicchabant/vim-gutentags', { 'commit': '31c0ead' } -" Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' } +" File navigation Plug 'ctrlpvim/ctrlp.vim' " Git client within Vim @@ -36,6 +36,7 @@ Plug 'hynek/vim-python-pep8-indent' " Text object based on current indent level (e.g. Python) Plug 'michaeljsmith/vim-indent-object' +" Sidebar showing file structure Plug 'scrooloose/nerdtree' " Toml syntax highlighting @@ -44,9 +45,16 @@ Plug 'cespare/vim-toml' " Auto-bracket pairs Plug 'jiangmiao/auto-pairs' -" Auto-align text +" This plugin allows you to align text according to specified delimiters +" e.g. this: +" x = 5 +" alongname = 15 +" can become this: +" x = 15 +" alongname = 15 Plug 'godlygeek/tabular' +" Some auto-complete for haskell Plug 'neovimhaskell/haskell-vim' call plug#end()