diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-02-20 08:53:09 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-02-20 09:28:14 -0800 |
commit | a73f28a91f6b573e515877faeffd508448bbb126 (patch) | |
tree | af6d49fcb72e63e761d2ee7f7708c9dbf8bede39 /vim/indent | |
parent | [Emacs] Set different font size for Linux and darwin. (diff) | |
download | emacs.d-a73f28a91f6b573e515877faeffd508448bbb126.tar.gz |
[vim] Add again vim configuration.
Will do another try with vim and a few plugins.
Diffstat (limited to 'vim/indent')
-rw-r--r-- | vim/indent/gitconfig.vim | 4 | ||||
-rw-r--r-- | vim/indent/go.vim | 4 | ||||
-rw-r--r-- | vim/indent/javascript.vim | 4 | ||||
-rw-r--r-- | vim/indent/json.vim | 4 | ||||
-rw-r--r-- | vim/indent/make.vim | 5 | ||||
-rw-r--r-- | vim/indent/markdown.vim | 4 | ||||
-rw-r--r-- | vim/indent/python.vim | 4 | ||||
-rw-r--r-- | vim/indent/ruby.vim | 4 | ||||
-rw-r--r-- | vim/indent/sh.vim | 4 | ||||
-rw-r--r-- | vim/indent/thrift.vim | 4 | ||||
-rw-r--r-- | vim/indent/vim.vim | 4 | ||||
-rw-r--r-- | vim/indent/yaml.vim | 3 |
12 files changed, 48 insertions, 0 deletions
diff --git a/vim/indent/gitconfig.vim b/vim/indent/gitconfig.vim new file mode 100644 index 0000000..17919c1 --- /dev/null +++ b/vim/indent/gitconfig.vim @@ -0,0 +1,4 @@ +au FileType gitconfig set noexpandtab +au FileType gitconfig set shiftwidth=2 +au FileType gitconfig set softtabstop=2 +au FileType gitconfig set tabstop=2 diff --git a/vim/indent/go.vim b/vim/indent/go.vim new file mode 100644 index 0000000..fffe1cb --- /dev/null +++ b/vim/indent/go.vim @@ -0,0 +1,4 @@ +au FileType go set noexpandtab +au FileType go set shiftwidth=4 +au FileType go set softtabstop=4 +au FileType go set tabstop=4 diff --git a/vim/indent/javascript.vim b/vim/indent/javascript.vim new file mode 100644 index 0000000..2a1a6d8 --- /dev/null +++ b/vim/indent/javascript.vim @@ -0,0 +1,4 @@ +au FileType javascript set expandtab +au FileType javascript set shiftwidth=2 +au FileType javascript set softtabstop=2 +au FileType javascript set tabstop=2 diff --git a/vim/indent/json.vim b/vim/indent/json.vim new file mode 100644 index 0000000..fc70c53 --- /dev/null +++ b/vim/indent/json.vim @@ -0,0 +1,4 @@ +au FileType json set expandtab +au FileType json set shiftwidth=2 +au FileType json set softtabstop=2 +au FileType json set tabstop=2 diff --git a/vim/indent/make.vim b/vim/indent/make.vim new file mode 100644 index 0000000..a0094d6 --- /dev/null +++ b/vim/indent/make.vim @@ -0,0 +1,5 @@ +au FileType make set noexpandtab +au FileType make set shiftwidth=2 +au FileType make set softtabstop=2 +au FileType make set tabstop=2 + diff --git a/vim/indent/markdown.vim b/vim/indent/markdown.vim new file mode 100644 index 0000000..28f1fe1 --- /dev/null +++ b/vim/indent/markdown.vim @@ -0,0 +1,4 @@ +au FileType markdown set expandtab +au FileType markdown set shiftwidth=4 +au FileType markdown set softtabstop=4 +au FileType markdown set tabstop=4 diff --git a/vim/indent/python.vim b/vim/indent/python.vim new file mode 100644 index 0000000..94a46f2 --- /dev/null +++ b/vim/indent/python.vim @@ -0,0 +1,4 @@ +au FileType python set expandtab +au FileType python set shiftwidth=2 +au FileType python set softtabstop=2 +au FileType python set tabstop=2 diff --git a/vim/indent/ruby.vim b/vim/indent/ruby.vim new file mode 100644 index 0000000..ae7d2e1 --- /dev/null +++ b/vim/indent/ruby.vim @@ -0,0 +1,4 @@ +au FileType ruby set expandtab +au FileType ruby set shiftwidth=2 +au FileType ruby set softtabstop=2 +au FileType ruby set tabstop=2 diff --git a/vim/indent/sh.vim b/vim/indent/sh.vim new file mode 100644 index 0000000..286234a --- /dev/null +++ b/vim/indent/sh.vim @@ -0,0 +1,4 @@ +au FileType sh set noexpandtab +au FileType sh set shiftwidth=2 +au FileType sh set softtabstop=2 +au FileType sh set tabstop=2 diff --git a/vim/indent/thrift.vim b/vim/indent/thrift.vim new file mode 100644 index 0000000..5b6529b --- /dev/null +++ b/vim/indent/thrift.vim @@ -0,0 +1,4 @@ +au FileType thrift set expandtab +au FileType thrift set shiftwidth=2 +au FileType thrift set softtabstop=2 +au FileType thrift set tabstop=2 diff --git a/vim/indent/vim.vim b/vim/indent/vim.vim new file mode 100644 index 0000000..25866ff --- /dev/null +++ b/vim/indent/vim.vim @@ -0,0 +1,4 @@ +au FileType vim set expandtab +au FileType vim set shiftwidth=4 +au FileType vim set softtabstop=4 +au FileType vim set tabstop=4 diff --git a/vim/indent/yaml.vim b/vim/indent/yaml.vim new file mode 100644 index 0000000..f3ad221 --- /dev/null +++ b/vim/indent/yaml.vim @@ -0,0 +1,3 @@ +au FileType yaml set expandtab +au FileType yaml set shiftwidth=2 +au FileType yaml set softtabstop=2 |