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>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue