Add several filetype settings
This commit is contained in:
parent
cf65891d7b
commit
09764eb3eb
9 changed files with 161 additions and 0 deletions
10
after/ftplugin/css.vim
Normal file
10
after/ftplugin/css.vim
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
function GetColor()
|
||||
let l:output = system('zenity --color-selection')
|
||||
return substitute(l:output, '[\r\n]*$', '', '')
|
||||
endfunction
|
||||
|
||||
nnoremap <leader>c "=GetColor()<cr>p
|
||||
inoremap <C-\>c <C-r>=GetColor()<cr>
|
||||
|
||||
|
4
after/ftplugin/haskell.vim
Normal file
4
after/ftplugin/haskell.vim
Normal file
|
@ -0,0 +1,4 @@
|
|||
set tabstop=4
|
||||
set expandtab
|
||||
set softtabstop=4
|
||||
set shiftwidth=4
|
1
after/ftplugin/python.vim
Normal file
1
after/ftplugin/python.vim
Normal file
|
@ -0,0 +1 @@
|
|||
set ts=4 sw=4 et
|
Loading…
Add table
Add a link
Reference in a new issue