vim:ftplugin: Add python and xdefaults
This commit is contained in:
6
.config/vim/ftplugin/python.vim
Normal file
6
.config/vim/ftplugin/python.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
" Use 4 spaces for indentation
|
||||
setlocal tabstop=4
|
||||
setlocal shiftwidth=0
|
||||
setlocal expandtab
|
||||
" Delete all 4 spaces when pressing backspace
|
||||
setlocal smarttab
|
||||
2
.config/vim/ftplugin/xdefaults.vim
Normal file
2
.config/vim/ftplugin/xdefaults.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
" Update resource database automatically.
|
||||
autocmd BufWritePost * !xrdb %
|
||||
Reference in New Issue
Block a user