Added type-specific configuration stuff
This commit is contained in:
parent
a2e40efe0c
commit
911c1cde00
8 changed files with 32 additions and 0 deletions
3
ftplugin/c.vim
Normal file
3
ftplugin/c.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
setlocal colorcolumn=81
|
||||
setlocal smartindent
|
||||
setlocal cindent
|
3
ftplugin/cpp.vim
Normal file
3
ftplugin/cpp.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
setlocal colorcolumn=81
|
||||
setlocal smartindent
|
||||
setlocal cindent
|
3
ftplugin/glsl.vim
Normal file
3
ftplugin/glsl.vim
Normal file
|
@ -0,0 +1,3 @@
|
|||
setlocal colorcolumn=81
|
||||
setlocal smartindent
|
||||
setlocal cindent
|
4
ftplugin/pascal.vim
Normal file
4
ftplugin/pascal.vim
Normal file
|
@ -0,0 +1,4 @@
|
|||
setlocal ts=2
|
||||
setlocal sts=2
|
||||
setlocal sw=2
|
||||
setlocal expandtab
|
4
ftplugin/perl.vim
Normal file
4
ftplugin/perl.vim
Normal file
|
@ -0,0 +1,4 @@
|
|||
setlocal tabstop=4
|
||||
setlocal shiftwidth=4
|
||||
setlocal textwidth=80
|
||||
setlocal smarttab
|
7
ftplugin/python.vim
Normal file
7
ftplugin/python.vim
Normal file
|
@ -0,0 +1,7 @@
|
|||
setlocal tabstop=4
|
||||
setlocal softtabstop=4
|
||||
setlocal shiftwidth=4
|
||||
setlocal textwidth=80
|
||||
setlocal smarttab
|
||||
setlocal expandtab
|
||||
setlocal nosmartindent
|
7
ftplugin/qf.vim
Normal file
7
ftplugin/qf.vim
Normal file
|
@ -0,0 +1,7 @@
|
|||
setlocal colorcolumn=0
|
||||
setlocal nolist
|
||||
setlocal cursorline
|
||||
setlocal nowrap
|
||||
setlocal tw=0
|
||||
setlocal nonumber
|
||||
wincmd J " That's for when it spawns inside the tagbar
|
1
ftplugin/vim.vim
Normal file
1
ftplugin/vim.vim
Normal file
|
@ -0,0 +1 @@
|
|||
nnoremap <silent><buffer> <LocalLeader>r :execute getline('.')<cr>
|
Loading…
Reference in a new issue