From 75d46d84d046611745490c9ce409045a6cf12195 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Sun, 28 Aug 2022 21:28:39 +0200 Subject: [PATCH] vimrc fix go nerdtree --- roles/dotfiles/files/rofi_config | 2 +- roles/dotfiles/files/vimrc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/dotfiles/files/rofi_config b/roles/dotfiles/files/rofi_config index 24243f0..87362e6 100644 --- a/roles/dotfiles/files/rofi_config +++ b/roles/dotfiles/files/rofi_config @@ -1,4 +1,4 @@ configuration { - theme: "/usr/share/rofi/themes/Arc-Dark.rasi"; font: "Roboto Mono 10"; } +@theme "/usr/share/rofi/themes/Arc-Dark.rasi" diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index affc948..a8357b6 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -28,6 +28,7 @@ augroup go au FileType go nmap (go-fmt)(go-lint) au FileType go nmap (go-build) au FileType go nmap (go-run) + au FileType go nmap gd (go-def) augroup end augroup sh autocmd FileType sh :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix @@ -103,3 +104,6 @@ let g:python_highlight_func_calls = 0 " enable rainbow brackets let g:rainbow_active = 1 + +" vim-go +let g:go_def_mapping_enabled = 0