From 3894336b98831ddf4667f02392f22ce93f72fa1f Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 8 Oct 2024 15:00:50 +0200 Subject: improve .vimrc --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 40d2e50..7ce1619 100644 --- a/.vimrc +++ b/.vimrc @@ -64,7 +64,8 @@ autocmd FileType go nmap i (go-info) autocmd FileType go nmap l (go-meta-lint) autocmd FileType go nmap r (go-run) autocmd FileType go nmap t (go-test) -autocmd FileType go nmap f (go-test-func) +" the following collides with reformat +"autocmd FileType go nmap f (go-test-func) autocmd FileType go nmap v (go-referrers) autocmd FileType go nmap n :cnext autocmd FileType go nmap p :cprevious @@ -133,6 +134,7 @@ noremap i :cs find i =expand("") " noremap f :cs find f =expand("") noremap d :cs find d =expand("") +" MacOS: Open QuickLook on current file (for markdown preview mainly) noremap w :!ql % function! CloseOnLast() -- cgit v1.2.3