From cb95e46ef042a329586beffdef1d3a451341d0a5 Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Tue, 10 Mar 2020 07:07:51 -0400 Subject: [PATCH] vim update --- vim/.vim/bindings.md | 9 +++++++++ vim/.vimrc | 7 +++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/vim/.vim/bindings.md b/vim/.vim/bindings.md index 80e0c7c..795d6a5 100644 --- a/vim/.vim/bindings.md +++ b/vim/.vim/bindings.md @@ -1,5 +1,11 @@ TODO: asciidoc +General Vim + c-p, c-n + dumb completion in open buffers + c-i, c-o + back/forward a jump + EasyAlign C-x in visual mode to do reg expression Vlime @@ -54,3 +60,6 @@ Tmux c-b {v, h} window split c-b w new window tslime: ,t + +TODO YCM + gd goto definition diff --git a/vim/.vimrc b/vim/.vimrc index 6700f63..7336869 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -123,8 +123,10 @@ " Nnoremap % " Vnoremap % " Remap tab to jump by window - nnoremap w - vnoremap w + nnoremap :tabn + vnoremap :tabn + nnoremap :tabp + vnoremap :tabp "}}} @@ -166,6 +168,7 @@ nnoremap d k :r !date nnoremap k :vert new ~/.vim/bindings.md + tnoremap "}}}