Browse Source

vim: :w, python-conceal

master
Maxim Likhachev 7 years ago
parent
commit
83d328bcb8
  1. 9
      etc/shell/bash/aliases
  2. 1
      etc/soft/vim/vim/+plugins/goyo.vim
  3. 1
      etc/soft/vim/vim/+plugins/python-conceal
  4. 15
      etc/soft/vim/vimrc

9
etc/shell/bash/aliases

@ -200,6 +200,15 @@ phps() { @@ -200,6 +200,15 @@ phps() {
#- Vim
alias :e="vim" #noindex
#- Написание текстов в Vim
write() {
urxvtc -fn 'xft:TrixiePro:pixelsize=20' \
-e bash -c "vim '+colorscheme $1' '+Goyo 60%' $2"
}
alias :w="write OneHalfDark" #noindex
alias :wl="write OneHalfLight" #noindex
alias :wd="write OneHalfDark" #noindex
#- Закладки web-браузера
alias bookmarks="vim $SHELLRC/var/www/urls" #noindex

1
etc/soft/vim/vim/+plugins/goyo.vim

@ -0,0 +1 @@ @@ -0,0 +1 @@
Subproject commit 5b8bd0378758c1d9550d8429bef24b3d6d78b592

1
etc/soft/vim/vim/+plugins/python-conceal

@ -0,0 +1 @@ @@ -0,0 +1 @@
Subproject commit d7a6163f794500447242df2bedbe20bd751b92da

15
etc/soft/vim/vimrc

@ -851,5 +851,20 @@ vmap fw ,qq<Esc>gv:call Dict(@*)<CR> @@ -851,5 +851,20 @@ vmap fw ,qq<Esc>gv:call Dict(@*)<CR>
let g:used_javascript_libs = 'jquery,angularjs,angularui,angularuirouter'
" }}}
" languagetool {{{
"
function LTCheck(ltl)
let g:languagetool_win_height=-1
let g:languagetool_lang=a:ltl
echo ' [*]'
execute 'LanguageToolCheck'
execute 'lopen'
endfunction
nmap <silent><leader>lr :call LTCheck("ru")<CR>
nmap <silent><leader>le :call LTCheck("en")<CR>
nmap <silent><leader>ls :call LTCheck("sr")<CR>
" }}}
" }}}###########################################################################

Loading…
Cancel
Save