Add file specific indent settings, .gitignore
This commit is contained in:
parent
f7c6c8267f
commit
c8364bacad
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.netrwhist
|
5
.vimrc
5
.vimrc
|
@ -9,12 +9,9 @@ if &diff
|
|||
syntax off
|
||||
endif
|
||||
|
||||
set expandtab
|
||||
filetype plugin indent on
|
||||
set autoindent
|
||||
set smartindent
|
||||
set tabstop=4
|
||||
set softtabstop=4
|
||||
set shiftwidth=4
|
||||
|
||||
noremap <C-J> <C-W><C-J>
|
||||
noremap <C-K> <C-W><C-K>
|
||||
|
|
1
after/ftplugin/fortran.vim
Normal file
1
after/ftplugin/fortran.vim
Normal file
|
@ -0,0 +1 @@
|
|||
setlocal expandtab
|
4
after/ftplugin/python.vim
Normal file
4
after/ftplugin/python.vim
Normal file
|
@ -0,0 +1,4 @@
|
|||
setlocal tabstop=4
|
||||
setlocal shiftwidth=4
|
||||
setlocal softtabstop=4
|
||||
setlocal expandtab
|
4
after/ftplugin/sh.vim
Normal file
4
after/ftplugin/sh.vim
Normal file
|
@ -0,0 +1,4 @@
|
|||
setlocal tabstop=2
|
||||
setlocal shiftwidth=2
|
||||
setlocal softtabstop=2
|
||||
setlocal expandtab
|
Loading…
Reference in a new issue