aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/python/python.vim
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-12-04 19:02:03 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-12-04 19:02:03 +0100
commit8f25ec25a41be4abee3217842c350a45e1995b0b (patch)
tree8a025984bd4fa26bb323555bbf5d239c685480f7 /files/vim/ftplugin/python/python.vim
parentcf6fed448406631c8d7e2cbfb7e25248e2ab305f (diff)
downloadconfigs-8f25ec25a41be4abee3217842c350a45e1995b0b.tar.gz
configs-8f25ec25a41be4abee3217842c350a45e1995b0b.zip
Discovered setlocal and map <buffer>.
Diffstat (limited to 'files/vim/ftplugin/python/python.vim')
-rw-r--r--files/vim/ftplugin/python/python.vim20
1 files changed, 10 insertions, 10 deletions
diff --git a/files/vim/ftplugin/python/python.vim b/files/vim/ftplugin/python/python.vim
index bb0e6f9..a67cab6 100644
--- a/files/vim/ftplugin/python/python.vim
+++ b/files/vim/ftplugin/python/python.vim
@@ -3,15 +3,15 @@
" Column marker: 80 characters
call matchadd('ColorColumn', '\%81v', 100)
-let b:syntastic_mode="passive"
+"let b:syntastic_mode="passive"
-nnoremap <leader>C :sp ~/.vim/ftplugin/python/python.vim<CR>
-nnoremap <leader>E :Errors<CR>
+nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/python/python.vim<CR>
+nnoremap <buffer> <leader>E :Errors<CR>
-nnoremap <leader>gt :YcmCompleter GoTo<CR>
-nnoremap <leader>gr :YcmCompleter GoToReferences<CR>
-nnoremap <leader>gd :YcmCompleter GetDoc<CR>
-nnoremap <leader>gT :YcmCompleter GetType<CR>
-nnoremap <leader>fi :YcmCompleter FixIt<CR>
-nnoremap <leader>r :YcmCompleter RefactorRename<Space>
-nnoremap <leader>e :YcmDiags<CR>
+nnoremap <buffer> <leader>gt :YcmCompleter GoTo<CR>
+nnoremap <buffer> <leader>gr :YcmCompleter GoToReferences<CR>
+nnoremap <buffer> <leader>gd :YcmCompleter GetDoc<CR>
+nnoremap <buffer> <leader>gT :YcmCompleter GetType<CR>
+nnoremap <buffer> <leader>fi :YcmCompleter FixIt<CR>
+nnoremap <buffer> <leader>r :YcmCompleter RefactorRename<Space>
+nnoremap <buffer> <leader>e :YcmDiags<CR>