mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-13 21:53:20 +03:00
vim
This commit is contained in:
8
.vimrc
8
.vimrc
@@ -64,6 +64,8 @@ set cm=blowfish
|
|||||||
" Shell
|
" Shell
|
||||||
autocmd FileType sh setlocal expandtab shiftwidth=4 tabstop=8 softtabstop=4
|
autocmd FileType sh setlocal expandtab shiftwidth=4 tabstop=8 softtabstop=4
|
||||||
|
|
||||||
|
autocmd FileType python setlocal tabstop=1 shiftwidth=1 expandtab number
|
||||||
|
|
||||||
" Ruby
|
" Ruby
|
||||||
autocmd FileType ruby setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=2
|
autocmd FileType ruby setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=2
|
||||||
|
|
||||||
@@ -82,10 +84,16 @@ autocmd FileType make setlocal noexpandtab
|
|||||||
" JavaScript
|
" JavaScript
|
||||||
" autocmd BufRead,BufNewFile *.json setfiletype javascript
|
" autocmd BufRead,BufNewFile *.json setfiletype javascript
|
||||||
autocmd FileType javascript setlocal expandtab shiftwidth=4 tabstop=4 softtabstop=4
|
autocmd FileType javascript setlocal expandtab shiftwidth=4 tabstop=4 softtabstop=4
|
||||||
|
|
||||||
|
let python_highlight_all = 1
|
||||||
|
|
||||||
let javascript_enable_domhtmlcss=1
|
let javascript_enable_domhtmlcss=1
|
||||||
let g:javascript_plugin_jsdoc = 1
|
let g:javascript_plugin_jsdoc = 1
|
||||||
let g:javascript_plugin_ngdoc = 1
|
let g:javascript_plugin_ngdoc = 1
|
||||||
|
|
||||||
|
filetype indent on
|
||||||
|
set autoindent
|
||||||
|
|
||||||
|
|
||||||
" Set 256 colour mode and Theme.
|
" Set 256 colour mode and Theme.
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
|
|||||||
Reference in New Issue
Block a user