Compare commits

...

3 Commits

Author SHA1 Message Date
5484c79615
Removed textwidth in the urls file 2021-11-14 01:04:03 +01:00
bd7d2ac549
Changed map from S into s 2021-11-14 01:03:49 +01:00
fd429573de
Changed theme to default 2021-11-14 01:03:33 +01:00

View File

@ -138,7 +138,8 @@ let g:tex_flavor = "latex"
""""""""""""""""""""""""""""""""
" Theme
""""""""""""""""""""""""""""""""
colorscheme gruvbox
"colorscheme gruvbox
colorscheme default
let g:gruvbox_invert_selection='0'
let g:gruvbox_contrast_dark = 'hard'
set background=dark
@ -246,8 +247,8 @@ vnoremap <A-j> :m '>+1<CR>gv=gv
vnoremap <A-k> :m '<-2<CR>gv=gv
" Better replace
nnoremap S :%s//g<Left><Left>
vnoremap S :s//g<Left><Left>
nnoremap s :%s//g<Left><Left>
vnoremap s :s//g<Left><Left>
" Better adding into begging and ending line
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 fo-=t
" Newsboat
autocmd BufRead,BufNewFile urls set textwidth=0
" Latex
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!