update tab settings

This commit is contained in:
Ray Elliott 2021-09-08 15:56:41 +01:00
parent 37c02901fb
commit 13956ce178
4 changed files with 2 additions and 14 deletions

View File

@ -1,11 +1,4 @@
set tabstop=4 set tabstop=4
set softtabstop=0
set shiftwidth=4
set noexpandtab
" set softtabstop=8
" set tabstop=4
" set shiftwidth=4
set textwidth=88 set textwidth=88
@ -16,4 +9,3 @@ set colorcolumn=88
noremap <F4> :w<CR>:silent !clear;python %<CR> :redraw!<CR> noremap <F4> :w<CR>:silent !clear;python %<CR> :redraw!<CR>
nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR> nnoremap <silent> <buffer> <F5> :call SaveAndExecute('python')<CR>
command! CTagsPython !ctags -R --fields=+l --languages=python --python-kinds=-iv -f ./.tags-py $(python -c "import os, sys; print(' '.join('{}'.format(d) for d in sys.path if os.path.isdir(d)))")

View File

@ -1,2 +0,0 @@
set tabstop=2
set shiftwidth=2

View File

@ -2,6 +2,4 @@
set iskeyword+=$ set iskeyword+=$
set tabstop=2
set shiftwidth=2
set foldmethod=syntax set foldmethod=syntax

View File

@ -264,9 +264,9 @@ set diffopt+=vertical
set rnu nu set rnu nu
set tabstop=4 set tabstop=2
set softtabstop=-1 set softtabstop=-1
set shiftwidth=4 set shiftwidth=0
set shiftround set shiftround
set noexpandtab set noexpandtab
set autoindent set autoindent