some vim cool things
This commit is contained in:
parent
58ce9e2eb7
commit
c2fb454299
1 changed files with 5 additions and 0 deletions
|
@ -171,6 +171,11 @@ autocmd BufNewFile,BufRead *.py set keywordprg=pydoc
|
||||||
autocmd BufNewFile,BufRead *.php set ts=4 sw=4 keywordprg=~/.vim/scripts/doc.php.sh
|
autocmd BufNewFile,BufRead *.php set ts=4 sw=4 keywordprg=~/.vim/scripts/doc.php.sh
|
||||||
autocmd BufNewFile,BufRead *.R set ts=4 sw=4 keywordprg=~/.vim/scripts/doc.R.sh
|
autocmd BufNewFile,BufRead *.R set ts=4 sw=4 keywordprg=~/.vim/scripts/doc.R.sh
|
||||||
|
|
||||||
|
"Merci Nemolivier ;)
|
||||||
|
vmap ,w :<C-U>!firefox "http://fr.wikipedia.org/wiki/<cword>" >& /dev/null<CR><CR>
|
||||||
|
vmap ,W :<C-U>!firefox "http://en.wikipedia.org/wiki/<cword>" >& /dev/null<CR><CR>
|
||||||
|
vmap ,c :<C-U>!firefox "http://www.leconjugueur.com/php5/index.php?v=<cword>" >& /dev/null<CR><CR>
|
||||||
|
|
||||||
"JAVA
|
"JAVA
|
||||||
iabbr syso System.out.println
|
iabbr syso System.out.println
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue