aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-09-21 18:44:02 +0200
committerTeddy Wing2019-09-26 21:42:28 +0200
commit5e73714ccb1423d72b67e16d8a1b6d81cc384f34 (patch)
tree8a9e7a4fa5afa814846355fae2a5262ee35382fe
parentcfebd1313557a47730a78d562207998da1451c76 (diff)
downloaddotvim-5e73714ccb1423d72b67e16d8a1b6d81cc384f34.tar.bz2
ftplugin/go.vim: Change `<leader>cf` mapping to `<leader>cd`
This mapping conflicted with the `<leader>cf` mapping in my `vimrc` that copies the current filename/relative path to the clipboard.
-rw-r--r--ftplugin/go.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/go.vim b/ftplugin/go.vim
index 4f32aa1..7117c5a 100644
--- a/ftplugin/go.vim
+++ b/ftplugin/go.vim
@@ -7,7 +7,7 @@ compiler go
nnoremap <buffer> <leader>cc :make<cr>
" Compile file
-nnoremap <buffer> <leader>cf :make %<cr>
+nnoremap <buffer> <leader>cd :make %<cr>
" Compile & run file
nnoremap <buffer> <leader>cr :!go run %<cr>