@ -1,13 +1,10 @@
|
||||
=====================NEWS====================================
|
||||
https://wtf.roflcopter.fr/rss-bridge/?action=display&bridge=Facebook&context=User&u=infoKONINpl&media_type=all&limit=-1&format=Mrss "~infoKONIN - Facebook"
|
||||
shttps://wtf.roflcopter.fr/rss-bridge/?action=display&bridge=Facebook&context=User&u=gminakleczew&media_type=all&limit=-1&format=Mrss "~Gmina Kleczew - Facebook"
|
||||
https://wtf.roflcopter.fr/rss-bridge/?action=display&bridge=Facebook&context=User&u=portalLM&media_type=all&limit=-1&format=Mrss "~Portal lm.pl - Facebook"
|
||||
https://nitter.net/MZ_GOV_PL/rss "~MZ_GOV_PL - Twitter"
|
||||
http://www.epoznan.pl/rss.php "~Epoznan - Website"
|
||||
http://rss.slashdot.org/Slashdot/slashdotMain "SlashDot"
|
||||
https://sekurak.pl/feed/ "~Sekurak"
|
||||
https://feeds.feedburner.com/niebezpiecznik/ "~Niebezpiecznik"
|
||||
https://www.cybsecurity.org/feed/podcast/ "~CybSecurity"
|
||||
============================================================
|
||||
https://bugs.gentoo.org/buglist.cgi?bug_status=UNCONFIRMED&chfieldfrom=24h&ctype=atom&title=NEW&list_id=4468306&order=changeddate%20DESC%2Cbug_status%2Cpriority%2Cassigned_to%2Cbug_id&query_format=advanced Gentoo
|
||||
https://bugs.gentoo.org/buglist.cgi?component=Package%20issues&product=GURU&query_format=advanced&resolution=---&title=Bug%20List&ctype=atom GURU-BUGS
|
||||
@ -15,8 +12,6 @@ https://bugs.gentoo.org/buglist.cgi?component=Trusted%20Contributor%20ascension&
|
||||
https://www.reddit.com/r/gentoo/new.rss "~Gentoo - Reddit"
|
||||
============================================================
|
||||
http://rss.uptimerobot.com/u674346-753d02ab763f3725330347d4419a7569 "~UpTimeRoboot"
|
||||
=====================ANIME===================================
|
||||
https://mirror.animetosho.org/feed/rss2?only_tor=1&q=%5BHorribleSubs%5D%20Sword%20Art%20Online%20720p&filter%5B0%5D%5Bt%5D=nyaa_class&filter%5B0%5D%5Bv%5D=trusted "~Sword Art Online"
|
||||
=====================YOUTUBE=================================
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCzuvRWjh7k1SZm1RvqvIx4w "~Krzysztof Gonciarz"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC3QOjSZmJuYgb98BAzKfzig "~Zapytaj Beczkę"
|
||||
@ -67,4 +62,6 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCXRJfVWEjv9qxooSbOkFmkw
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCZgyxIrQnTDLwwEr9VSkoPA
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCZKqIdmPtIU6DOTmWxzudKw
|
||||
=====================ANIME===================================
|
||||
https://mirror.animetosho.org/feed/rss2?only_tor=1&q=%5BHorribleSubs%5D%20Sword%20Art%20Online%20720p&filter%5B0%5D%5Bt%5D=nyaa_class&filter%5B0%5D%5Bv%5D=trusted "~Sword Art Online"
|
||||
=============================================================
|
||||
|
18
.config/nvim/coc-settings.json
Normal file
18
.config/nvim/coc-settings.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"coc.preferences.formatOnSaveFiletypes": [
|
||||
"sh",
|
||||
"yaml",
|
||||
"json",
|
||||
"python",
|
||||
"css",
|
||||
"Markdown"
|
||||
],
|
||||
"languageserver": {
|
||||
"bash": {
|
||||
"command": "bash-language-server",
|
||||
"args": ["start"],
|
||||
"filetypes": ["sh"],
|
||||
"ignoredRootPaths": ["~"]
|
||||
}
|
||||
}
|
||||
}
|
133
.config/nvim/init.vim
Normal file
133
.config/nvim/init.vim
Normal file
@ -0,0 +1,133 @@
|
||||
" settings
|
||||
if ! filereadable(system('echo -n "$HOME/.config/nvim/autoload/plug.vim"'))
|
||||
silent !mkdir -p $HOME/.config/nvim/autoload/
|
||||
silent !curl --silent "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > $HOME/.config/nvim/autoload/plug.vim
|
||||
autocmd VimEnter * PlugInstall
|
||||
endif
|
||||
|
||||
set laststatus=2
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set tabstop=4
|
||||
au BufWritePre * let &bex = '@' . strftime("%F.%H:%M")
|
||||
let g:python3_host_prog = expand('/usr/src/python')
|
||||
|
||||
" plugins
|
||||
call plug#begin('~/.config/nvim/plugged')
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'nmante/vim-latex-live-preview'
|
||||
Plug 'lervag/vimtex'
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'ap/vim-css-color'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'neoclide/coc-python', {'do': 'yarn install --frozen-lockfile; pip install --user jedi'}
|
||||
Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile'}
|
||||
Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile'}
|
||||
Plug 'fannheyward/coc-markdownlint', {'do': 'yarn install --frozen-lockfile; sudo npm install markdownlint --save-dev'}
|
||||
Plug 'josa42/coc-sh', {'do': 'yarn install --frozen-lockfile; sudo npm i -g bash-language-server'}
|
||||
Plug 'neoclide/coc-prettier', {'do': 'yarn install --frozen-lockfile'}
|
||||
call plug#end()
|
||||
|
||||
" Status-line
|
||||
set statusline=
|
||||
set statusline+=%#IncSearch#
|
||||
set statusline+=\ %y
|
||||
set statusline+=\ %r
|
||||
set statusline+=%#CursorLineNr#
|
||||
set statusline+=\ %F
|
||||
set statusline+=%= "Right side settings
|
||||
set statusline+=%#Search#
|
||||
set statusline+=\ %l/%L
|
||||
set statusline+=\ [%c]
|
||||
|
||||
set nocompatible
|
||||
set hlsearch
|
||||
set incsearch
|
||||
set noshowmode
|
||||
set cmdheight=1
|
||||
syntax on
|
||||
filetype plugin indent on
|
||||
set encoding=utf-8
|
||||
|
||||
" livepreviewer
|
||||
let g:livepreview_previewer = 'mupdf'
|
||||
|
||||
" markdown preview
|
||||
let g:mkdp_browser = '/home/yorune/.local/bin/browser-x'
|
||||
let g:mkdp_echo_preview_url = 1
|
||||
|
||||
" line numbers
|
||||
set number
|
||||
set ruler
|
||||
set title
|
||||
|
||||
" indent
|
||||
set backspace=indent,eol,start
|
||||
set shiftwidth=4
|
||||
set expandtab
|
||||
|
||||
" editing
|
||||
runtime! macros/matchit.vim
|
||||
set backspace=indent,eol,start
|
||||
|
||||
" visual feedback
|
||||
set laststatus=2
|
||||
set showmode
|
||||
set showcmd
|
||||
|
||||
" off mouse
|
||||
set mouse-=a
|
||||
|
||||
" disable pcspkr beep
|
||||
set visualbell
|
||||
set t_vb=
|
||||
|
||||
" searching
|
||||
set smartcase
|
||||
set ic
|
||||
|
||||
" cursor
|
||||
let &t_SI = "\<esc>[6 q"
|
||||
let &t_EI = "\<esc>[2 q"
|
||||
|
||||
" colors
|
||||
hi Pmenu ctermfg=NONE ctermbg=236 cterm=NONE guifg=NONE guibg=#64666d gui=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=24 cterm=NONE guifg=NONE guibg=#204a87 gui=NONE
|
||||
set bg=dark
|
||||
hi CursorLine cterm=NONE term=NONE ctermbg=NONE guibg=NONE
|
||||
hi CursorLine ctermbg=235
|
||||
|
||||
" columne
|
||||
set textwidth=80
|
||||
set colorcolumn=-3
|
||||
highlight ColorColumn ctermbg=235
|
||||
|
||||
" map
|
||||
nnoremap S :%s//g<Left><Left>
|
||||
nnoremap ee :!mupdf $(echo % \| sed 's/tex$/pdf/') & disown<CR><CR>
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
nnoremap <silent> <C-t> :tabnew <CR>
|
||||
nnoremap <F11> :Goyo <CR>
|
||||
nnoremap <F7> :tabprevious<CR>
|
||||
nnoremap <F8> :tabnext<CR>
|
||||
|
||||
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
|
||||
|
||||
" latex
|
||||
let g:tex_flavor = "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!
|
||||
autocmd BufWritePost *.tex silent! execute "!sudo rm -rf *.fls *.ilg *.nav *.snm *.toc *.idx *.lof *.lot *.synctex.gz *.aux *.fdb_latexmk *.fls *.log *.out > /dev/null" | redraw!
|
||||
autocmd BufWritePost *.tex silent! execute "!sudo pkill -HUP mupdf > /dev/null" | redraw!
|
||||
|
||||
" mutt
|
||||
autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80
|
||||
autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo
|
||||
autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
|
||||
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
|
||||
|
||||
" Automatically deletes all trailing whitespace and newlines at end of file on save.
|
||||
autocmd BufWritePre * %s/\s\+$//e
|
||||
autocmd BufWritepre * %s/\n\+\%$//e
|
Reference in New Issue
Block a user