mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Simplify init.vim and move settings to autoload and after directory
This commit is contained in:
3
after/ftplugin/python.vim
Normal file
3
after/ftplugin/python.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
" Automatically save current file and execute it when pressing the <F9> key
|
||||
" it is useful for small script
|
||||
nnoremap <buffer> <F9> :execute 'w !python' shellescape(@%, 1)<CR>
|
||||
Reference in New Issue
Block a user