Compare commits
3 Commits
0967ec1a8e
...
5484c79615
Author | SHA1 | Date | |
---|---|---|---|
5484c79615 | |||
bd7d2ac549 | |||
fd429573de |
@ -138,7 +138,8 @@ let g:tex_flavor = "latex"
|
|||||||
""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""
|
||||||
" Theme
|
" Theme
|
||||||
""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""
|
||||||
colorscheme gruvbox
|
"colorscheme gruvbox
|
||||||
|
colorscheme default
|
||||||
let g:gruvbox_invert_selection='0'
|
let g:gruvbox_invert_selection='0'
|
||||||
let g:gruvbox_contrast_dark = 'hard'
|
let g:gruvbox_contrast_dark = 'hard'
|
||||||
set background=dark
|
set background=dark
|
||||||
@ -246,8 +247,8 @@ vnoremap <A-j> :m '>+1<CR>gv=gv
|
|||||||
vnoremap <A-k> :m '<-2<CR>gv=gv
|
vnoremap <A-k> :m '<-2<CR>gv=gv
|
||||||
|
|
||||||
" Better replace
|
" Better replace
|
||||||
nnoremap S :%s//g<Left><Left>
|
nnoremap s :%s//g<Left><Left>
|
||||||
vnoremap S :s//g<Left><Left>
|
vnoremap s :s//g<Left><Left>
|
||||||
|
|
||||||
" Better adding into begging and ending line
|
" Better adding into begging and ending line
|
||||||
vnoremap F <C-v>$A
|
vnoremap F <C-v>$A
|
||||||
@ -298,6 +299,9 @@ au BufRead,BufNewFile *.yml set filetype=yaml.ansible
|
|||||||
autocmd BufRead,BufNewFile *.py set textwidth=0
|
autocmd BufRead,BufNewFile *.py set textwidth=0
|
||||||
autocmd BufRead,BufNewFile *.py set fo-=t
|
autocmd BufRead,BufNewFile *.py set fo-=t
|
||||||
|
|
||||||
|
" Newsboat
|
||||||
|
autocmd BufRead,BufNewFile urls set textwidth=0
|
||||||
|
|
||||||
" Latex
|
" Latex
|
||||||
autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw!
|
autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw!
|
||||||
autocmd BufWritePost *.tex silent! execute "!latexmk -pdf -silent % > /dev/null" | redraw!
|
autocmd BufWritePost *.tex silent! execute "!latexmk -pdf -silent % > /dev/null" | redraw!
|
||||||
|
Loading…
Reference in New Issue
Block a user